The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
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
Hello @Vvelarde,
I tried that one, and didn't work. I'm trying to rank a measure, the measure was done for all the countries, not sure if that affect in the ranking.
Thanks
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
96 | |
80 | |
62 | |
56 |
User | Count |
---|---|
261 | |
120 | |
113 | |
83 | |
71 |