No: in Excel for Microsoft 365, a slicer filters the data shown in a PivotChart, but it does not automatically change the chart’s type. A column PivotChart remains a column chart as you click slicer buttons; the bars, categories, series, and scale may change because the filtered data changes.
What a slicer actually controls
A slicer is a visual filter for a PivotTable or PivotChart. Clicking a button such as East, West, or North tells the connected PivotTable to show records matching that choice. A PivotChart connected to that PivotTable then reflects the filtered results. The slicer controls which data is included, not how Excel draws that data.
For example, suppose a PivotTable summarizes monthly sales by product and a slicer filters by region. Choosing West changes the values and categories available to the chart. It does not instruct Excel to replace a column chart with a line chart, or a line chart with a pie chart. The chart type is a separate setting.
This distinction helps explain why a chart can look very different after a slicer click without its underlying type having changed. A series may disappear, the number of visible columns may shrink, or the vertical axis may rescale. Those are consequences of filtering and chart formatting, not automatic chart-type selection.
Why the chart can look different after filtering
PivotCharts are tied to the summary layout of a PivotTable. When the slicer changes that layout’s values, Excel redraws the same chart type using the data that remains. A chart with several series may have fewer series after filtering, and a category that has no matching records may no longer appear. The result can look more sparse or visually unbalanced.
Axis scaling is another common source of confusion. If Excel is using automatic axis bounds, it may adjust the minimum or maximum to suit the filtered values. A column chart can therefore look as though its proportions have changed substantially. The chart is still a column chart, but its scale and data are different.
Other details can shift too: labels may be reordered, totals may change, and a chart with many categories may become easier to read when a slicer narrows the selection. If the PivotTable is configured to show items with no data, some categories may remain visible as empty positions. These display effects depend on the PivotTable layout and chart settings.
How to check or change the chart type
To verify the current type in Excel for Microsoft 365 on Windows, select the PivotChart and open Chart Design > Change Chart Type. Excel shows the chart type assigned to the selected chart. You can choose another supported type there and confirm the change. Afterward, slicer selections continue to filter the chart, but the new type remains in use.
Changing the chart type does not change the source records or the PivotTable’s summary calculations. It changes the visual representation of the chart. If the result becomes hard to interpret, use the same command to choose a more suitable type or undo the change with Ctrl+Z. On Mac, the Chart Design tab and chart-type controls are also available, although ribbon presentation and some labels can vary by Excel version.
Before selecting a new type, consider what the chart is meant to communicate:
- Use columns or bars to compare values across categories, such as sales by product.
- Use a line chart when the horizontal categories form a meaningful sequence, such as months or years.
- Use a pie chart only for a small number of parts that make up one whole; it becomes difficult to compare many slices.
- Use an area chart cautiously, since filled areas can make comparisons between several series less clear.
Some chart features have restrictions when used with PivotCharts. In particular, Excel does not support creating a combo chart directly as a PivotChart. If you need one series as columns and another as a line, a regular chart based on a suitable range or helper table is often a better route.
Connecting slicers to PivotCharts
A slicer only affects the PivotTables and PivotCharts to which it is connected. To check the connections, select the slicer and use Slicer > Report Connections in Excel for Windows. The dialog lists compatible PivotTables that the slicer can control. Select the reports you want, then confirm. Depending on the workbook and Excel build, the tab may be labeled Slicer or Slicer Tools.
If a chart does not respond, it may be connected to a different PivotTable, or the PivotTables may not share a compatible PivotTable cache. PivotTables created separately from the same source can still have different caches. In that case, the slicer’s Report Connections list may not include every report you expect. Rebuilding the reports from a common PivotTable or data model setup may be necessary.
Also distinguish a slicer from a chart filter. A slicer is a separate control that can filter one or more connected reports. A chart’s filter controls, where available, change which categories or series the chart displays. Neither control is designed to select a different chart type based on the selected value.
Can Excel switch chart types automatically?
Not through the normal slicer settings. Excel’s built-in slicer options do not provide a rule such as “show a line chart when Year is selected and a column chart when Region is selected.” A slicer filters data; it does not act as a condition for changing chart formatting.
It is possible to automate a chart-type change with VBA, but that requires custom workbook logic. A macro can respond when a PivotTable updates, inspect the relevant selection or filtered result, and assign a different chart type. This needs careful design: multiple slicer selections, cleared filters, renamed fields, and updates to other PivotTables can all affect the intended behavior. The workbook must be saved in a macro-enabled format, and users must allow macros for the automation to run.
Macros cannot be undone with Ctrl+Z, so save a separate copy before running or editing VBA. If the goal is only to let readers choose among visualizations, a simpler and more dependable option is often to provide separate charts or report views and explain how to select them, rather than having a macro rewrite a chart type behind the scenes.
Practical alternatives for different views
If one chart type is not suitable for every slicer selection, first ask whether the chart is trying to answer more than one question. A line chart may work well for monthly trends but poorly for comparing a few regions. Separate views can make the purpose clearer than switching types in response to a filter.
- Keep one chart type: Choose a type that remains readable for all expected selections. Test the broadest selection and the smallest one.
- Create separate PivotCharts: Make one chart for trends and another for category comparisons. A slicer can control both if they are connected to compatible PivotTables.
- Use a regular chart: If you need a combo chart or more control over series, build a regular chart from a helper range that reflects the report’s current data. This setup may require additional formulas or maintenance.
- Offer separate report sheets: Put different chart styles on clearly labeled sheets when each view serves a distinct purpose. This avoids implying that a slicer is changing the chart’s meaning.
Having two charts connected to the same slicer does not make Excel show only one of them automatically. Both charts will generally update with the filtered data. Hiding one chart conditionally requires another mechanism, such as VBA, or a deliberate workbook design that asks the reader to navigate to the relevant view.
Common problems and how to diagnose them
If the chart seems to change type, select it and inspect Chart Design > Change Chart Type. This is the quickest way to separate a genuine type change from a change in the plotted data. If the assigned type is unchanged, examine the PivotTable’s row, column, and value fields, then check which slicer items are selected.
If the chart disappears or becomes blank, check whether the current slicer selection leaves any values to plot. Confirm that the slicer is connected to the expected PivotTable through Report Connections, and check whether the PivotTable has refreshed from its source. A blank chart can also result from hidden rows or columns if the chart is configured not to plot hidden data.
If the chart’s categories or series appear in an unexpected arrangement, review the PivotTable field placement. Fields in Rows and Columns determine the chart’s categories and series, while fields in Values provide the plotted measures. Moving a field can change the chart’s structure even though the chart type remains fixed.
Finally, consider whether multiple slicers are active. A region slicer and a year slicer together filter the report more narrowly than either one alone. Use the clear-filter button on a slicer to remove its selection, then test one control at a time. This can reveal whether the confusing appearance comes from a filter combination rather than a chart setting.
Frequently Asked Questions
Can a slicer change a PivotChart from a column chart to a line chart?
No. A slicer filters the data displayed in the PivotChart but does not choose a new chart type. You can change the type manually with Chart Design > Change Chart Type, or create custom VBA automation.
Why does my PivotChart look different when I click a slicer?
The filtered data may contain fewer categories or series, and Excel may adjust the axis scale. Those changes affect the chart’s appearance without changing its assigned chart type.
Will changing the chart type stop the slicer from working?
Usually not. Changing a supported PivotChart type affects its presentation, while the slicer continues filtering the connected PivotTable and chart. Some chart types and features have PivotChart-specific limitations.
Can one slicer control more than one PivotChart?
Yes, if the charts are based on PivotTables that the slicer can connect to. Select the slicer, open Slicer > Report Connections, and select the compatible reports you want it to control.
Can a PivotChart be a combo chart?
Excel does not support creating a combo chart directly as a PivotChart. For a combination such as columns plus a line, use a regular chart based on a suitable range or helper table.
Related
- Excel Page Break Not Moving? Causes and Fixes
- Excel Page Break Keyboard Shortcut and How to Use It
- Excel Page Break Lines: How to View and Remove Them
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Excel Bar Graph Conditional Formatting: Color by RulesExcel does not apply worksheet conditional formatting rules directly to the bars in a chart. To make bar…
- Excel Combo Chart: Change a Bar to a LineTo change one bar or column series to a line in an Excel combo chart, select the chart,…
- P Chart in Excel: Build Control Limits and Read ResultsTo make a p chart in Excel, calculate each subgroup’s fraction nonconforming, find the overall fraction and three-sigma…
- Line Balancing Chart in Excel: Build One Step by StepA line balancing chart in Excel compares the work assigned to each station with a target cycle time,…
- Half-Circle Charts in Excel: Create a Semi-DoughnutExcel does not have a dedicated half-circle chart button, but you can make one with a doughnut chart:…
- Column Chart in Excel: How to Create and Format OneA column chart in Excel displays values as vertical bars, making it easy to compare categories or track…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.