Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Greetings All,
Can anyone please tell me how to write
IF(Expression= Quantity,SUM(AGGR(SUM(Qty),invoiceno,orderquantity)),
IF(Expression = Unit, SUM(AGGR(SUM(Unit),invoiceno,orderquantity))
)
in a pie chart where the dimension is the expression.
Expression is a field.
Expression
-----------------
Quantity
Unit
Quantity%
Unit%
Many Thanks!
Maybe try putting the IF() inside the Aggr():
AGGR(SUM(IF(Expression='Quantity',Qty,Unit)),invoiceno,orderquantity)
Hope this helps,
Jason