Forum Discussion

Windynite's avatar
Windynite
Frequent Visitor
4 years ago

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!

 

 

4 Replies

  • 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  to our YouTube channel

     

     

    • Windynite's avatar
      Windynite
      Frequent Visitor

      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? 

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.

     

     

    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.

    • Windynite's avatar
      Windynite
      Frequent Visitor

      Hi Anonymous : There's nothing displaying on the visual when choosing Select all. 

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

       

      Thanks,