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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to create a multi year slicer?

Hello 

Here is the problem MY23 data is showing up with the below DAX Query but MY22 data is not showing up.

Current Market Year = IF('Market Year Dates'[Current Month]>=10,'Market Year Dates'[Current Year]+1,'Market Year Dates'[Current Year]
 
I am not quiet sure why please let me know why only one is showing at a time. 
 
Thank youmy.png
5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

I think you need to select "None" on MY22 Card visual to remove the filter from Slicer1. In my Sample, I can reproduce your issue. Here I use "Filter" on MY22 Card visual.

RicoZhou_0-1671088921665.png

If I select "None" on MY22 Card visual, it works.

RicoZhou_1-1671089117810.png

For reference: Change how visuals interact in a report - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Ashish_Mathur
Super User
Super User

Hi,

It looks like the Market Year runs from October to September.  Am i correct?  Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hello Ashish,

 

Yes that is correct. I am looking for a dax logic to allow access to MY22, MY23 and so on. Right now with my current logic I am only able to see 1 year of data. 

Current MY  = IF('Market Year Dates'[Current Month]>=10,'Market Year Dates'[Current Year]+1,'Market Year Dates'[Current Year])

As requested earlier, share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Yes that is correct.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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