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
PorterHaus
Frequent Visitor

Filter current year and previous years

I have a column chart which I want to always show values for the current year and previous 3 years. To do this, I used the Year in the visual level filter and set it to the Top N filter type and showing the top 4 items. However, this chart is on a page with other charts that need to be filtered by the current year. Is there a way for me to use a page filter for year and have this specific chart always show the selected year and previous 3 years but the other charts only show the selected year?

 

Visual Level FilterVisual Level Filter

Any help is greatly appreciated - thank you in advance!

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

I am not sure of how much i can help but i'd like to try something.  Can you share the link from where i can download your file.  Also, let me exactly which visual do you want to show 4 years of data.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-yulgu-msft
Employee
Employee

Hi @PorterHaus,

 

Page level filter will affect all visuals existing on current page. While a visual level filter only apply filter to a specific visual. If you set both page level filter and visual level filter, the former one works like a parent filter, the latter one looks like a sub filter. In other words, if you have set page level filter to current year, all visuals show value under current year. It is not possible to add records in additional years for a specific visual.

 

Based on this scenario, you have cofigure visual level filter separately for each visual.

 

Best regards,
Yuliana Gu

 

Community Support Team _ Yuliana Gu
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.