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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mnll7
Regular Visitor

Managing a Ranking Table

Hi all,

 

I am currently working with a table visual in which certain columns are ranked using a RankX measure. I am having difficulty adding a new field value without changing my ranking. Is there a way to lock my measure or be able to add new field values to my table without it changing my ranking?  Am I supposed to use an Allexcept function or other type of function? 

 

This is the Rankx equation I am currently using: 

Rank = RANKX(ALL('Table1'[Field1],'Table1'[Field2]),[MeasureCalculation],DESC,Dense)

 

Thank you for your help!! 🙂

 

 

2 REPLIES 2
v-huizhn-msft
Employee
Employee

Hi @mnll7,

You'd better share your sample table and list expected result, so that we can help you. 

Thanks,
Angelia

Zubair_Muhammad
Community Champion
Community Champion

@mnll7

 

Try this

 

Rank =
RANKX ( ALLSELECTED ( 'Table1' ), [MeasureCalculation], DESC, DENSE )

 

 


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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