I'm trying to build a chart within google sheets to compare my portfolio contributions vs yearly allowed maximum limits. My data looks like the below. I'm not sure which chart to make use of to visualize this information. I would like to generate a chart that lets me compare these two values each year and each account. I'm okay to filter on year on the chart. Can you please help get me started building the right type of chart?
- The first column is account type
- Then each year will be a column which will be split into two Max vs Current.
- Each Row will be an account type followed by actual values
I would like to be able to filter on the year and display data only for that particular year. I don't need comparison between years. I only want to compare max vs current values for each account type under one year.
I've further simplified my data table a bit and am able to accomplish my requirements using a bar chart. I now want to understand how to use filters/slicers to populate chart based on the year selected.
This is how my updated table looks like
The chart works fine when I filter for 2022. However, when I filter for 2023 data, there is nothing. How do I make my chart dynamic depending on the values I select on slicer?