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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Ohana2410
Frequent Visitor

dynamic end date as default in a between date slicer

Hi everyone, 

is it possible to set a dynamic fixed end date as default in a between date slicer?

I would like the previous day of today to always be displayed as the default end date.

 

Just tested few things, but nothing seems to work. 

 

Screenshot 2024-05-30 085956.png

 

The below slicer must always show the same day like the upper slicer but in the previous year.

 

Any ideas?

 

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @amitchandak ,

Thanks for the quick response.

Hi @Ohana2410 ,

I have created a simple sample, please refer to.

Measure = var _1= TODAY()-1
return
IF(MAX('Table'[Date])<=_1,1,BLANK())

vrongtiepmsft_0-1717122555900.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

 

 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @amitchandak ,

Thanks for the quick response.

Hi @Ohana2410 ,

I have created a simple sample, please refer to.

Measure = var _1= TODAY()-1
return
IF(MAX('Table'[Date])<=_1,1,BLANK())

vrongtiepmsft_0-1717122555900.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

 

 

 

Thanks for your support, but unfortunately it doesn't work out for the below date slicer. 
Is it possible, that there isn't an option to solve this issue?

amitchandak
Super User
Super User

@Ohana2410 , As of now, we can set default value for between date slicer.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hey, I guess you meant "can't" don't you? 
kind rgds

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.