Using bookmarks for clearing all slicers in Power BI is not a a new function, I have been using it for many months, and advising many people to do it that way. However, I still get a lot of questions in my presentations about how to do that. That is why I ended up writing this post. This post shows you a very quick trick of having a button to clear all slicers, and the magic is all happening with bookmarks. Bookmarks store the state of a Power BI page, and can be used in many scenarios, in this post, I only show you the ability to clear all slicers in a page. To learn more about Power BI; read Power BI book from Rookie to Rock Star.
Sample Report Page
Here is a sample Power BI report page with a number of slicers:
Screenshot below shows a selected state of items;
If you want to clear every slicer; usually, there is a clear button on the slicer header. Or you can even enable Select All in the sclier format options. However, there is no Clear All for all the scliers in the page.
Solution: Bookmarks and Buttons
Solution is to use bookmarks. Here are steps:
Step 1: Open Bookmarks pane;
Step 2: Use the clear button on the header of every slicer. Do this for all slicers.
Step 3: Create a bookmark of the page, when none of slicers are selected.
Step 4: Create a Button for user interation; This button would be clear all button. You can even use Images with logos if you want to.
You can then configure the button to show a different text, with some formattings
Step 5: Bind the button to bookmark
Now that you have the clear all button, the last step is to set the Action property of that to bookmark, and select the “clear all slicers” bookmark for it.
Testing the solution
To test the solution, use Ctrl+Click on the desktop, or just click on it in the website;
Using buttons and bookmarks for clearing all slicers is only one of the multiple creative ways you can use bookmarks. I will write more about other usages of buttons and bookmarks together. Do you have some use cases yourself; don’t hesistae to write in the comment below.
34 thoughts on “Clear All Slicers in Power BI; A Bookmark Story”
Thank you for this detailed explanation. It is definately very useful.
Does it work for the mobile view of reports as well?
Yes it will work on Mobile view
Thanks Tom 🙂 Good to see you here.
Great feature☺Thanks for the post
This is now a built in feature from PowerBI I believe? So no need to do this way any more?
Hi Guy. The “Reset the default” feature is available in the Power BI service now, but in the desktop not yet.
Hi, would this work for selections made on visualisations. One thing I am struggling with, coming from a Qlik background, is being easily able to see what selections / filters I’ve made. In Power BI, it can be a bit confusing / misleading to know what an end user has selected
Not sure if I understand your question exactly. If you want to select some items in the slicer and then create a bookmark from that selection, yes, it is working that way.
otherwise; please elaborate more. Thanks
What if you don’t want the slicers cleared when using bookmarks? I would like the slicers to stay as they were. Is there an option for this?
In that case, you have to first select everything you want to be your default selection on all slicers, and then create the bookmark.
Hello, I build A clear filter like you write. It works on one page, when I want to use it on another pages, that doesnt work. The result is, I come back to the first page. How can I solve this? Thanks a lot!
Bookmarks are tied to a PAGE. It means only that page will be affected not others. If you want that to change also other pages, you have to combine this feature with the ability to SYNC slicers.
when you sync slicers over multiple pages, change in one page, will affect others too.
I tried to do the clear slicer button it did not work
Remember you have to use Ctrl+click on the desktop.
Hi Reza –
I have a report level filter which is applied in my report across pages. Suppose, if I want to create a Reset button (using Bookmark) for a page which should reset every slicer present in the same page but should not reset the REPORT LEVEL FILTER. How can I achieve this? If I am unchecking the “DATA” option, it is carrying forward all the filters (including the Report level filter), and If I am checking the “DATA” option, it is resetting all the filters (including the Report level filter).
Really hoping for a solution here.
You need to first set your report-level filter, then uncheck all slicer selections, and then create/update your bookmark.
I have created a very simple test case where I have a slicer based on a table, with the search option enabled- click the ellipse (…) and select the little magnifier glass.
I created a bookmark called Clear Filter with nothing selected in the slicer.
Created a button called Filter Reset and link the action to the bookmark.
When I select entries in the slicer, then use the Filter Reset button, everything works and the selections disappear
But when I enter a value in the search line of the slicer, and click the Filter Reset button, the search text in the slicer does not get cleared, nor does entries in the slicer get updated to the original list.
Is this a known limitation with bookmarks and slicers using the Search option? Or am I doing something wrong
It is a limitation of the clear slicer function. Power BI team are already aware of this, we gave them the feedback, and waiting for it be fixed 🙂
Did you got any any updates from Microsoft team on this? Still I am facing this issue?
Best would be watching ideas.powerbi.com to get a clear update on this:
you can vote for it too
I want to show/hide visuals but keep filters as i have set them – can that be done with selection, bookmarks and buttons? Often i just want to hide one visual and show another, but without having the bookmark to restore the filters back to its original state and at the same time i dont want to reset all filters just to prevent that.
When you create the bookmark, with right-click on it in the bookmark tab, you can choose does it contains data, visual, or other stuff. you can uncheck the data for the bookmark for your scenario
Awesome! Thank you so much!
Very useful Reza, Thank You!
I tried using the 3 visuals, column, bar and Line Chart. using 3 buttons to show each one of them and hiding other 2. but it didn’t work in Power BI Desktop.
You need to ctrl+click in Power BI Desktop to achieve the button action, and if the rest is set up like what mentioned here, it should be all working.
Is it possible to create a clear filter except on one visual ?
I have a slicer data (as Relative) and each time I use clear filter button on the page report, all visuals are cleared (great !!!) but slicer data becomes “Between”.
Thanks for your help !
If your date slicer changes to a different format each time you do the clear filters, it is probably because when you created the bookmark it was like that. have you checked it?
when we select all items in a slicer, “clear all” bookmark doesn’t work. is there any solution?
have you tried Ctrl+Click on the Power BI Desktop?
Yea I am also trying this and it is not working. I created the bookmark, renamed etc. What do you mean by CTRL + click on the Power BI desktop? I have tried everything and it is not working. I have 4 filters that I want to clear all for.
I mean holding the CTRL key in your keyboard, and then clicking on the button.
or publishing the power bi file into the service, and then testing it with normal click.
if it doesn’t work, send me you PBIX file and I’ll see what is wrong