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
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] )

Regards
Zubair

Please try my custom visuals

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] )

Regards
Zubair

Please try my custom visuals

Thanks @Zubair_Muhammad

This works.

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.