cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular 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
Highlighted
Community Champion
Community Champion

Re: dynamic date slicer

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Power BI Desktop August 2020 Update

Power BI Desktop August 2020 Update

We have great updates this month! Click the link for the video with more info.