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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.