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

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

Reply
ninoyquinita
New Member

Date Slicer Range using Between

Hi Everyone,

 

First time here. Just need your help if someone of you did the date range with the sample below.

 

Using Slicer Type "Between"

 

When selecting start date "07/15/2019", end date will automatically add 30 days from the selected start date.

 

So Start Date = "07/15/2019" -  End Date = "08/14/2019"

 

Thank you in advance.

3 REPLIES 3
MattAllington
Community Champion
Community Champion

Are you saying it does do this already, or are you saying you want it to behave this way?  Also, do you want the user to be able to change the default period from 30 days?



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Yes, I want it on that way. If it is possible that the user can change the default period from 30 days - that would be better. But for now, We are looking for something that when the user select the first date on the Date Slicer, end date will automatically add 30 days.

You can't automatically set a between slider to do this.  How many measures do you have?  Conceptually you could use a list slicer for date, a what if slicer for period (set to 30 days default) and write a measure that will automatically apply 30 days.  You could change the what if slicer to the number of days you want.  But this approach requires you to write a measure that will look at the slicer and grab the date and number of days. If you have lots of measures, they will all need editing.



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Users online (3,619)