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?
Try to use this for KPI to show the current value in the KPI object
='YTD ' & num(Count(DISTINCT PUR_Price&FiscalYear_order&PUR_Currency&PUR_Currency_1&PUR_Order_Date)/1000,'#,##0.00K;($#,##0.00)')
Not sure, but may you you mean this
Sum(Aggr(
PUR_PRICE
, PUR_Price, FiscalYear_order, PUR_Currency, PUR_Currency_1, PUR_Order_Date)) or Sum(Aggr(
Sum(DISTINCT PUR_PRICE)
, PUR_Price, FiscalYear_order, PUR_Currency, PUR_Currency_1, PUR_Order_Date)) or Sum(Aggr(
Avg(PUR_PRICE)
, PUR_Price, FiscalYear_order, PUR_Currency, PUR_Currency_1, PUR_Order_Date))
Sorry, i am able to upload the sample file due to unknown reason.
but the dimension of all fields in the list box includes the nulls.
Hi stalwar,
another way is, from below link, you can download the same sample file which i uploaded earlier by .rar in another post, but i cannot do that again by .rar after that. after you unzipping and opening the qvf file, you just need to change the qvf expression text to what i posted above in text expression and pull a list box besides also for comparison. as the my original intention in previous post is to sum the purchase value where i find the error, so i dig in deep and now find the counts of lines are different as mentioned, so let me know if you have some findings. thanks for the help.
I believe the reason you see less number of rows is because some of the rows are getting duplicated... I added Sum(1) as expression and see what I get
See how some of the rows have 3, 5, 2... this means that there is more than 1 row which have the same FiscalYear_order, PUR_Order_Date, PUR_Price, PUR_Currency1, PUR_Currency with the same information for these rows.