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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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

3 REPLIES 3
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

 

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.