cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Windynite
Frequent Visitor

Slicer in Power BI Desktop

Hello,

 

I have installed February 2022 Power BI Desktop and I try to use a slicer. Month & Year slicer below does not work when I unselect Select all, line chart still displays including months and years on X-axis. Are there any ways to make it work? Thanks!

 

Power BI -slicer1.GIF

 

4 REPLIES 4
v-stephen-msft
Community Support
Community Support

Hi @Windynite ,

 

You want the visual to be blank when the slicer is not selected, right?

Please set a new measure.

Measure = CALCULATE ( IF ( ISFILTERED ( 'Table'[Month] ), 1, 0 ), ALLSELECTED ( 'Table' ) )

 

Add this measure to visual level filters, and set its value to 1.

vstephenmsft_0-1646099801752.png

 

 

Best Regards,

Stephen Tao

 

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

Hi @v-stephen-msft : There's nothing displaying on the visual when choosing Select all. 

I hope that Power BI developers will fix this issue soon. 

Windynite_6-1647290243555.png

 

Thanks,

 

parry2k
Super User
Super User

@Windynite not sure what your expectation is? When nothing is selected, it means all the options are selected and it is how slicers work?

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

 

 






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

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





@parry2k :Is it Okay if you go to a restaurant without ordering any but a waiter brings many food to you with a receipt over there? 

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors