Forum Discussion
Default date value setting in slicer.
Hi All Please Help me.
I have a date table that contains data from 2010 to 2030. That table was used as a slicer data picker.
When the report is opened, the today date should be selected by default.
2 Replies
- amitchandak
Super User
Anonymous , You need to use a workaround as of now
You need have column like this and have on today. Sort this on date
Date Type = SWITCH(TRUE(),'Date'[Date]=TODAY(),"Today"
,'Date'[Date]=TODAY()-1,"Yesterday"
,'Date'[Date]=TODAY()-2,"Day before Yesterday"
,'Date'[Date]&"")or
Date Type = SWITCH(TRUE(),'Date'[Date]=TODAY(),"Today"
,'Date'[Date]&"")Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA
- AnonymousNot applicable
Hi Anonymous ,
Currently, It's not possible to set dafault values to slicers.
You can set the slicer to relative slicer and can check the data for the last N periods.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data