Forum Discussion
yamaro
8 years agoNew Member
Rankx excluding
Hello all,
I'm new using Power BI and I'm trying to create a Ranking based in a # by Country, but I want to exclude some of the countries from the ranking, is this possible? How can be done?
Thanks,
Yaitza
3 Replies
- VvelardeCommunity Champion
Hi, use you can use a measure:
Rank-M = RANKX ( ALLSELECTED ( Table1 ), CALCULATE ( SUM ( Table1[Sales] ) ),, DESC )
And apply a visual level filter to select the countries.
Regards
Victor
Lima - Peru
- v-qiuyu-msftCommunity Support
Hi yamaro,
Would you please share some sample data and DAX of measure? Also please clarify the desired results regarding this sample data.
Best Regards,
Qiuyun Yu