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
guruprasathb
Regular Visitor

Display current date in date slicer starting date

Hi,

 

I have requirement to display current date (Today ()) in date slicer filter. Basically my requirement is display current date as start date in slicer.

 

Thanks,

Guru

6 REPLIES 6
erinn_mitchell
Advocate I
Advocate I

Hello!

 

I know this was 2 months ago but came across this while searching for something else. If you hover over the slicer header, click the carrot, and then select "Relative". This date slicer type allows you to specificy "Last 1 day" or "Last 1 week" as shown below so that the default date is dynamic.

Power BI pic.PNG

 

Hope this helps!

Anonymous
Not applicable

Hi You just need today in slicer? Create a column with the below DAX and create a slicer based on this.

 

Today Column= TODAY()

 

I think you may need more on top of this, if so please share details.

 

Thanks
Raj

Thanks for quick response. If I do that then I am unable to scroll (Move) the slicer. 

 

Default values to be set when the report loads first time. 

 

Thanks,

Guru

Anonymous
Not applicable

Yes, TODAY () represnents just today, so you will have just one day in the slicer and hence you dont have the scroll option.

 

Could you please explain your requirement in detail? If posible with sample data/ snapshot.

 

Thanks
Raj

I have Calculated table created for Dates (From 1st of Jan 2000 to 31st of Dec 2018). It is perfectly working fine with the datasets.

 

Business user wants to set the default dates for the slicer whenever the dashboard opens.

 

Say for example:

If the report opens today, then FromDate in the slicer is 9-Aug-2018 & ToDate is 31st Dec 2018.

If the dashboard viewed tomorrow then FromDate in the slicer is 10-Aug-2018 & ToDate is 31st Dec 2018.

 

Right now, the challenge is I can't able to set the DEFAULT value for date slicer. Hope it is clear. Kindly let me know if there is any workaround. Thanks in Advance.

@guruprasathb,

It is not possible to set default date in slicer as you describe. There are some ideas about this issue, please vote them up.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/19055692-slicer-default-selected-...
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-o...

Regards,
Lydia

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

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.