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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kaileena
Frequent Visitor

how to hide slicer selection for which the visualizations have no data

Hello

I have two slicers (Date and Entity) and a very sparce measurement table. I want to make unavaible the slicer combinations (let's say: Entity: Pib Date: Dec 2020) for which i have no measurements for.

 

Data exists for the selected slicer combination  (Entity: Customer Date: Feb 2022)

kaileena_1-1658497108123.png

Data does NOT exists for the selected slicer combination ( Entity: Pib Date: Dec 2020).

kaileena_2-1658497368409.png

 

 

So how can i hide the slicer combination for which my visualisations have no data (other than removing them all together from the slicer tables?) 

 

thank you very much

 

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

Hi, @kaileena ;

You could filter it.such as :

1.orginal .

vyalanwumsft_0-1658823423549.pngvyalanwumsft_1-1658823429242.png

2.select slicer then setting the filter.

vyalanwumsft_2-1658823477218.png

The final show:

vyalanwumsft_3-1658823503538.png


Best Regards,
Community Support Team _ Yalan Wu
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

4 REPLIES 4
v-yalanwu-msft
Community Support
Community Support

Hi, @kaileena ;

You could filter it.such as :

1.orginal .

vyalanwumsft_0-1658823423549.pngvyalanwumsft_1-1658823429242.png

2.select slicer then setting the filter.

vyalanwumsft_2-1658823477218.png

The final show:

vyalanwumsft_3-1658823503538.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@kaileena Create a measure that does a COUNTROWS of your fact table data. Add that as a visual filter on your slicer and set it to be not blank and greater than 0.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hello @Greg_Deckler ,

 

 

Thanks for your reply. 

Like this? what am i doin wrong?

 

 

 

kaileena_2-1658498645983.png

regards,

kaileena

 

@kaileena I think add an OR clause "Not blank" and change your greater than or equal to just greater than.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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