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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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