How can i use a rank to name my columns in a pivot table? I´m using the Business Review dataset and i want to have in my columns: Channel, Sum of cost and the Rank of the channel, as Table 1
When I use my field rank sumover to name the columns all of them shows a 1 instead of 1,2,3
and it doesnt let me use my simple rank sumover to name my columns
Pro tip: do not give your calculated fields the same name as QuickSight’s internal function names because it makes things less readable
I suspect the issue is you are including Channel in the partition so each different Channel is within a different partition - and the ranking starts again from 1 within each partition… with your exisiting data this is resulting in all ranks to be 1.
Thanks for the reply, unfortunately with that calculations, all three channels get the um of the sales, so all have the same ammount of cost, and all are rank 1
And if use the channel only in the ‘sumOver’ calculation partition, i´m getting the cost correctly but the rank doesn´t show the correct numbers
The issue seems to be that lots of records are taking the same rank and so the next rank value will not be 2… denseRank does what you are expecting denseRank - Amazon QuickSight