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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Ranking with multiple Fields

Help with below Ranking.

 

I want to create a measure RANK using the _All_ as my criterion and group fields will be Zone and State, however only the value gotten from Zone will apply to all the State. 

 

So the outcome of the ranking in Table B is applied to Table A regardless of whatever table A result is.

 

Table A

ZoneState_All_Rank
AC0000587112  99.711
AC0000586271  99.181
AC0000585676  99.731
BC0000585027  99.682
BC0000585028  100.682
BC0000585029  101.682
CC0000585030102.683
CC0000585031103.683
CC0000585032104.683


Table B

Zone_All_Rank
A99.71
B99.92
C1003
2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Not very clear. If _All_ is measure then

 

Rankx(Allselected(Table[Zone], _All_,,asc,dense)

 

Should work

 

Measure Rank: https://www.youtube.com/watch?v=DZb_6j6WuZ0&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=40
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=25627s

Power BI - New DAX Function: RANK - How It Differs from RANKX: https://youtu.be/TjGkF44VtDo

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I try that already it doesnt work. What i want to achieve is what is displayed on Table A. 

It is group by only the Zone regardless of how many fields that is added to the table

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.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors