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

RankX in unbalanced parent-child hierarchy

Hi,

my goal is to show the ranking of a Tradelane within its parent entity.

 

The visual i got is 50% correct 🙂

Within the (level2) Road/Rail section all Tradelanes are ranked correctly.

However if you have a look on the other level 2 aggegration (Air/Ocean) the ranks are always 1. I don`t unterstand this behavior, as there is no special calculation for this part of level2.

 

Tradelane Problem.jpg

 

The measures:

Bruin87_1-1649390757048.png

 

Bruin87_2-1649390786677.png


Bruin87_3-1649390840511.png


Bruin87_4-1649390941808.png

 

Bruin87_5-1649390965481.png

 


 


 
Would be great if anyone has a tip
 
Thanks in advance
Bruin87
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This is too complext to follow ( too many measure nesting levels)  but it feels like you should use ALLSELECTED() or ALLEXCEPT() here instead of ALL()

 

Please provide sanitized sample data that fully covers your issue.


View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

This is too complext to follow ( too many measure nesting levels)  but it feels like you should use ALLSELECTED() or ALLEXCEPT() here instead of ALL()

 

Please provide sanitized sample data that fully covers your issue.


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.

Top Solution Authors