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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors