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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.