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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
RobertReeves
Frequent Visitor

Auto Update Start Date in Slicer

I have a report that has information for services scheduled. The data pull has data starting from 2020 through future dates. When the data set refreshes, is there a way to have the start date in the slicer automatically update to the previous days date?

 

Example: Data set refreshes on 5/9/2024, start date in slicer should be 5/8/2024. We still need to be able to manually adjust the start day to a past date if we need to analyze historical data.

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Use the Relative Date filter option in the Filter Pane, or create your own default.

 

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

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Use the Relative Date filter option in the Filter Pane, or create your own default.

 

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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