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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
sjpaq
Helper I
Helper I

As Power BI dashboard loads apply a date filter

I want to apply a date filter by default when my PowerBI dashboard loads.

 

To Date = previous month's end date

FromDate = 12 months before ToDate

 

So, if today is Feb 2, 2024

 

From Date = Feb 1, 2023

To Date = Jan 31, 2024

 

1 ACCEPTED SOLUTION

@sjpaq , select months (calendar) instead of months.

 

Idrissshatila_0-1706908927468.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

3 REPLIES 3
sjpaq
Helper I
Helper I

So, that is great and I assume that I keep that slicer on a hidden page so that the users don't see it.

 

The only issue is that I want the last 12 full months. So right now in early february I want to go up to Jan 31. I want no Feb data until we are in March.

@sjpaq , select months (calendar) instead of months.

 

Idrissshatila_0-1706908927468.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Idrissshatila
Super User
Super User

Hello @sjpaq ,

 

yes you can do ths, check the following:

 

first you add the date to a slicer, then in the format visual  you click on slicer settings => option => relative Date

Idrissshatila_0-1706900300390.png

 

 

then what you do is select last and you set the number then the interval which now in your case last 12 months

Idrissshatila_1-1706900326068.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.