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
Chris_23
Helper II
Helper II

ISINSCOPE hierarchy level

Hi,

I would like to create a Matrix / Measure, which gives me information about Due Date and Payment terms only on the lowest level of the hierarchy (Debitor --> Project --> Document No_).

The following table:

 
 

 

Unbenannt.PNG

 

I have tried to get the desired structure via isinscope.

 

However, I do not manage to get the corresponding value.
The goal would be to generate the following matrix:
 
Unbenannt2.PNG
 
Due Date_M = SWITCH(
True(); ISINSCOPE(Tabelle1[Document No_]);"=Due Date";
blank())
 
Any suggestions?
 
Kind regards
1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Chris_23 

 

Try this 

Due Date_M = 
IF(
    ISINSCOPE( Tabelle1[Document No_] );
    SELECTEDVALUE( Tabelle1[Due Date] )
)

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn


 

View solution in original post

1 REPLY 1
Mariusz
Community Champion
Community Champion

Hi @Chris_23 

 

Try this 

Due Date_M = 
IF(
    ISINSCOPE( Tabelle1[Document No_] );
    SELECTEDVALUE( Tabelle1[Due Date] )
)

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn


 

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.