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

I want to compare data with a Hierarchy that only exist on one part of the data

Hello all,

 

I hope some one can help me with my problem.

I use two values BGR € and Voorspelling €. The voorspelling € hierarchy in on a deeper level than the BGR €.
The voorspelling € has three levels:

- kostenplaats

- F code

- employee number

The BGR € had two levels:
- kostenplaats

- F code

 

I know when I drill to the employee number, that the BGR € value of the F-code will show per employee-code.

 

JosFry_2-1661854910223.png

 

My question is: When I drill down to the employee number, it is possible to only show the Voorspelling € on the employee-codes and BGR € on the F503 level as a total. Like this:

JosFry_3-1661855315332.png

 

Thank you all for ready and trying to help!

 

Your sincerely,

 

Jos 

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @JosFry 
Let's assume [BGR €] measure is a simple of sum of a column then you can write it this way

BGR € =
IF (
    NOT ISINSCOPE ( TableName[Employee Number] ),
    SUM ( TableName[ColumnName] )
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @JosFry 
Let's assume [BGR €] measure is a simple of sum of a column then you can write it this way

BGR € =
IF (
    NOT ISINSCOPE ( TableName[Employee Number] ),
    SUM ( TableName[ColumnName] )
)

@tamerj1 Thanks you sir!

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.

Top Solution Authors