Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Hide values in a slicer

Hello, 


I'm using slicer for values in a column. The orginal settings returns min and max values. Is there any way to hide the values or let the slicer be blank from the dataset by default?

Best regards
Kuggsi

 

 

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    I am using between slicer, so it's not applicable. Guess this is not possible at the moment. 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  Anonymous ,

    I created some data:

    Are you considering using another slicer to control whether the current slicer has a value

    Here are the steps you can follow:

    1. Use Enter data to create the table.

     

    2. Create measure.

    Flag =
    var _1=SELECTEDVALUE('Table2'[Index])
    return
    SWITCH(
        TRUE(),
    ISFILTERED('Table'[value])&&_1=1,0,
    _1=2,1,0
    )

    3. Put it in the Filter with [Value] as the slicer, and set is =1.

    4. Result:

    When slicer is 1:

    When slicer is 2:

    Please click here for the pbix file

     

     

    Best Regards,

    Liu Yang

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      Anonymous I am using a "between" slicer, so it will unfortunately not work. Thanks for the input though.