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

Set default dates in date slicer range

Hi there, I have a data set with a date range between July 2012 and today (I'm daily refreshing the data set).

I want my users to have a date slicer that shows the full date range (2012 - today) but the default start date should be on the 1st of May 2019 and the default end date should be the newest available data.

4 REPLIES 4
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

1. In Power BI Desktop, set the value of the slicer to the value you want and publish the report to Service.

aaa1.PNG

2. In Power BI Service, the slicer value is now the default value. After you adjust the slicer, you can use the "Reset to default" button to restore the settings.

aaa2.PNG

 

About refresh:

As tested, Even if the date is refreshed daily, the date range on the slicer always stays (5/1 / 2019-today).

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

Refer, if this can help

https://community.powerbi.com/t5/Desktop/Set-TODAY-as-default-date-in-slicer-visual-date-range/td-p/...

https://community.powerbi.com/t5/Desktop/Set-TODAY-as-default-date-in-slicer-visual/td-p/488670

https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?MessageKey=f22c0bf4-...

 

One way is to restrict the calendar to today.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Hi amitchandak, thanks for your reply!

 

I've already seen the second and third link and they don't solve my problem.

The first link refers to a JavaScript solution in case I'd want to embedd my report which is not the case here.

 

Any other hints?

Hi, 

 

I have a same business requirement, set default dates in date slicer range,  I use the way below your post, but the user say still not default date range in his side, I am wondering if you solve this question,  how to solve it, thanks . 

Helpful resources

Announcements
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.