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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.