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
Peter2023
Helper I
Helper I

How to remove (Blank) in Slicer?

I have the data sample as shown in the file. When I put the hierarchies into the slicer, blank data appears. Is there a way to remove this blank data? Please help.

Peter2023_0-1763722177245.png

Sample file: https://drive.google.com/file/d/1XAmEAnBgzcnJ9uNh8EvNptX30lJNwEIu/view?usp=sharing

1 ACCEPTED SOLUTION

@Peter2023 , You might have to use hierarchy slicer.  as explained 

https://radacad.com/removing-blanks-from-organizational-ragged-hierarchy-in-power-bi-matrix-visual/

For that you have all "null" as null/blank 

I added a step for that
= Table.ReplaceValue(#"Changed Type","null",null,Replacer.ReplaceValue,{"L1", "L2", "L3", "L4", "L5"})

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

9 REPLIES 9
Peter2023
Helper I
Helper I

please help. thank you.

Ahmedx
Super User
Super User

you need used power query
pls try

 

Thank you for the support, but it does not match my expectations yet. I want it to be branched so that I can see which parts are smaller components and which larger parts they belong to.

rohit1991
Super User
Super User

Hii @Peter2023 

 

Simple way to remove NULL: go to the Filters pane → Advanced filtering → set “does not contain” → type (null)→ Apply filter.

 

image.png

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Peter2023_0-1763735800369.png

if filter , TX part will be disappeared 

 
amitchandak
Super User
Super User

@Peter2023 , One of the ways is to use a visual level filter and remove blanks 

 

Also check why we have blanks -https://www.youtube.com/watch?v=23qemkDqMVY

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Could you please explain more? i know why have blanks but i have no idea to solve it.

@Peter2023 , You might have to use hierarchy slicer.  as explained 

https://radacad.com/removing-blanks-from-organizational-ragged-hierarchy-in-power-bi-matrix-visual/

For that you have all "null" as null/blank 

I added a step for that
= Table.ReplaceValue(#"Changed Type","null",null,Replacer.ReplaceValue,{"L1", "L2", "L3", "L4", "L5"})

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you, hierarchy slicer is perfect. Everything is working now.
But any way if not use custom visual?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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