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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Solution Specialist
Solution Specialist

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.