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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Rejaul84
Frequent Visitor

Slicer setting to deselect all

Hi I would like to know if its possible to have a slicer to not show the results if nothing is selected. i.e if I search for ticket numbers using the search function within the slicer the table of data will show those ticket numbers, this is fine. But what I want it to do is to show nothing if no tickets have ben selected but the default is if nothing is selected it will show all tickets.

 

Many Thanks in advance

Rej

1 ACCEPTED SOLUTION
Rejaul84
Frequent Visitor

Hi @Ritaf1983 

 

Thanks for the help. I was able to do this but not exactly the way you have shown but I have taken the dynamic title tip, as this is good from a user perspective.

 

I ended up doing the following;

Add new measure

FilterCheck = INT(ISFILTERED('TableA'[Category]))

 

This worked for me without the need to have another table for the slicer.

View solution in original post

2 REPLIES 2
Rejaul84
Frequent Visitor

Hi @Ritaf1983 

 

Thanks for the help. I was able to do this but not exactly the way you have shown but I have taken the dynamic title tip, as this is good from a user perspective.

 

I ended up doing the following;

Add new measure

FilterCheck = INT(ISFILTERED('TableA'[Category]))

 

This worked for me without the need to have another table for the slicer.

Ritaf1983
Super User
Super User

Hi @Rejaul84 
You can modify this functionality with Dax.

The slicer's values should be in a separate table:

Ritaf1983_0-1709059303725.png

Then you can create a measure that tests if there is some filter applied on a slicer's table :

Selection test = if(ISFILTERED('Slicer'[Category]),1,0)
This measure can be used to filter other visuals 
Ritaf1983_1-1709059423678.png

You also can create a dynamic title based on this measure to guide the user:

Title = if ([Selection test]=1, "Category by value", "Please select category")
Ritaf1983_2-1709059548856.png

Pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.