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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
BileMG
Frequent Visitor

Max Number of RankX

Hi, 

 

I use a RankX measure to calculate the Rank of different values.

This works fine but in addition to that Information I want to show the place in the ranking, i.e. Rank X from Y.

But I could'nt find a DAX that I can use to calculate the Y.

Does anybody have an Idea ?

1 ACCEPTED SOLUTION

@BileMG

 

Try this pattern

 

Measure MaxRank=
MAXX ( ALLSELECTED ( TableName[Team] ), [RankMeasure] )

View solution in original post

4 REPLIES 4
v-yuta-msft
Community Support
Community Support

Hi BileMG ,

 

What does "place in the ranking" and "Rank X from Y" mean? Could you please clarify more details about your expected result?

 

Regards,

Jimmy Tao

Hi,

 

my current measue calculate the Rank of Sales in a  team and in a period. I show it in a card, for example the Sales of BileMG is 30K, he is on Rank 5 of ? ?. This figure makes more sense, when I also could show the place in the Rank. Rank 5 of 30 has another impact ob performance that he ist on Rank 5 of 5.

@BileMG

 

Try this pattern

 

Measure MaxRank=
MAXX ( ALLSELECTED ( TableName[Team] ), [RankMeasure] )

Thanks @Zubair_Muhammad

This works.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.