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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors