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

Value not at lowest level

Hello,

 

I have a hierarchy with five levels. Four levels are in one table, and one table is connected with one hierarchy level (*-1). The cross filter direction is both sides. How can i get the values from a measure to level 1-4, because the values are also untill level 4. So there are no values at level 5

 

In the previous time i  had one hierarchy table and i used the function isinscope, but now it doensnt work.

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @matthijs 

 

Can you share some dummy data to describe the input data and output result more clearly? Which 4 levels are in one table and which columns are the two tables connected to each other?

 

You may use a condition like 

ISINSCOPE ( 'table'[level 1] ) && NOT ( ISINSCOPE ( 'table'[level 5] ) )

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @matthijs 

 

Can you share some dummy data to describe the input data and output result more clearly? Which 4 levels are in one table and which columns are the two tables connected to each other?

 

You may use a condition like 

ISINSCOPE ( 'table'[level 1] ) && NOT ( ISINSCOPE ( 'table'[level 5] ) )

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

amitchandak
Super User
Super User

@matthijs , isinscope, and isfiltered are the options to deal with it

refer

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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.