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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
alby696
New Member

Filter Date Dinamically

Hello everyone,

 

Like every year, at the beginning of the year I have to go back through all the reports to change the default display date on the bookmarks.
I wanted to know if by chance there is a script that allows you not to do this, i.e. from the current date, it extracts the year and if necessary also the quarter so that the filter can be set automatically.

 

Es.

Date 01/01/2023

Screenshot 2023-01-10 alle 09.01.19.png

Date 15/11/2022

Screenshot 2023-01-10 alle 09.01.33.png

 

Date 20/08/2023

Screenshot 2023-01-10 alle 09.01.49.png

 

Es. Full year

Screenshot 2023-01-10 alle 09.02.14.png

 

Thanks

alby696

1 REPLY 1
Anonymous
Not applicable

HI @alby696,

AFAIK, current power bi does not support dynamic setting slicer values. You can create a measure formula to compare with current system date and apply filter on ‘visual level filter’(this saved filter effect will dynamically change when system date changed) but not able to dynamic change the slicer selections.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors