Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Prashant_1234
New Member

How to set default date yesterday in slicer of date between and user can be change date

Hi All ,

 

How can we show yesterday date in slicer as default and user can be also change start and end date according to their need.

 

Please help me on this.

 

Example

start date is 3/02/2024  and end date is today

 

need date like this in slicer 4/22/2024 - 4/22/2024

 

 if any one needs to change start and end date then they can make changes as well in slicer

Thanks

P

 

 

1 REPLY 1
lbendlin
Super User
Super User

- create a string representation of your date column, replace yesterday's date with a string "Yesterday"
- sort that new column by the original date column
- add a slicer or visual/page/report level filter
- set the filter to "Yesterday"
- publish the pbix to the workspace/app

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors