cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vince85
Frequent Visitor

Date Range Filter on Visual - Dynamic Change

Hi to all,

this is my first post 🙂

I've searched for this problem in the forum but I couldn't find the solution.

 

I have a report with a date range filter.

This filter, by default, has the start date and end date set to min and max date, for showing the entire data range of the column that it filters.

 

Is there a method or a trick for showing a default range depending on today's date?

 

Real example:

this is what the filter shows by deafult:

1. Capture.JPG

 

I want that it shows the entire filter, but with this year "pre-selected" (not removing other dates) :

2. Capture.JPG

 

Plus: on the 01/06/XXXX, it should change as "from 01/06/XXXX to 01/06/XXXX+1", like:

3. Capture.JPG

 

Thank you in advice!

Cheers.

Vincenzo Giannella.

4 REPLIES 4
tpalus
New Member

Hi @Vince85,

 

Did you find some solution? I have same issue. 

Hi @tpalus ,

I'm sorry, but i didn't find a solution.

I have a reminder on my calendar, and every six months I must change the default dates manually 😞

Vince85
Frequent Visitor

Hi @amitchandak ,

thank you for your answer.

 

Unfortunately this is not what I need.

My Company wants that every six months the report mantains this filter, with all the dates available, but pre-set on the six months after, because it is the most common case of use of the report.

 

For now, I set my Outlook calendar for warning me every 1st January and 1st June, and I should open the report, set the date for the six months after and re-publish it.

 

I'd like to avoid/get around of doing this.

 

Thank you!

amitchandak
Super User
Super User

@Vince85 , Based on what I got.

There is not way to initialize a slicer based on function

You can have column like this and select today

Is Today = if('Date'[Date]=TODAY(),"Today",[Date]&"")

 

Check this video : https://www.youtube.com/watch?v=hfn05preQYA

 

You can suggest a new idea or vote for existing one https://ideas.powerbi.com/ideas/

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors