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! Learn more

Reply
Boja
Advocate II
Advocate II

Distinct Rank for each criteria

Hello,

 

Could you please help me make a rank col for the following dataset? Namely, the rank 1 should be assigned to the newest app version on each platform no matter the problem field. The rank column should be updated with every new release, so the newest version is always ranked first. Do you have any idea?

 

thanks

 

PlatformVersionProblemRank
Android8.18Message1
Android8.18Call1
Android8.18Network1
Android8.18Video1
Android8.16Call2
Android8.16Network2
Android8.16Video2
Android8.15Message3
Android8.15Call3
Android8.15Network3
Android8.14Call4
iOS8.1Video1
iOS8.1Call1
iOS8.1Network1
iOS8.09Network2
iOS8.08Call3
iOS8.08Video3
iOS8.08Video3
iOS8.07Call4
Win12Network1
Win12Call1
Win11Network2
Win11Video2
Win11Message2
Win10Call3
Win9Video4
2 ACCEPTED SOLUTIONS
Zubair_Muhammad
Community Champion
Community Champion

HI @Boja

 

Try this calculated column

 

RANK_ =
RANKX (
    FILTER ( Table1, Table1[Platform] = EARLIER ( Table1[Platform] ) ),
    Table1[Version],
    ,
    DESC,
    DENSE
)

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

HI @Boja

 

Try this calculated column

 

RANK_ =
RANKX (
    FILTER ( Table1, Table1[Platform] = EARLIER ( Table1[Platform] ) ),
    Table1[Version],
    ,
    DESC,
    DENSE
)

It works perfectly. Thanks Zubair!

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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