Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
i have three fields as below
product name, sale, profit
now i would like to show the top 10 product name and sales based on Profit.
(here i should sort the product names based on profit but should display sum(sales))
=if(
Aggr(Rank(Sum(Profit)), product name)<=10,
product name,
'Others'
)
Or following?
Dual(Aggr(Rank(Sum(Profit)), Country)<=10, product name,’’),Sum(Sales))
Hi Hima,
Please use below Calculated Dimension & Expression.
Calculated Dimension:
=if(aggr(rank(sum(Profit)),Product)<=10,Product)
Expression :
Sum(Sales)
Regards
Sumeet