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
Anonymous
Not applicable

Dynamic filter for current month

Hello everyone,
I would like to know if there is any way to create a dynamic page filter so that whenever someone opens my PowerBI web dashboard, all the charts automatically adapt to the current month's data?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

yeah, 

 

Drag your date to the Filters on to the all pages filters. 

 

change to relative date> Show items when the values is in this month 

 

Karlos_0-1595594688800.png

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

yeah, 

 

Drag your date to the Filters on to the all pages filters. 

 

change to relative date> Show items when the values is in this month 

 

Karlos_0-1595594688800.png

 

Do I understand correctly that this solution would work only with Direct Query?

amitchandak
Super User
Super User

@Anonymous , have a column like this in your date table

Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)

 

Select this month and save,

 

make sure is sorted on a column like

Format([Date],"YYYYMM")

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Yes, add a calculated column to your table:

IsCurrentMonth = 
    IF (
        YEAR ( Table1[Create Date] ) = YEAR ( TODAY () )
            && MONTH ( Table1[Create Date] ) = MONTH ( TODAY () ),
        "Yes",
        "No"
    )

Then use this column as a page level filter: where IsCurrentMonth = "Yes" 

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.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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