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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AaronGlenn10
Helper III
Helper III

Adding a rank label column to a matrix

All-Stars:  I have a matrix with with the top 25 best performing locations [see below] - is there a way to insert a column that displays the actual ranking - e.g, "1, 2, 3, 4, 5, etc..." -easier to reference.  Thank you!

 

Screenshot 2022-01-31 174812.jpg

2 REPLIES 2
Anonymous
Not applicable

Hi @AaronGlenn10,

Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

TheoC
Super User
Super User

Hi @AaronGlenn10 

 

You can create a new calculated column like below:

 

Rank = RANKX ( 'Table' , 'Table'[Value] , , ASC )

 

Hope this helps.

Theo 

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors