Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi! I was wondering if it would be possible to somehow create a button or another option that would determine which slicer the user would like to use. I have a request that we would need to filter the data by date ranges and the user should have possibility to select predefined date periods (company quarters) OR to overwrite the quarters and use any date ranges they need. How would you tackle it please? Thanks!!
Solved! Go to Solution.
Hopefully this tutorial should help solve your requirement!
Create slicer with Custom Time Periods in PowerBI | Time Intelligence | MiTutorials - YouTube
Regards
Ismail
Hi @sona_b
If I understood you correctly, yes you can add buttons for changing the date slicer type.
Take a look at the attached pbix which has an example of changing between date range slicer to "relative date".
The tutorial for creating the buttons that switch between visuals is here :
https://www.youtube.com/watch?v=cFZtUzABOa8
more information about related dates slicer is here :
https://learn.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range
and I saw just now in another context the tutorial of @miTutorials
https://www.youtube.com/watch?v=Xi86HHEaY_M
I think it is better than my method
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hopefully this tutorial should help solve your requirement!
Create slicer with Custom Time Periods in PowerBI | Time Intelligence | MiTutorials - YouTube
Regards
Ismail
wow this is awesome!!! 🙂 Thank you very much, I hope I'll adjust it to my specific scenario.
Hi @miTutorials
I saw this tutorial just now and wow, just a great workaround for date slicer "caprices" 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
113 | |
73 | |
65 | |
46 |