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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
graphIt
Frequent Visitor

HIde/remove matrix hierarchy row based on blank measure

Hello Friends,

 

Is there a way to hide or remove the rows below marked with an X whiles still displaying the rows marked with a check mark?

I have read through numerous posts here and haven't noticed anything other than to suggest it as an idea.

 

Basically what I want to do here is keep the Seat number (numbers in bold below) no matter what and hide the second level if the Scan ON field is blank. The hierarchy does not go any deeper than this, however the number of seats could change so I don't think that adding a white rectangle would suit my purpose as users also need to be able to expand or compress the levels if they choose to.

 

graphIt_0-1594244161948.png

 

Thanks for your help

 

1 ACCEPTED SOLUTION

Thanks for the help and suggestions everyone. I wasn't able to make the suggestions work in my scenario. What I ended up doing was insert empty seats with no passengers into the underlying table and then I was able to use the matrix heirarchy in a "normal" way by also also including items with no data.

View solution in original post

3 REPLIES 3
v-deddai1-msft
Community Support
Community Support

Hi @graphIt ,

 

As a workaround, I create another measure in Values to make the part of hierarchy that you want to keep have a non-null value. And it will show when you did't select show item with no data. And Hide the column for the measure by shrinking the width of the coumn

Capture1.PNG

Please refer to my sample pbix file:  https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EXowA4JJmmxNqd4xS4...

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

 

Thank you @v-deddai1-msft for the suggestion. That didn't work for me probably because my schema is more complicated. I tried to use your idea to work around my specific scenario, but with no luck.

 

I have the pbix file on my onedrive if you care to take a look.

https://1drv.ms/u/s!AjvAVtAamBjR4kd7jtCy3hbz1J-c?e=Dc6Trd

 

The goal of this report is to show all the people that were on the same bus as a selected passenger in relation to where they were seated. Hopefully you can help. I have everything working the way it needs to with the exception of the matrix level display.

 

thanks again,

Thanks for the help and suggestions everyone. I wasn't able to make the suggestions work in my scenario. What I ended up doing was insert empty seats with no passengers into the underlying table and then I was able to use the matrix heirarchy in a "normal" way by also also including items with no data.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.