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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.