Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
In application I need show status it's not possible to create this field in the script, so I use calculated dimension.
Status:
IF(Aggr($(eAmountPS(vPeriod,SA)), Supplier)>Aggr($(eStretch_Goal_Per_Day(vPeriod)), Supplier), 'On Track',
IF(Aggr($(eAmountPS(vPeriod,MO))+$(eAmountPS(vPeriod,SA)), Supplier)>Aggr($(eStretch_Goal_Per_Day(vPeriod)), Supplier),'Possible w/MO', 'At Risk'))
It works pretty good, but now I need to add KPI that should calculate another measure based on Status dimension and should show only Values with Status = 'On Track'
How can I do this?
Thanks,
Vitalii
May bad, why don't you just do this
Aggr(If($(eAmountPS(vPeriod,SA)) > $(eStretch_Goal_Per_Day(vPeriod)), 'On Track'), Supplier)
eAmountPS:
Sum({<$($1),$($2)>[Extended Cost]})
May bad, why don't you just do this
Aggr(If($(eAmountPS(vPeriod,SA)) > $(eStretch_Goal_Per_Day(vPeriod)), 'On Track'), Supplier)
Thank you for help!
It's better way, but I still want show Value with on track status in KPI.
This solution works fine as a dimension:
Aggr(If($(eAmountPS(vPeriod,SA)) > $(eStretch_Goal_Per_Day(vPeriod)), 'On Track'), Supplier)
I tried do something like this in expression, but it doesn't show anything
Aggr(If($(eAmountPS(vPeriod,SA)) > $(eStretch_Goal_Per_Day(vPeriod)), $(eIncentiveValue(vPeriod))), Supplier)
No, I want to know Incentive value for Status On Track
May be try this
Sum(Aggr(
If($(eAmountPS(vPeriod,SA)) > $(eStretch_Goal_Per_Day(vPeriod)), Sum([Incentive Value]))
, Supplier)
It doesn't work, but in any case thank you for your help.
Thanks,
Vitalii
Sure, if you are able to share a sample, I am more than happy to take a look. Else, not sure what might be missing