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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dgdgdg122db
Helper II
Helper II

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

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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