Pivot Table Issues

How to Add a Grand Total Bar to an Excel Pivot Chart in WPS Spreadsheets

Maira MehtabMaira Mehtab Nov 13, 2026 869 views

Question details

The user wants to display a Grand Total bar alongside individual region values in an Excel pivot chart, using a calculated item so the original source data remains unchanged.

Product
WPS Spreadsheets / Microsoft Excel pivot chart
Device & OS
not provided
Scenario
The user has a stacked column or bar chart built from a pivot table with region categories and wants a fourth total category without manually adding rows to the source data.
Observed behavior
The chart currently shows only the individual region series; the pivot table Grand Total is not displayed as a separate bar.
Before you start

Open the workbook in WPS Spreadsheets and make sure the pivot table contains the Region field you want to total. Verify that the chart is linked to that pivot table so a new calculated item is included automatically after a refresh.

Solution 1Recommended

Add the Grand Total as a calculated item in the Region field

Use this if you want the total to appear as a normal category in the pivot chart without altering the source data.

A calculated item creates an extra Region category inside the pivot table. Because it is stored in the pivot cache, the underlying data range stays unchanged, and the chart can display the new item as a fourth stacked column or bar.

1
Select the pivot table

Click any cell inside the pivot table that is feeding the chart.

2
Open the calculated item dialog

Go to PivotTable Analyze > Fields, Items & Sets > Calculated Item. In some WPS Spreadsheets versions this appears under the pivot table's Options or Analyze tab.

3
Create the Grand Total item

In the Insert Calculated Item dialog, set Name to "Grand Total" or "All Regions", enter a formula that adds each region item, such as =North+South+East+West, and click Add, then OK.

4
Disable the automatic grand total

Keep the pivot table selected, open PivotTable Options > Totals & Filters, and clear "Show grand totals for rows" or "Show grand totals for columns" so only the calculated total remains.

5
Refresh and format the chart

Refresh the pivot table, confirm the new "Grand Total" category appears in the chart, then right-click the series and use Format Data Series to give it a distinct color.

Grand Total bar added: The calculated item now appears as a separate bar or stack in the chart and will update when the pivot table is refreshed.

Add a Grand Total Bar to an Excel Pivot Chart with WPS Spreadsheets

WPS Spreadsheets can open Excel workbooks, edit the pivot table, add a calculated Region item, and link it to the chart so the Grand Total appears as a distinct bar without modifying the source data.

  1. 1. Open the workbook: Launch WPS Spreadsheets, click Menu > Open, and select the .xlsx file that contains the pivot table and pivot chart.
  2. 2. Select the pivot table: Click any cell inside the pivot table and open the PivotTable Analyze tab.
  3. 3. Add a calculated Region item: Choose Fields, Items & Sets > Calculated Item, name the item "Grand Total", and enter a formula that sums the region items.
  4. 4. Hide the built-in Grand Total: Open PivotTable Options > Totals & Filters and turn off the automatic row/column grand total so only the calculated item remains.
  5. 5. Refresh and save: Refresh the pivot table, confirm the new bar appears in the chart, and save the file in Excel-compatible .xlsx format.
Adds a total bar directly through the pivot table without editing source recordsFull compatibility with .xlsx and Excel pivot chart filesFree, lightweight Office suite with a familiar ribbon interfaceCalculated items refresh automatically when the pivot table is updatedEasy migration from Microsoft Excel with no file conversion required
microsoft office alternative - wps office

Frequently Asked Questions

Why is the automatic Grand Total not shown as a separate bar in my pivot chart?

Pivot charts normally omit the pivot table's automatic Grand Total as a separate series. You need to add a calculated item in the Region field so the total becomes a normal category in the chart.

Can I add a grand total bar without changing the source data?

Yes. A calculated item works inside the pivot table cache, so the underlying worksheet data is not changed.

Where is Calculated Item in WPS Spreadsheets?

Select a cell in the pivot table, go to PivotTable Analyze > Fields, Items & Sets > Calculated Item. If it is grayed out, make sure you selected the field or heading area rather than a value cell.

How do I remove the duplicate Grand Total after adding my calculated total?

Open PivotTable Options > Totals & Filters and turn off Show grand totals for rows or columns, leaving only your calculated item visible.

Will the chart update when pivot data changes?

Yes. After you refresh the pivot table, the calculated item and the chart series recalculate automatically.