Forum Discussion
wooand
8 years agoHelper II
TOPN without changing the data
Hello. I have a column of Brokers that I need to rank by volume. Easy enough. I then need to show the top 5 only, but retain the percentages as per the original calculation, rather than calcula...
- 8 years ago
Hi,
I guess you applied a Top 5 visual-level filter on [USD Amount] for your matrix on the right.
Try the following measures:
Total Amt = Sum( YourTable[USD Amount] )
Pct GT USD Amount = Divide ( [Total Amount] , Calculate( [Total Amt] , All(YourTable[Counter-Party] ) )
Format Pct GT USD Amount as % and use to replace your current % measure on your matrix on the right.
Datatouille
8 years agoSolution Sage
Hi,
I guess you applied a Top 5 visual-level filter on [USD Amount] for your matrix on the right.
Try the following measures:
Total Amt = Sum( YourTable[USD Amount] )
Pct GT USD Amount = Divide ( [Total Amount] , Calculate( [Total Amt] , All(YourTable[Counter-Party] ) )
Format Pct GT USD Amount as % and use to replace your current % measure on your matrix on the right.
wooand
8 years agoHelper II
Spot on. Very kind of you, and many thanks.