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
akkolbeck
Frequent Visitor

Issue - slicers are showing all options even if there are no values

Hi there- I'm hoping someone can help me.

 

How can I make it so that my slicers only show options if there are values associated? For example, I have an organizational hierarchy, but not all "level 1"s had terminations occur. I want my slicer to only show those "Level 1" where there are terminations. I don't want my users to click on a "level 1" and see blank visuals - that is not a good user experience. I want them to only see the "level 1"s that had terminations.

 

I've made sure that my level 1 has "show items with no data" unchecked - so now I'm lost as to what I can do next.

 

Any suggestions would be greatly appreciated - thank you in advance!

1 REPLY 1
v-haibl-msft
Employee
Employee

@akkolbeck

 

If we have a table like below, we can create another table which only has one column with following DAX formula and relationship.

 

Issue - slicers are showing all options even if there are no values_1.jpgIssue - slicers are showing all options even if there are no values_2.jpgIssue - slicers are showing all options even if there are no values_3.jpg

 

Then drag Table[Level1] into the slicer, and C will not be displayed in the slicer now.

Issue - slicers are showing all options even if there are no values_4.jpg

 

Best Regards,
Herbert

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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