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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
lweaver2235
New Member

Getting rid of blank values in a filter

Hi! I'm trying to clean up a filter that has three different levels (with the first level being department). Some departments have three levels (department, teams, locations), but other departments just have one level (with that just being their department). In the filter view, this shows those one level departments as having blanks. 

Is there a way to fix this so that it doesn't show the drill down for the one level departments? (I've tried filtering out the blanks at those levels, but that causes the first level to not be included - i.e. when I filtered out the last level to not include blanks, the benefits department was removed.)

 

lweaver2235_1-1714661070187.png

 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @lweaver2235 ,

 

The default hierarchy slicer can't remove blank values. You could use the custom visual of hierarchy slicer to have a try.

Here are the steps you can follow:

1. “Get more visual -- HierarchySlicer.

vyangliumsft_0-1714722986609.png

2. Format – Visual – Selection controls.

Hide Members -- Empty

vyangliumsft_1-1714722986611.png

3. Result:

vyangliumsft_2-1714723002953.png

 

Best Regards,

Liu Yang

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

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @lweaver2235 ,

 

The default hierarchy slicer can't remove blank values. You could use the custom visual of hierarchy slicer to have a try.

Here are the steps you can follow:

1. “Get more visual -- HierarchySlicer.

vyangliumsft_0-1714722986609.png

2. Format – Visual – Selection controls.

Hide Members -- Empty

vyangliumsft_1-1714722986611.png

3. Result:

vyangliumsft_2-1714723002953.png

 

Best Regards,

Liu Yang

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

Kaviraj11
Super User
Super User

Hi,

This measure  will allow only to display the value that is available from the source dataset.

 

SlicerFilter = INT ( NOT ISEMPTY ( ‘TableName’ ) )

 

Put the measure in filter pane and make sure to put a condition equal to 1




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.