Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Ranking Top 3

Hi, 

 

I am trying to create top 3 cards that will calculate the rankings of two matrix tables and provide the names in the boxes of most productive agents from 1st to 3rd. It should look like below.  

 

Aziza_1-1615307211664.png

I have managed to create a rank for each table but when I add them together with a measure, it doesn't bring the correct answer. So I created another matrix table with Top N filter which does work but its not in order of 1st, 2nd and 3rd. Please can you advise if there is any other way to do this?  Thank you very much. 

 

Aziza_0-1615307184688.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , with Rank one can easily filter Rank =1 or Rank =2 etc.

 

Can share the Rank which dod not work and top productivity which worked?

 

I have done this at sub category level here https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners/ba-p/890814

 

Also refer:  https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Hi Amit, thank you for your response. In excel I would add the rankings of two columns and divide by two to get my result of ranking and then create a macro button to bring the top 3 names in order of 1st, 2nd and 3rd. I basically need to do the exact same thing in PowerBI but it is more complicated. I did manage to get top 3 names by Top N but its not in order of 1st, 2nd and 3rd. 

 

Sorry, I also tried to get Rank =1 filter like you mentioned but I am not sure how to get it. 

 

I have the rankings for both matrix tables and I need to add them together so I can get a new ranking from both to identify the top 3 names in the boxes at the top left. 

 

Please see below a screenshot of what I am trying to achieve. 

 

Aziza_1-1615371841538.png

 

 

Really appreciate your help, thank you 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric Community.