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 for confusion here, actually i intend to express two points here:
1. the list box earlier only show the distinct row without duplicates included, is it possible to have a list contains all the duplicated rows inside for check? just like red circled in below screenshot.
2. to sum PUR_Price, i have used same expression as your first one, but the results are not matched with the list box sum too. The original decimal separator of PUR_Price data is "," and i changed the comma into "." in order for sum calculation. but the sum results from KPI sum expression is not same as the list box PUR_Price sum, what could be the issue?
1) Load a new field which distinctly define each rows
LOAD ..., RecNo() as RowNum FROM ...;
Now use RowNum as one of the dimensions in your chart
2) 1st expression seemed to have worked for me
@Vince_CH wrote:
Hi Stalwar, very appreciated, by the way, in your earlier list box using Sum(1) to show the duplicated row quantity, what is the expression of that? thanks
Sum(1) was the expression 🙂