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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Using RANKX to rank categories based on Report Level FIlters

Hello,

 

I have searched a lot around the web and couldn't really find an answer to this problem I am having. '

 

I first have a measure that takes an average percentage of Column1 in Table 1. Then I am trying to make another measure that ranks this average percentage measure based on categories in Column 2. I have also used a report level filter to filter out all of the categories I want to use fro the rank measure and other calulation in the report. The thing is when I have a list visual filter in the page and try to select on of the categoreis it gives the rank for all the categories and not just those categories selected in the report filter.

 

I was wondering if anyone has a solution to this because I have tried all of the ALL functions in various ways with no luck.

 

Thanks

1 ACCEPTED SOLUTION
Chihiro
Solution Sage
Solution Sage

Can you upload sample data set? Along with image of expected result. Bit hard to help you without it.

 

If unable to, below link will help, specifically Ranking by Sub Category section.

http://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures

 

View solution in original post

2 REPLIES 2
Chihiro
Solution Sage
Solution Sage

Can you upload sample data set? Along with image of expected result. Bit hard to help you without it.

 

If unable to, below link will help, specifically Ranking by Sub Category section.

http://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures

 

Anonymous
Not applicable

I actually figured it out using another way but thank you for the resource.

Helpful resources

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