The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All
I’m looking for a way to set a default date range (last 2 weeks) in a "Between" mode date slicer, so it opens with this range selected initially, but still allows users to choose other date ranges afterward.
Are there any custom or third-party slicers available that support this functionality directly, or any best practices to achieve this default behavior in Power BI?
Thanks
Regards
Solved! Go to Solution.
Hi @Nazdac2024
You can use a hidden Pre-Selected slicer (custom visual) that filters your slider to have those preselected.
Then have a clear slicer button to remove the filter when you don't need it.
Alternatively create a bookmark that saves a filtered version of the report and another that has the unfiltered report. Give your user two buttons to click to switch between the modes.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @Nazdac2024
The built-in slicer in the current Power BI Desktop doesn't support the effect you want, and as SamWiseOwl suggests in his reply, you can achieve a similar effect by using a "Preselected Slicer"(custom visual) or by adding a bookmark to save the last 2 weeks of filtering status.
If this feature is important to you, you can vote for existing ideas or submit a new one ideas.fabric.microsoft.com .
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Nazdac2024
You can use a hidden Pre-Selected slicer (custom visual) that filters your slider to have those preselected.
Then have a clear slicer button to remove the filter when you don't need it.
Alternatively create a bookmark that saves a filtered version of the report and another that has the unfiltered report. Give your user two buttons to click to switch between the modes.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.