Forum Discussion
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.
Hi Anonymous
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.
2 Replies
- amitchandak
Super User
Anonymous , 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.
- v-jingzhang
Community Support
Hi Anonymous
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.