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.
Hii Farmaan_1
If the client wants the Between format but still needs the last 6 months by default, the only workaround is:
-
Create a bookmark where the Between slicer is set to “Last 6 months”.
-
Turn on View >> Bookmarks >> Update.
-
In Power BI Service, enable “Reset to default” so users always start with that bookmark.
-
Each refresh will still show the correct latest 6 months because the data updates, even though the slicer visually stays in the Between format.
This is the only supported method because Between slicers cannot dynamically shift on their own.
- Farmaan_18 months agoNew Member
Even if we set the slicer in the bookmark in the last six months, it wont get updated dynamically as we will have to republish the report every month by updating the date in the Book mark