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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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