Forum Discussion
Using single button to perform two actions
- 5 years ago
Hi, Jai_Bankar
After some tests in the Power BI desktop, I think this function can be achieved using bookmark and Sync slicers. You can follow my steps:
- I created a Slicer on page2 and clear all filters then create a bookmark for page2
- I click the Slicer and click on the “Sync slicer” then set it like this:
- I go to the page1 , create a button and set the action to “Bookmark 2 ”:
Then I click the button, I jumped up to the page2, then I go back to page1, I found the Slicer is cleared.
And you can get what you want.
You can download my test pbix file here
More info about Sync and use slicers on other pages
If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Jai_Bankar
What do you mean by “the applied filters must be cleared out”? If you want to clear the Slicer and the filters of the page you are going back to, you can create a bookmark for the backed page without any Slicer and filter. Then set the action for the Button, like this:
If you want to clear the filter in the original page when you click the back buttom, I don’t think it can be achieved. Because each buttom can only have one action. You can only create another buttom to reset the filer then click “Back” buttom to the backed page.
Resetting page back to defaults using the new buttons feature and bookmarks in power bi
If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you!
My question was , I want to clear the filter in the original page when I click back button. But it's not possible to assign two actions for single button, can we have any other workaround for this issue?