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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
RamiDaoud
Frequent Visitor

Hierarchy Slicer Blanks

Hello Everyone,

 

I have an issue with Hierarchy slicer visual. I used the visual to filter data based on  Main Category  and sub-category fields.  The Main Category is on one table but the sub-categories are in defferent tables. The issue is when I draged- droped the sub-categories to the slicer, I have to brows many blanks levels to reach to child level. The below image illustrates the issue.  Please advice thank you 🙂

 

HierarchySlicer.png

4 REPLIES 4
wes-verh
Advocate II
Advocate II

Please consider voting to my idea to add this option to the Matrix visual:

https://community.powerbi.com/t5/Custom-Visuals-Ideas/Hide-empty-hierarchy-levels-in-Matrix-visual/i...

v-chuncz-msft
Community Support
Community Support

@RamiDaoud ,

 

In the Format section of the Visualizations pane, you may enter "Empty Leaves" in the "Search" textbox.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I used the "empty leaves" option but it didn't work well because, if the parent level is blank, all the next levels are removed, even if there are data in them. I simply need to hide blanks only when there are no data - i.e. if the parent level is blank and there are data in the next level, only the parent level should be removed.

Thank you

Anonymous
Not applicable

The parent shouldn't be blank in the first place, should it?

 

I'd advise you to:

  • Clean up your data little, give the parents values. I always just give it the value of a lower level.
  • Explicitly make a hierarchy instead of dragging the cols on to the slicer.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors