on 05-22-2006 6:12 PM
Hi Guys,
I have 2 KFs A & B and KF C = A/B.
In Results rown instead of calculating it as ( A1 + A2 +... +An)/ (B1 + B2 .... Bn) , I want to calculate it as (C1 + C2 + ....+Cn). I tried all options in formula variables, it simple doesnt work. Not sure if we can use it with Result Rows.
Does anyone have any answer ?
I would return point for all the helpful answers which I always does.
Cheers
Kirk
Hi Murali,
Congrats on your 1000 score.
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kirk,
There are 2 ways of doing this
1) If you're defining the Caluclate KF then you have to right click on the calculated key figure and then click on Enhance button. In the Aggregation block you have to choose "After Aggregation" from the drop down.
2) If you are using New formula which is local to the query only, in that you have to define a new formula as per your requirement and then go to the property of the new formula by right clicking on it. In the Formula collision block you ned to choose "Result from competing formula".
Hope this will help.
Please note that for the calculated field C which is A/B the Calculate Result as should be Nothing defined. But for Field A and B it should be SUMMATION.
Give reward point if satisfied.
Regards,
Message was edited by: tapan tripathy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kirk,
You said you tried all options with formula variables. But, just to check, did you try to create a formula like this C = Overall Result A / Overall Result B? It would look like this SUMGT(A)/SUMGT(B). Do you want to hide the underlying rows again? If so, try the process I suggested for hiding columns in WAD.
Hope this helps,
Regards,
Petter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why are going for formula variables?don't understand really.
to get c1c2...Cn ,in the properties of C set <b>'calculate result</b> as...' to 'summation'.
hope you have set calculate single values as...to nothing defined and didnt choose formula collision!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.