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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.