Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello
Can anyone please help resolving the following issue with RANKX.
I'm trying to create a new measure to rank the names in below table based on their scores using RANKX
Rank = RANKX(All(Digital_Interactions),[Score])
Score is another measure that's calculated by multibliing and summing multible measures
Thanks!
Solved! Go to Solution.
@OmarSaleh , what is the issue you are facing is not clear
You can try, assume you have name column
Rank = RANKX(All(Digital_Interactions[Name]),[Score])
Rank = RANKX(AllSELECTED(Digital_Interactions[Name]),[Score])
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
@OmarSaleh , what is the issue you are facing is not clear
You can try, assume you have name column
Rank = RANKX(All(Digital_Interactions[Name]),[Score])
Rank = RANKX(AllSELECTED(Digital_Interactions[Name]),[Score])
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
Sorry @amitchandak just realised that I didn't mention the Name column after the table. It's working now thank you!
Thanks @amitchandak for your reply. The issue is that I'm getting the same rank for all names even though I used ALL function as you advised. I don't have the score as a calculated column, it's a measure.
@OmarSaleh , if you have created a measure rank on the name column and use another column in the visual. All Ranks will be done inside the second column
refer
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.