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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
m_roussakis
Helper III
Helper III

Looking to add rank to values

I have the following percentage values from a measurement called:

 

'AAN Local'[% AAN Sent]

The values are percentages. 

I wish to rank the percentages and group ties together. Example, all 0% values are rank 1, all higher percentage groups are higher ranks, etc etc. 

Can anyone help me with this ?

Thx



'

3 REPLIES 3
m_roussakis
Helper III
Helper III

I'd like to restate my problem. I feel I didn't explain it well initially. 

 

I want to present my Top-N data in a matrix table, with the following heirarchy:

Rows:

'Local'[Division]

'Local'[Assignment]

 

Values:

'Local'[% Sent]

 

I need to display ONLY the bottom-3 'Local'[% Sent] (percentage values) for 'Local'[Assignment] within each 'Local'[Division]


Ashish_Mathur
Super User
Super User

Hi,

The RANK() function should work.  To receive specific help, share some data to work with and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @m_roussakis ,

Below is my table:

vxiandatmsft_0-1701137248245.png

The following DAX might work for you:

Column = 
   RANKX('Table','Table'[Per],,1)

The final output is shown in the following figure:

vxiandatmsft_1-1701137323549.png

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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