Forum Discussion
DAX RANKX: Rank Column that ranks based on slicer selection?
- 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.
smore ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
I am not sure how to upload a pbix on the forum so here is a google drive link to a sample.pbix:
https://drive.google.com/file/d/1EeEjuF9_iQCPQIEeS7bZVKmOIii8GqEE/view?usp=sharing
After preparing the sample pbix I realized that the Rank Column is not ranking properly. I am not sure what is wrong with the DAX code for the Rank Column. I just want it to work the same as the Rank Measure. Thanks for your reply.