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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Remove "Clear Selections" options from Slicer

Hi, 

 

I have a report with a slicer filter for Projects (single selection) which is controlling the title of the report (I have used a Card to show the title). The problem i have is when/if the user will Clear Selections from the filter - then the report will show information for all the projects but the title will show the name of the first project.

 

Is there a way to either remove the Clear Selections from the filter or to show in the title "All Projects" when the filter is showing all projects?

 

Thank you,

Ioana

1 ACCEPTED SOLUTION
Thejeswar
Super User
Super User

Hi @Anonymous,

You can hide the clear selection option in the slicer by hiding the Header of the slicer. In order to show the slicer name, use the title option in the properties

 

In case you want to show "All Projects" when the selections are cleared, you can create a measure that use a DAX similar to the below one

 

 

Measure = IF(NOT(ISFILTERED(ProductSubcategory[EnglishProductSubcategoryName])),"ALL",ProductSubcategory[EnglishProductSubcategoryName])

The First option is a simple one and should be a go to option as well

View solution in original post

2 REPLIES 2
Thejeswar
Super User
Super User

Hi @Anonymous,

You can hide the clear selection option in the slicer by hiding the Header of the slicer. In order to show the slicer name, use the title option in the properties

 

In case you want to show "All Projects" when the selections are cleared, you can create a measure that use a DAX similar to the below one

 

 

Measure = IF(NOT(ISFILTERED(ProductSubcategory[EnglishProductSubcategoryName])),"ALL",ProductSubcategory[EnglishProductSubcategoryName])

The First option is a simple one and should be a go to option as well

This worked for me!
"You can hide the clear selection option in the slicer by hiding the Header of the slicer. In order to show the slicer name, use the title option in the properties".

 

Thanks!

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors