Forum Discussion
Anonymous
7 years agoNot applicable
Automating Date Filter
Hello All, I want the Date slicer for To Date to be default today's date. I have tried a filter condition (Date Slicer = IF ( 'Calendar'[Date] <= TODAY (), 1, 0 )), which we can see dates t...
v-lili6-msft
7 years agoCommunity Support
hi, Anonymous
Now when you log out of Power BI and come back to a report, the same items will be selected as when you left.
So for your requirement, it couldn't achieve that set a default value(or today()) for a slicer.
As a workaround, you could add a filter condition (Date Slicer = IF ( 'Calendar'[Date] <= TODAY (), 1, 0 )) as another slicer.
When you want to see dates till today date. set filter is "1" and when you want to see all the dates just set filter is "All"
Best Regards,
Lin