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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
juanvelez
New Member

Line and Clustered Column Chart Filtering

Hello,

 

I have a line and column clustered chart which displays data for 3 separate years and also a slicer that filters the data per year. The problem I'm having is that when I filter the data for a specific year my chart shows me the 3 years but only the data of the one that I filtered. What I want is for the chart to filter also the axis that shows the years, so that it only shows the year that I filtered.

 

I would really much appreciate if someone could help me.

 

Thankpower bi 2.PNGpower bi 1.PNG

1 REPLY 1
Anonymous
Not applicable

@juanvelez,

Is the date field of the slicer same as that you put in x-axis of the chart? If yes, when you select values in the date slicer, the chart will be filtered to show relevant years.

However, if you use different date fields of different tables to create the slicer and the chart, make sure that proper relationship has been established in the two tables. Otherwise, the chart will not filtered correctly.

We will appreciate that if you can share us PBIX file.

Regards,
Lydia

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.