March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi Team,
I'm not sure how to use the Rankx function by using two categories.
Please find the snip of the excel sheet where it has top 5 values by total descending order
How to get the similar view using dax in power bi and also want to rank them based on the total
Could you please suggest ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @SRikanth15 ,
I can't click on the screenshot you provided properly, it looks TOO SMALL.
you can refer to these similar threads below, also, if you want better help on dax, DAX Commands and Tips - Microsoft Power BI Community is the right forum.
RANKX and specifying ASC or DESC order - Microsoft Power BI Community
How to use the DAX RANKX function in Power BI - Databear
Solved: RANKX by category in Power BI - Microsoft Power BI Community
Best regards.
Community Support Team_ Caitlyn