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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Microsoft Employee
Microsoft 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.