How to Prevent Excel Combo Charts from Losing the Secondary Axis
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.

- 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.
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.
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.
Right-click on any row or column field within your PivotTable and select 'Field Settings' from the context menu.
In the Field Settings dialog box, navigate to the 'Layout & Print' tab.
Check the box next to 'Show items with no data' and click 'OK'.
Use your slicer to filter the categories again. The secondary axis should now remain visible even if the selected category contains zero values.

Replace Blank Cells with Zeros in Source Data
Ensure that empty data points are read as numerical zeros instead of null values to help maintain chart structure.
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. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open Your Workbook: Launch WPS Spreadsheet and open your existing .xlsx file containing the PivotTable and Combo Chart.
- 3. Analyze Data Seamlessly: Continue using slicers and PivotCharts with confidence, enjoying stable formatting and high MS Office compatibility.

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.




