on 07-15-2010 7:46 PM
Hi Guys
I have a problem with one universe to build a Restricted Key Figure with Predefined Filters.
I have the following sintax.
<EXPRESSION>(@Select(Importe\Importe),[0DB_CR_IND].[S,H],[0VALUATION].[0],[0VERSION].[000],[0VTYPE].[010])</EXPRESSION>
The part [0DB_CR_IND].[S,H] is not working well I don't know the syntax when i want to include 2 values as a filter in this case"S" and "H" i noticed that only takes de first one "S".
If somebody knows how to put the sintax InList to include multiple values in a filter
Thanks Marvin
I want to to create a restricted key figure filtering dimension 0DB_CR_IND with values "S" and "H" but i don't know what the sintax is i try [[0DB_CR_IND]].[[S,H]] but only take the filter with "S" and "H" is ignored.
<EXPRESSION>@Select(Importe\Importe),[[0DB_CR_IND]].[[S,H]]</EXPRESSION>
I want to know what the sintax is to filter 2 values,
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to create a restricted key figure filtering dimension 0DB_CR_IND with values "S" and "H", you also need to specify for the key figure in the MDX expressio.
So the expression will look like this:
<EXPRESSION>Aggregate({[0DB_CR_IND].[S], [0D_CO_CODE].[H]}, [Measures].[measure definition])</EXPRESSION>
Didier
Hi Didier
I change the sintax to
<EXPRESSION>(@Select(Importe\Importe),{[[0DB_CR_IND]].[[S]],[[0DB_CR_IND]].[[H]]},[[0VALUATION]].[[0]],[[0VERSION]].[[000]],[[0VTYPE]].[[010]])</EXPRESSION>
But I got sintax error "failed to execute with the error unknown error"
The original sintax I try was
<EXPRESSION>(@Select(Importe\Importe),[[0DB_CR_IND]].[[S,H]],[[0VALUATION]].[[0]],[[0VERSION]].[[000]],[[0VTYPE]].[[010]])</EXPRESSION>
with this i didn't get error but in dimension 0DB_CR_IND only take the filter "S" and i need the two filters S and H.
Regards Marvin.
Hi,
The sysntax you wrote is very unclear to me.
So can you explain what you want to achiev and what are the measures and characteristic values you want tou use?
What I also don't understand is if you want to create a restricted key figure or a filter or a filter that use a restricted key figure.
Didier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.