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

Regards
Zubair

Please try my custom visuals

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
)

Regards
Zubair

Please try my custom visuals

@Boja

 

rankx_.png


Regards
Zubair

Please try my custom visuals

It works perfectly. Thanks Zubair!

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.