on 03-14-2012 7:19 AM
HI All,
I am writing a MACRO for a requirement as below.
There are 3 keyfigures.
Keyfigure 1
keyfigure 2
Keyfigure 3
Keyfigure 1 = ( keyfigure 2 - keyfigure 3 / keyfigure 2 ) * 100
The above MACRO is working fine when Key
Hi Sameer,
Could you pls complete your qns?
Thanks - Pawan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ohh.. i am sorry.
My qs.
The MACRO is working fine if the KF2 is greater than KF3.If KF3 is greater than KF2 then it is giving wrong value.
Ex :- Case 1 - when KF2 is greater than KF3
KF2 = 100 and KF3 = 50. Then the calculation as below.
( 100 - 50 / 100 ) * 100 = 50 (this is correct)
Case 2 - When KF3 is greater than KF2
KF2 = 50 and KF3 = 100. The calculation as below.
( 50 - 100 / 100) * 100 = -100(This is wrong it should be -50).
Sameer
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.