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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
BigLo
Helper III
Helper III

How to set a dynamic default date range in a slicer?

 

Hello,

I'm using a date slicer, and I've noticed that when I select a specific date (rather than all available dates), the slicer gets locked to that selection and doesn't update dynamically.

Is there a way to make the slicer default to a dynamic range, such as the last 30 days?

Ideally, I'd like users to be able to expand the date range if they want, but when the dashboard first loads, it should automatically show only the last 30 days.

Is it possible?

BigLo_0-1762351104285.png

 

3 ACCEPTED SOLUTIONS
Ahmedx
Super User
Super User

ThomasWeppler
Super User
Super User

Hey BigLo

Here is how you set it to the last 30 days

ThomasWeppler_0-1762354074331.png

 

 

I hope this help. If this solve your problem please accept this as a solution.

View solution in original post

It works.

However, our users typically use a date picker; therefore, I would have preferred a date filter with dynamic selection.

I will use relative dates (with a StartDate/EndDate display) or a custom visualization.

Thank you for your answers

View solution in original post

7 REPLIES 7
v-hashadapu
Community Support
Community Support

Hi @BigLo , Hope you're doing okay! May we know if it worked for you, or are you still experiencing difficulties? Let us know — your feedback can really help others in the same situation.

It works.

However, our users typically use a date picker; therefore, I would have preferred a date filter with dynamic selection.

I will use relative dates (with a StartDate/EndDate display) or a custom visualization.

Thank you for your answers

Hi @BigLo , Thanks for the update and the information. If you have any other queries, always feel free to create a new post. We are always happy to help.

v-hashadapu
Community Support
Community Support

Hi @BigLo , Thank you for reaching out to the Microsoft Community Forum.

 

We find the answers shared by @MasonMA and @ThomasWeppler  are correct. Can you please confirm if the solution worked for you. It will help others with similar issues find the answer easily.

 

Thank you @MasonMA & @ThomasWeppler  for your valuable response.

MasonMA
Community Champion
Community Champion

Hi, 

 

I'd suggest using 'Relative date' if your dynamic range is relative to today. Using a Relative Date slicer always auto-updates in Service.

MasonMA_0-1762354121639.png

 

ThomasWeppler
Super User
Super User

Hey BigLo

Here is how you set it to the last 30 days

ThomasWeppler_0-1762354074331.png

 

 

I hope this help. If this solve your problem please accept this as a solution.

Ahmedx
Super User
Super User

pls try

Screenshot_2.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.