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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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?

slicer.png

Best regards
Kuggsi

 

 

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous ,

I created some data:

vyangliumsft_0-1650010703203.png

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.

vyangliumsft_5-1650010773094.png

 

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.

vyangliumsft_2-1650010703207.png

4. Result:

When slicer is 1:

vyangliumsft_3-1650010703207.png

When slicer is 2:

vyangliumsft_4-1650010703208.png

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
Not applicable

@v-yangliu-msft I am using a "between" slicer, so it will unfortunately not work. Thanks for the input though. 

Anonymous
Not applicable

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

amitchandak
Super User
Super User

@Anonymous , refer to this video from Guyinacube -https://www.youtube.com/watch?v=sXn-QZqLD-8

 

But remember between slicer may not work in the same manner

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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