Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good morning,
I am having difficulties with 1 formula.
It works perfectly on a Table but when I try to put it on a KPI object, the function does not work.
The formula is the following:
if(Max({<QTYCONSUMED={"<0"}>}[MONTH ORDER])>=(vOPENBAL-12),sum(Amount))
Any idea on how to solve this issue ?
Thanks for your help,
Tanguy
Thanks a lot it really helped :
The correct formula was :
Sum(
{<[MONTH FULL NAME]=>}
AGGR(if(Max({<QTYCONSUMED={"<0"},[MONTH FULL NAME]=>}[MONTH ORDER])>=(vOPENBAL-12),
Sum({<[MONTH ORDER]={"<=$(vOPENBAL)"},[MONTH FULL NAME]=,STOCKITEMCODE={"<>MANUALADJ"},[CREATION DATE]={"<=$(=Date(Today()-360))"}>}Amount))
,STOCKITEMCODE))