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
rverstegen1
Frequent Visitor

Slicer with only options Yes or All

I want to add a slicer to my report that will let the user show either a specific selection or all based on a column in the table.
the column is filled with Yes or No, but i want the slicer the show everything in the report that has Yes in that column if they choose Yes and show the numbers of all records (so including the records with Yes) if they choose the other option.
I cant see a way to change the No option in the slicer for an All option.

Thanks in advance for any tips!

 

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @rverstegen1 

According to your description, you "cant see a way to change the No option in the slicer for an All option."?

In the slicer , do you just have two values(Yes or No)?

When you select the "Yes" , you want to switch to the No , you can set the slicer to the "Radio".
And you are Multiple selection, you need to uncheck Yes, and then check "No".

And for the slicer , you can use the ISFILTERED() function to check it is be filtered .You can use the count of the selected number and the total number to compare if it is all selected .

 

 

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

 

 

View solution in original post

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi , @rverstegen1 

According to your description, you "cant see a way to change the No option in the slicer for an All option."?

In the slicer , do you just have two values(Yes or No)?

When you select the "Yes" , you want to switch to the No , you can set the slicer to the "Radio".
And you are Multiple selection, you need to uncheck Yes, and then check "No".

And for the slicer , you can use the ISFILTERED() function to check it is be filtered .You can use the count of the selected number and the total number to compare if it is all selected .

 

 

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

 

 

Thanks for your reply. I will try to work with your answer later today or tomorrow and let know if it is the desired solution.

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.