Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have below kind of pivot table report. here we have calculated ranking dimension called "Peak Sales Rank" which is based on Singapore Peak Sales it should but i've used below Cal.dimension and below highlighted values shows wrong (Singapore max peak sold value to be in the top and smallest values in the bottom). is there any issue with below expression? kind advise me. thanks
Calculated dimension: Peak Sales Rank
=aggr(Rank(Sum(Aggr(max({<Year={"*"},Week= {"*"},Country={'SINGAPORE'},ArticleNo>}
aggr(sum({<Year={"*"},Week= {"*"},Country={'SINGAPORE'},ArticleNo>}SoldQty),Year,Week,ArticleNo)),ArticleNo)))
,Launch_No,ThemeGroup,ArticleNo)
Peak Sold Measure:
if(Dimensionality() = 5, Max({<Year={"*"},Week= {"*"},ArticleNo>}Aggr(sum({<Year,Week,ArticleNo>}SoldQty),ArticleNo, Week,Year)),
max({<Year={"*"},Week= {"*"},ArticleNo>}
aggr(sum({<Year={"*"},Week= {"*"},ArticleNo>}SoldQty),Year,Week,Country,ArticleNo)))
Can you try to use "Initial Order" formula in Sort by expression and apply Descending option then check?
Hi Anil,
Thanks, user request based on the Peak Sold Qty - Singapore column only.
refer to the attached mock report. Thanks
Regards.
Deva
Not sure, Looks like sorting is good to me. Let me know if you want to remove this Image on wall ..
Hi Anil,
Nope, can you refer to the attached expected excel out. its The report rank by Singapore peak Sold Qty
You can achieve using If(Match(Country, 'SINGAPORE'), Here Formula for Peak Sold) under sort expression..