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
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
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