Forum Discussion
smore
Advocate I
5 years agoDAX RANKX: Rank Column that ranks based on slicer selection?
[ Spoiler ] I have a slicer based on Table[Color] and a ranking measure that ranks items based on Table[Size]. When all colors are selected in the slicer it ranks every item. When a specific color i...
- 5 years ago
Hi smore,
Do you want to show the overall ranking after applying the slicer?
Here is the output:
Try measure as:
Rank Measure = RANKX( ALL('Table'), CALCULATE(SUM('Table'[Size])) ,, DESC )Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
v-xulin-mstf
Community Support
5 years agoHi smore,
Do you want to show the overall ranking after applying the slicer?
Here is the output:
Try measure as:
Rank Measure =
RANKX(
ALL('Table'),
CALCULATE(SUM('Table'[Size]))
,, DESC
)
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.