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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
willz06jw
Helper II
Helper II

How to create date range buttons that select last 12 m, FYTD, last month

Hi and thanks for reading,

 

How can I create three single-click selectors (slicer?) that filter the date range on my report by last 12 months, current fiscal year to date and last month?

 

Thank you!

Will

1 ACCEPTED SOLUTION
Anonymous
Not applicable

If you add a date field to a slicer, you can turn on relative date filtering after you add a field with dates to the slicer using the little arrow. You can choose to have it show the last 12 months based on today. You'd then add another slicer with the same date field and turn on relative date filtering again and then choose "Days" and put 30. As far as the fiscal year, that requires additional programming and there are a whole bunch of topics on that if you do a search. 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

If you add a date field to a slicer, you can turn on relative date filtering after you add a field with dates to the slicer using the little arrow. You can choose to have it show the last 12 months based on today. You'd then add another slicer with the same date field and turn on relative date filtering again and then choose "Days" and put 30. As far as the fiscal year, that requires additional programming and there are a whole bunch of topics on that if you do a search. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.