Chart & Visualization Issues

How to Prevent Excel Combo Charts from Losing the Secondary Axis

Bushra ParveenBushra Parveen Oct 26, 2026 869 views

Question details

The user wants to prevent an Excel Combo Chart or Pareto PivotChart from dropping its secondary axis when a slicer filters out data categories.

How to Prevent Excel Combo Charts from Losing the Secondary Axis
Product
Excel
Device & OS
not provided
Scenario
Filtering data in a Pareto PivotChart or Combo Chart using a slicer to analyze specific categories.
Observed behavior
When a slicer selects a category containing no values, the secondary axis disappears from the chart and must be manually restored via the Change Chart Type menu.
Before you start

Verify your source data and chart configuration to ensure that the categories being filtered actually exist in the dataset, even if their corresponding values are currently zero.

Solution 1Recommended

Force PivotTable to Show Items with No Data

Prevent the slicer from completely hiding a category by forcing the PivotTable to display items even when they contain no data.

By default, Excel PivotTables hide categories that have no data. When a slicer filters out the only data points on a secondary axis, the chart automatically removes the axis. Changing the field settings to show empty items keeps the axis anchored.

1
Access Field Settings

Right-click on any row or column field within your PivotTable and select 'Field Settings' from the context menu.

2
Modify Layout Options

In the Field Settings dialog box, navigate to the 'Layout & Print' tab.

3
Enable Empty Items

Check the box next to 'Show items with no data' and click 'OK'.

4
Test the Slicer

Use your slicer to filter the categories again. The secondary axis should now remain visible even if the selected category contains zero values.

Force PivotTable to Show Items with No Data
Formatting Retained: This method also helps retain custom formatting and colors assigned to specific data series that might otherwise reset when data reappears.
Free Microsoft Office alternative

Try WPS Office for Stable Data Visualization

If you are tired of Excel charts losing their formatting or axes due to application quirks, consider switching to WPS Office. It provides a free, highly compatible alternative for handling PivotTables, Combo Charts, and complex data visualizations without the hassle.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
  2. 2. Open Your Workbook: Launch WPS Spreadsheet and open your existing .xlsx file containing the PivotTable and Combo Chart.
  3. 3. Analyze Data Seamlessly: Continue using slicers and PivotCharts with confidence, enjoying stable formatting and high MS Office compatibility.
Free and lightweight office suite for everyday useHigh compatibility with Microsoft Excel (.xlsx) formatsStable rendering of combo charts and secondary axesFamiliar user interface for a seamless migration experience
microsoft office alternative - wps office

Frequently Asked Questions

Why does my secondary axis disappear in Excel Combo Charts?

This happens when a slicer or filter completely removes all data associated with the series mapped to the secondary axis. Excel automatically hides the axis because it detects no data values to plot against it.

How do I manually restore a missing secondary axis?

Select your chart, navigate to the 'Chart Design' tab, click 'Change Chart Type', select 'Combo', and re-check the 'Secondary Axis' box next to the relevant data series.

Can I lock chart formatting when using slicers?

While you cannot prevent an axis from dropping if its data is entirely removed, you can stop the overall chart from resizing by right-clicking the chart area, selecting 'Format Chart Area', navigating to 'Properties', and choosing 'Don't move or size with cells'.

Does showing items with no data affect PivotTable performance?

In small to medium datasets, the performance impact is negligible. However, in very large datasets with thousands of unique empty categories, enabling 'Show items with no data' may slightly increase memory usage and clutter the PivotTable layout.