Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All, i make a KPI with counting the purchase times at 4.87K, i also make a list box besides and counts the quantity to be 4370 instead. it seems to be a gap about 500, what could be the cause?
thanks, but when i put same like this as below, it indicated invalid expression, what is wrong?
@sunny_talwar wrote:Not sure, but may you you mean this
Sum(Aggr(
PUR_PRICE
, PUR_Price, FiscalYear_order, PUR_Currency, PUR_Currency_1, PUR_Order_Date))
Hi Stalwar, sorry again to bother, if want to sum up the purchase value by PUR_Price*PUR_Currency_1,
I tried this way: Sum(Aggr(PUR_Price*PUR_Currency_1, PUR_Price,....)),but it doesn't work out. i also tried like: Sum(Aggr(PUR_Price, PUR_Price,....)*PUR_Currency_1), it doens't work out too.
how shall i write in the expression?
Hi Stalwar, actually my expression tried with the sample file are as following:
Sum(Aggr(PUR_Price*PUR_Currency_1,PUR_Price,FiscalYear_order,PUR_Currency,PUR_Currency_1,PUR_Order_Date))
or
Sum(Aggr(PUR_Price,PUR_Price,FiscalYear_order,PUR_Currency,PUR_Currency_1,PUR_Order_Date)*PUR_Currency_1)
but the results are not identical to the sum results as calculated of (PUR_Price*PUR_Currency) by excel as i manually verified.
However, in my original source file, it includes more fields like below besides the existing fields in sample source file, which contains the PUR_Order_Number, PUR_Order_Item, PUR_Material_Number, this three field decide the DISTINCT row, so i try to use expression as:
Sum(aggr(PUR_Price*PUR_Currency_1, PUR_Order_Number, PUR_Order_Item, PUR_Material_Number)
or
Sum(aggr(PUR_Price, PUR_Price, PUR_Order_Number, PUR_Order_Item, PUR_Material_Number)*PUR_Currency_1)
but on above, the calculated results are all zero. i don't know why? any idea?