Ratio rules
Posted: Wed Nov 07, 2012 2:21 pm
Hi guys,
I'm trying to perfect ratios on a basic P&L cube and do different things at different levels, and i'm having some trouble.
I'm calculating a simple ratio on a cube as follows;
['Gross Commission/Income']=['Commissions']\['Income'];
Where ['Gross Commission/Income'] is a ratio nominal in the dimension 'nominal', and Commissions & Income are value nominals in the same dimension.
I want to be able to use the above calculation for the 'Actual' and 'Budget' Ledger types in the dimension 'Version', but for 'ActvsBud', which is a consolidation of the other 2, I want the consolidation to work and do ['Actual']-['Budget'].
I'm sure this is as easy a query as they come, but it's stumping me. N: level/ C: level rules are swirling round my head, so is 'IF(ELLISANC)' but i can't fathom it.
Any help greatly appreciated
Cheers,
Simon
I'm trying to perfect ratios on a basic P&L cube and do different things at different levels, and i'm having some trouble.
I'm calculating a simple ratio on a cube as follows;
['Gross Commission/Income']=['Commissions']\['Income'];
Where ['Gross Commission/Income'] is a ratio nominal in the dimension 'nominal', and Commissions & Income are value nominals in the same dimension.
I want to be able to use the above calculation for the 'Actual' and 'Budget' Ledger types in the dimension 'Version', but for 'ActvsBud', which is a consolidation of the other 2, I want the consolidation to work and do ['Actual']-['Budget'].
I'm sure this is as easy a query as they come, but it's stumping me. N: level/ C: level rules are swirling round my head, so is 'IF(ELLISANC)' but i can't fathom it.
Any help greatly appreciated
Cheers,
Simon