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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
FrailHumanity
Frequent Visitor

Last 2 years based on selected month and year - filtering

Hi,

 

I'd like to filter the last 2 years based on selected year and month slicer. 

 

For example: if I select May - 2023, then I should get data from January 2021 - May 2023.

                     if I select April - 2024, then I should get data from January 2022 - April 2024

 

How can this be achieved? 

8 REPLIES 8
Ahmedx
Super User
Super User

Thanks for trying, can't access this link either.

Ahmedx
Super User
Super User

Nope, sorry doesn't work.

Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

https://1drv.ms/u/s!AiUZ0Ws7G26RiCP_6hmqArVxIkIW?e=LtA8Dn

 

Sorry but i can't see the pbix file attached.

there is a link, click on it

Apologies, my company VPN blocks me from that link. Could you please attach it here?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.