Forum Discussion
Anonymous
5 years agoNot applicable
Date Slicer: Default values
Dear community, I know there are several threads regarding the question of adding default values to a slicer but so far I did not find a solution to my problem. I am having a report with seve...
- 5 years ago
Anonymous
I recently made a video to solve the common default date filter problems, please refer to this video:
https://youtu.be/KBEsPGxDxHM
amitchandak
5 years agoSuper User
Anonymous , As of now we can not initialize both days.
The workaround is you can clear a new column in the date table
Switch( true() ,
[date] >= today() && [date] >= today() -7 , "Last 7 days",
"others"
)
Or you can use a relative date slicer
Or approach like this https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-30/m-p/1284966#M561629