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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
JRBBI
Frequent Visitor

Setting default values - datetime in slicer on Power BI report

G'Day Everyone,

We have struggled to find a method to select the current date in a date time slicer on a Power BI report when the report is first opened.

There does not appear to be a way to do this? Has anyone had any luck in achieving this?

Regards, JRB

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @JRBBI ,

Here is a solution. You can create a calendar table and then create a new column based on the calendar table, as follows

1.create a calendar table(if you have, don't create a new)

Table = CALENDAR(DATE(2022,5,30),TODAY())

2.Then create a column.

slicer = IF([Date]=TODAY(),"Today",FORMAT([Date],"yyyy-mm-dd"))

3.add a slicer and select it to "Today"

vyalanwumsft_0-1656903422244.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

TomMartens
Super User
Super User

Hey @JRBBI ,

 

no wonder that you struggled, it's simple not possible.

There is no way to provide a value that initializes the selection in a slicer.

 

There are some approaches that require additional effort like creating an additional column in your calendar table, that flags the "today" date, then you can use this column to select "today." Following this path requires that the calendar table will be refreshed each day, the report design needs additional slicers, etc.

 

Regards,

Tom  



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Thanks Tom. I am glad that I am not the only one. This is really helpful to know and perhaps something Microsoft may look at going forward. Cheers.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.