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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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