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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Show only current year and last year at the column of matrix

Hi, 

 

I only want to show the latest two years, depending on the slicer, on the column of a matrix table. Let's Capture.PNG

 

as of now, all previous years were showing. what i want is that when i choose 2018 on the sliceer it will only show 2018 and 2017. if 2019, then show 2019 and 2018 only.

 

thank you 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

See if my solution here helps - Flex a Pivot Table to show data for x months ended a certain user defined month.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

I'm afraid other visuals will be filtered by what has been selected in the slicer. So when you selected one year in a slicer, other visuals will be only filtered by one year.

 

Community Support Team _ Jimmy Tao

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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