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

View all the Fabric Data Days sessions on demand. View schedule

Reply
sbeeram
New Member

Date slicer with "between" option - Should default dates to last 90 days

Hi

I have date dimension table and is linked to main data table with date. My client wants date slicer to be "between", but default dates to last 90 days e.g. if today is 09/03/2020, then date slicer should display 06/03/2020 to 09/03/2020. The slicer should automatically roll every day when the report is refreshed.

I know that "relative date" works, but it won't let the users to select random dates. Tried to place two date filters on a single page, one with 90 days filter and other for random date search, but the 90 days filter interfers with radom date slicer. 

I used DAX filter by calculating "last 90 days", but that limits users. It will not allow users to select random dates. 

This should be simple, but somehow it is not straightforward or is there some other way to do?

Please guide me.

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@sbeeram - I do not know how you satisfy your requirement where you would default to the last 90 days but the user could override that unless you did some things directly in your measures to default to the 90 days but that gets overridden based on some condition, like the maximum date chosen is < TODAY() or the minimum date chosen is > or < TODAY() - 90.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@sbeeram , refer if this can help

https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-3...

 

I doubt you will able to default the slicer like that.

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.