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
ThomasWeppler
Super User
Super User

How do I set a defualt date for a date slicer

Hi Power BI community

How do I set a default date for a date slicer?

ThomasWeppler_0-1724936497559.png

I want my date slicer to always start at the first date of the year.
I can ofcause choose the date 01/01/2024 but than I will have to change the date and upload the repport again every year, so I want to know if there is another way to do it. 🙂

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@ThomasWeppler , Currently there is no direct way but you can try using bookmarks

In your date table, create a calculated column that identifies the first date of the year for each date. You can use the following DAX formula:
DAX
FirstDateOfYear = DATE(YEAR([Date]), 1, 1)
Create a Measure for the Default Date:
Create a measure that calculates the first date of the current year. This measure will dynamically update each year:
DefaultDate = DATE(YEAR(TODAY()), 1, 1)


Set the Default Date in the Slicer:

Add the date field to the slicer.
Use the measure DefaultDate to set the slicer's default value.

 

 

Instead of a standard date slicer, use a relative date slicer.
Set the relative date slicer to show dates in the "This Year" range. This will automatically adjust to the current year without needing manual updates.
Using Bookmarks:

Set the slicer to the desired default date (e.g., 01/01/2024).
Create a bookmark with this slicer setting.
Use this bookmark to reset the slicer to the default date whenever needed.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

1 REPLY 1
bhanu_gautam
Super User
Super User

@ThomasWeppler , Currently there is no direct way but you can try using bookmarks

In your date table, create a calculated column that identifies the first date of the year for each date. You can use the following DAX formula:
DAX
FirstDateOfYear = DATE(YEAR([Date]), 1, 1)
Create a Measure for the Default Date:
Create a measure that calculates the first date of the current year. This measure will dynamically update each year:
DefaultDate = DATE(YEAR(TODAY()), 1, 1)


Set the Default Date in the Slicer:

Add the date field to the slicer.
Use the measure DefaultDate to set the slicer's default value.

 

 

Instead of a standard date slicer, use a relative date slicer.
Set the relative date slicer to show dates in the "This Year" range. This will automatically adjust to the current year without needing manual updates.
Using Bookmarks:

Set the slicer to the desired default date (e.g., 01/01/2024).
Create a bookmark with this slicer setting.
Use this bookmark to reset the slicer to the default date whenever needed.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors