Forum Discussion
set a default date range in date slicer
jitpbi , I do not think there is way for that.
They only way is workaround to have a slicer on a column like this
Date Type = SWITCH(TRUE(),
'Date'[Date]=TODAY(),"Today & Yesterday",
'Date'[Date]=TODAY()-1,"Today & Yesterday"
,'Date'[Date]&"")
and select Today & Yesterday on LOV.
Hi amitchandak,
I need the slicer like below screenshots, bydefaut it should be for 2 days (today and yesterday) , as in left slicer, and user can also select any date range, as in right side slider, if they needed to change the date:
Thanks
- Icey5 years ago
Community Support
Hi jitpbi ,
To my knowledge, it is not supported to meet your requirements in Power BI currently.
You can post your idea on Power BI Ideas. It is a place for customers to provide feedback about Power BI.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.