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
Sean2
Helper I
Helper I

Slicer for fixed date periods

Hello. I'm looking to make a slicer that has a list of specific date ranges. Instead of the regular year hiarachy like this (Jan 1st - Dec 31st)

Year

  •  2024
  •  2023
  •  2022

I'm trying to get a list I can use to filter all my visuals based on non calendar years. So each choice would start July 1st going through June 30th of the next year (or maybe just Sept - April) . Something like this

Snow Season

  • 2023-2024 Season
  • 2022-2023 Season
  • 2021-2022 Season

I have been playing around with the DATESBETWEEN formula but it's not getting me what I want.

 

Thanks for any ideas you might have!

 

 

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@Sean2 

You could add a column like this to your calendar table.

 

Snow Season =
IF (
    MONTH ( [Date] ) >= 7,
    YEAR ( [Date] ) & "-" & YEAR ( [Date] ) + 1 & " Season",
    YEAR ( [Date] ) - 1 & "-" & YEAR ( [Date] ) & " Season"
)

 

You can see, on July 1st it flips to the new year. 

jdbuchanan71_0-1707159812399.png

 

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

@Sean2 

You could add a column like this to your calendar table.

 

Snow Season =
IF (
    MONTH ( [Date] ) >= 7,
    YEAR ( [Date] ) & "-" & YEAR ( [Date] ) + 1 & " Season",
    YEAR ( [Date] ) - 1 & "-" & YEAR ( [Date] ) & " Season"
)

 

You can see, on July 1st it flips to the new year. 

jdbuchanan71_0-1707159812399.png

 

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.

Top Solution Authors
Top Kudoed Authors