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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Khedr_Kanaan
Frequent Visitor

How to Dynamically Select the Most Recent Date in a Slicer?

Hello everyone,

I'm currently using Power BI Desktop and working with various data tables. Among these, there's a table with a "Date" column that I using as a slicer to filter other visuals and data, as shown in the attached screenshot.

Upon publishing the report to Power BI Service and conducting daily checks to validate the data, I've noticed that the Date slicer retains the last selected value. However, my goal is for it to dynamically update to the most recent date available within the slicer. For instance, as shown in the screenshot, the latest date is 21.02.2024. I expect that by tomorrow, the slicer should automatically update to 22.02.2024.

Khedr_Kanaan_0-1708595014485.png

I've tried to apply filters to the slicer and did some research for a solution, but all the information I found relates to handling dates in a standalone table, not as a column among other data.

I would greatly appreciate any assistance in resolving this issue. Thank you in advance.

2 REPLIES 2
v-jialongy-msft
Community Support
Community Support

Hi @Khedr_Kanaan 

 

Try the following step:

Select the slicer, and in the Format pane, under Visual > Slicer settings > Options, change the Style to Relative Date.

vjialongymsft_0-1708652577905.png

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much for your response. It serves as a good alternative, but the issue is that the individuals I'm designing this for are used to using the 'Between' date slicer.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors