on 06-30-2010 4:28 PM
I have similar question related to the thread below.
We are using B XI 3.1 version:
I have need to incorporate following formula in BO-Universe for SAP-BEX query
Margin Ratio = if(sum([Margin Indicator])=0; 0; sum([Profit])/sum([Margin Indicator]))
I know that we need to use MDX/XML tags <EXPRESSION> </EXPRESSION> for this.
Could anyone tell me how to incorporate the above formula in Universe.
Thank you in advance.
- Anil
Thank you Didier for clarifying.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The correct syntax is:
<EXPRESSION>IIF(sum(Margin Indicator)=0, 0, sum(Profit) / sum(Margin Indicator)) </EXPRESSION>
You must check that Margin Indicator and Profit are valid MDX expression.
Here is a sample of valid MDX expression for a measure / key figure.
[Measures].[0D_NETVAL_S]
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 |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.