Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I need to create table with two dimensions. First one with top 5 value based one first expression (expanded) + others row sowing sum of rest (collapsed) + Grand Total. 2nd dimension will show top 3 values based on 1st expression + total row. I manage to create top 5 and top 3 values but i have a problem with proper sorting. I've tried adding "hidden' expression with some calculation based on RANK and AGGR function but without success. Table should look like this:
Is this possible? if so then how?
do you just need it sorted descending??
If that's the case - simply sort by "Y-Value" descending
This is the best source for this topic: Perfectly Sorting Pivot Table (by A-Z. y-Value set for each dim-level)
- Marcus
For the expression you used add TOTAL keyword as below
Select your first dimension >> Sort by expression >> Descending
Uncheck Sort options for other dimensions.
SUM ( TOTAL<DIM1> yourexpression )