The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, I have created a hierarchy (powerbi builtin hierachy creator) and put it into a matrix visual. I only want to show the values of the bottom 2 children of the hierrachy. As it does not make sense to roll up the values to the parent. See screenshots below.
Not this one
only at this level and the one above
I dont want the columns Volume, Count, Quantity, UoM to display quantities at the parent level, these should be blank. However when I drill down to child levels these values should be present. How can this be done ?
Solved! Go to Solution.
Hi @JL0101 ,
I suggest you to try ISINSCOPE() to achieve your goal.
My Sample:
Measure:
M_Count = IF(ISINSCOPE('Table'[Family&Type]),CALCULATE(SUM('Table'[Count])))
M_Volume = IF(ISINSCOPE('Table'[Family&Type]),CALCULATE(SUM('Table'[Volume])))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
how would I do the same with the color so that it only shows at level4? Not to show at level2 as below only level4. I was using the the condtional background colour but I can't get it to work with isincope function.
Perfect
Hi @JL0101 ,
I suggest you to try ISINSCOPE() to achieve your goal.
My Sample:
Measure:
M_Count = IF(ISINSCOPE('Table'[Family&Type]),CALCULATE(SUM('Table'[Count])))
M_Volume = IF(ISINSCOPE('Table'[Family&Type]),CALCULATE(SUM('Table'[Volume])))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.