cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dgdgdg122db
Helper I
Helper I

Set the default end date to today in date range slicer

hi there,

 I want to show the reporting date always from the date 1/1/2020 to "Today" by default. how can I set the end date to today by default?

aPicture1.png

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @dgdgdg122db ,

 

You can add a visual level filter on the slicer:

 

Measure = IF(MAX('Table'[Date])<=TODAY(),1,0)

 

Capture15.PNG

 

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

 

Best Regards,

Dedmon Dai

View solution in original post

1 REPLY 1
v-deddai1-msft
Community Support
Community Support

Hi @dgdgdg122db ,

 

You can add a visual level filter on the slicer:

 

Measure = IF(MAX('Table'[Date])<=TODAY(),1,0)

 

Capture15.PNG

 

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

 

Best Regards,

Dedmon Dai

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!