Hi All,
I am still learning APO so am struck in one simple macro...
My requirement is if the result of calculation is negative then assign 0 value else the result to a Key Figure.
I have written a macro as below... Please share your experiences with me...
STEP - Calculation
IF
IS_INITIAL ( KF1) <> 1
Row KF2 = KF1-KF3
Else
Row KF2= KF4 - KF3
End IF
IF
KF2 < 0
KF2= 0
End IF
I know there is some mistake in this logic not able to think what I should do.
My requirement is if the resultant KF2 is negative then assign 0 value to it else keep the value getting in the subtraction formula.
Thanks in advance,
Regards,
Prabhat