Forum Discussion
Rank by a column excluding another column
- 3 years ago
Hello
Try this measure:
Rank = var _rank = RANKX( ALLSELECTED('Wine Score'), CALCULATE( sum('Wine Score'[Score]), ALLEXCEPT('Wine Score','Wine Score'[Wine]) ), , DESC, Dense ) return _rankBest regards
Bruno Costa | Solution Supplier
Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 👍
Take a look at the blog: PBI Portugal
Thank you for your answer.
But now I would like the row to take into account the type of wine (red or white).
How to make the rank taking into account the type of wine but without taking into account the taster?
Hello
My suggestion is that separate in to two tables :
My opinion is that like this will give more clear information to the users.
All together it will not very clear.
Best regards
Bruno Costa | Solution Supplier
Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 👍
Take a look at the blog: PBI Portugal
- PaulinRoc3 years agoFrequent Visitor
Thanks a lot!