on 2007 Nov 05 5:11 PM
Hello,
I have a query that is using two key figures which are cummulated down the column (Plan and Actual). I have one formula which subtracts the Plan from Actual and again is cummulated. Finally i have a Variance formula which takes the previous formula divides by actual.
The result of that is looking the values before they are cummulated instead of after. I have read the OLAP engine does not support this.
Does anyone have any workarounds, i have seen some other posts on here but none with specific examples of how to do it.
We are using 04s, BI sp 11, and BEx sp 12.
Thanks in advance.
Did you try using Cell definition hope it helps.....
Create a column for plan amount and Actual amount.
Just create a empty columne and name it as Subtraction (Put anything in it , it is basically created so that you can use the Empty cells and then use Cell definition)
Repeat the same and create a Column, name it as Variance and Put anything in it.
Now click Cell definition.
Create Cell reference for Plan amount and Actual amount as Cell 1 and Cell 2
Now in the cell box of Difference right click and select new formulae
Edit it and Subtract Cell 1- Cell 2
In Variance cell box , hit new formulae and use Cell 1 and 2 for creating required formulae.
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok I set up the cell definition and cell reference explained above but the calculations are still using the value before cumulation.
Actual (non-cum) Actual (cum) Variance (Actual/x) Variance (wanted)
40 40 40/x 40/x
40 80 40/y 80/y
0 80 0/z 80/z
0 80 0/x 80/x
I know that a macro could be written in excel but we need this report to open through the portal not query analyzer.
User | Count |
---|---|
81 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.