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
Pravallika05
Frequent Visitor

Dynamic Rank based on user selected filter ( Columns from two different Dimension tables)

Hi,

 

I have been struggling in getting Rank Dax logic work for my scenraio and looking for someone who could help me in achieving the result

 

Scenario: I have a measure which is Percentage and i want to create a Rank on that Percentage measure and that Rank should be dynamic based on user selected filter column from two different dimension tables.

 

Below mentioned is the Dax i have coded, but its not working as expected and i am getting same rank for different values.

[AP Case Impact Score YTD PHC] = Percentage measure

 

Rank:= if( not ISBLANK([AP Case Impact Score YTD PHC]), RANKX(ALLSELECTED('CenterUp Heirarchy'),[AP Case Impact Score YTD PHC],,ASC,Dense),BLANK())

 

Pravallika05_1-1625695010432.png

 

I am looking for above Result, but i am getting same rank for different values.

 

I have been trying hard to achieve the result but couldnt succeed and egarly waiting for answer and help!!

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @Pravallika05 ,

 

I created some data and used your formula then I got the correct result.

4.PNG

It's  better to share some sample data to us.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @Pravallika05 ,

 

I created some data and used your formula then I got the correct result.

4.PNG

It's  better to share some sample data to us.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

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.