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
TDouglassAFG
Frequent Visitor

dynamic date slicer

Hi,

 

I have created a date slicer that defaults to the date range of my date table; however I want to be able to start the start date to the beginning of a month ago (or 30 days ago) and my to date to be out 180 days.

 

Does anyone have any suggestions/links on this?  

1 REPLY 1
lbendlin
Super User
Super User

What you want is not a dynamic date slicer but a static date slicer - you want the dates to always be governed by the same calculation. I believe there are a couple of open ideas for this feature - go vote for them.

 

Do you actually need the date slicer?  You can calculate your date range in a calculated column, for example you can add a flag into your dates/calendar table that identifies the dates you want included. And then you can use that flag to drive the slicer, or the actual data display filter.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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