March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hello everyone,
I'm implementing the button "Clear all slicers" but this returns as default the first date of my dataset. How can I ensure that once this button is clicked, the values will always be D-1 (Today's Date -1)?
Thanks
Solved! Go to Solution.
Hi @julsr ,
Try using a custom visual “pre-selected slicer” and bookmarks for a similar result:
The pre-selected slicer's interaction with the built-in slicer is turned off by default, so please remember to turn on the interaction.
Change how visuals interact in a report - Power BI | Microsoft Learn
Hide pre-selected slicer when saving bookmarks.
I've made a simple example that I hope helps.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
@julsr You would want to have a day offset in your Date/Calendar table. Then you could create a bookmark for that where the page is filtered to the offset equal -1. Clear all slicers could then just invoke that bookmark.
Thanks for your answer! I'm using the following logic: https://www.linkedin.com/pulse/power-bi-single-date-picker-without-dax-torsten-wanka/ to have a single date picker in my dashboard, but when I want to apply something to show the last day value in my code, it doesn't work. I expected to see the last day with this and use it as a bookmark.
Hi @julsr ,
Try using a custom visual “pre-selected slicer” and bookmarks for a similar result:
The pre-selected slicer's interaction with the built-in slicer is turned off by default, so please remember to turn on the interaction.
Change how visuals interact in a report - Power BI | Microsoft Learn
Hide pre-selected slicer when saving bookmarks.
I've made a simple example that I hope helps.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |