on ‎2016 Dec 29 3:37 PM
Hi exprets ,
I have the abose KPIs that i want to claculate :
EXTR01 :inputed value
EXTR02:Calculated KPI which is EXTR01-0,3.
EXTR03:The cumulative value of EXTR02.
when I 've EXTRP 01 empty I have in the agregation in parent(Total month):-9,3
the cumulative value of every day of the month because EXTR01 is empty.
what Can do to have this algorithm
If EXTR01 is empty
EXTR02=(EXTR01-0,3)*0
else
EXTR02=EXTR01-0,3.
tahnk you .
regards
Request clarification before answering.
Not 100% clear but:
*WHEN ACCOUNT
*IS EXTR01
*REC(EXPRESSION=(%VALUE%==0) ? 0 : %VALUE%-0.3, ACCOUNT=EXTR02)
*ENDWHEN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes I want to use KPI just in report , I mean by aggregation the sum in parent.
here is the example capture.png
I do not want to have the negatif results in stand of having -17 in total of EXTR03 I sould have 2 , I should sum just positif resulat .
I don't know if I explain my needs very well please if i dont tell me.
I am not able to understand your report logic completely, but you can always use IIF in member formula to test value:
=IIF([EXTRxx]<0.3,...,...)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim ,
thanks for your help , I know that member formulas are calculated after aggregation , that's why I need to use member formula and not script logic..
Here is the real example and the real formula

I'm asking if for example the denominator is 0 or <0 the result of EXTR07 is 0.i'm just asking if its possible or not.
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 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.