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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
roytap
Helper I
Helper I

How to apply Year slicer value to a visualization filter

Hi,

 

I have a Year slicer with the following value 2018, 2017, 2016 etc.....

 

In my report, there are 4 visualization and 3 of them are based on the year slicer to produce the visualization results. The last visualization is a Matrix with the Year as column field. I want this visualization to show the selected year, year-1 and year-2 data in the Matrix. I cannot multi-select the year in the slicer selection as the other 3 visualizations will show aggregate value of all the selected year if i do so. 

 

How can i call the Year slicer value and perform a filter using the value is equal or less than OR value between to get my desired end result in the Matrix without impacting other visualizations? How can i get the dynamic selected slicer year to be used in my visualization filter?

 

Thanks.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@roytap,

You can create two year slicers to achieve the above reuqirement. Please follow the steps below.

1. Click on the first Year slicer, turn on Edit interactions. Then choose None for the second slicer and for the Matrix visual, choose Filter for the other three visuals.
1.JPG

2. Click on the second Year slicer, choose None for the first year slicer and for the other three visuals, choose filter for the Matrix visual.
2.JPG

This way, select value in the first year slicer to filter the three visuals and select multiple years in the second Year slicer to filter the Matrix visual.

Regards,
Lydia

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@roytap,

You can create two year slicers to achieve the above reuqirement. Please follow the steps below.

1. Click on the first Year slicer, turn on Edit interactions. Then choose None for the second slicer and for the Matrix visual, choose Filter for the other three visuals.
1.JPG

2. Click on the second Year slicer, choose None for the first year slicer and for the other three visuals, choose filter for the Matrix visual.
2.JPG

This way, select value in the first year slicer to filter the three visuals and select multiple years in the second Year slicer to filter the Matrix visual.

Regards,
Lydia

Thanks for the tips. 

 

So i will need to create 2 year filters. This cannot be achieve with using only 1 year filter. This could confuse the user when there are 2 years filter on a single report.

Anonymous
Not applicable

@roytap,

It is not possible to achieve your requirement by using a single year slicer.

Regards,
Lydia

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors