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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
JL0101
Helper II
Helper II

How to show only the child values of a hierarchy

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

JL0101_0-1684859927656.png

only at this level and the one above

JL0101_2-1684860187462.png

 

 

 

JL0101_1-1684860057757.png

 

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 ?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JL0101 ,

 

I suggest you to try ISINSCOPE() to achieve your goal.

My Sample:

veqinmsft_0-1684984534952.png

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.

veqinmsft_1-1684984598898.png

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.

 

View solution in original post

3 REPLIES 3
JL0101
Helper II
Helper II

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. 

 

JL0101_1-1685030692449.png

 

JL0101_2-1685030794009.png

 

JL0101
Helper II
Helper II

Perfect

Anonymous
Not applicable

Hi @JL0101 ,

 

I suggest you to try ISINSCOPE() to achieve your goal.

My Sample:

veqinmsft_0-1684984534952.png

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.

veqinmsft_1-1684984598898.png

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.

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors