Forum Discussion
Dynamic Date Sicer
- 8 months ago
Hi Farmaan_1,
AFAIK, you can't have between slicer with relative date functionality. The max you can do is fix a start date which is usually an option for YTD/QTD/MTD defaults. But again, even in that case you need to update the slicer manually every year/quarter/month to fix the start date.
One work-around I can think of is having 2 buttons in the screen: One for relative date and one for custom date (between slicer). Default with last 6 month relative date so that data is only for last 6 months when user opens the dashboard. If the user want to select specific range, they can click on button saying custom date wherein between slicer appears and relative slicer disappears.
In short, 2 buttons:
Button 1: Relative Date -> Relative date slicer
Button 2: Custom Date -> Between date slicerYour requirement is a limitation in Power BI and I would suggest convincing the client for either relative slicer or above alternative where only an additional click is required.
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!
Proud To Be a Super User !!!
LinkedIn
But client wants in this format
They dont want in relative format they want in between.
You can do this with a between slicer setting by doing a couple things:
- Adding a relative date filter at the visual level for date and set to last six months
- for the PBIX file remove the check this option to disable persistent filtering so the slicer reloads to default each time: