Fix a Power Pivot Measure That Does Not Sum in an Excel PivotTable
Question details
A user needs a Power Pivot measure to produce the expected total in an Excel PivotTable.

- Product
- Microsoft Excel Power Pivot
- Device & OS
- not provided
- Scenario
- A measure is placed in the PivotTable Values area, and the user wants its total to reflect the intended aggregation.
- Observed behavior
- The measure displays values, but the total is not as expected, and the Value Field Settings summarization options are disabled.
Identify the affected measure and the field used for the PivotTable rows. Check whether the PivotTable uses the workbook's Data Model or another OLAP data source, since the measure formula controls how its values are calculated.
Review the Measure Formula and PivotTable Filter Context
Use this approach to determine why the measure returns an unexpected total before changing its calculation.
A measure is recalculated in the filter context of each cell. The grand total can therefore differ from the sum of the displayed rows, even when each row value looks correct.
For Data Model or OLAP measures, Summarize Values By options may be unavailable because the measure definition determines the aggregation.
In Excel, select Power Pivot > Measures > Manage Measures, select the affected measure, and open its definition for editing.
Review the DAX formula for aggregation, filters, and conditions that could behave differently at the grand-total level. Also check relevant table relationships in Power Pivot > Manage.
Select the PivotTable and open PivotTable Analyze > Change Data Source to inspect its source. If it uses an external OLAP connection, the measure may need to be reviewed in the source model rather than edited in the workbook.
In the PivotTable Fields pane, adjust the Rows and Filters fields to compare individual values with the grand total. Refresh the PivotTable from PivotTable Analyze > Refresh after making any model changes.

Create a Measure That Sums Results at the Intended Row Level
Use a DAX iterator when the desired total is the sum of measure results calculated for each distinct row-level item.
Work With Excel Spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface for opening and editing Excel files. It supports common Excel formats for easier migration, but it does not repair Excel Power Pivot measures, and Data Model features may not work the same way.

Frequently Asked Questions
Why doesn't the grand total equal the sum of the PivotTable rows?
Power Pivot recalculates a measure in the grand total's filter context rather than automatically adding the displayed results. Review the DAX formula in Power Pivot > Measures > Manage Measures to see how it behaves at that level.
Why is Summarize Values By disabled for my measure?
A Data Model or OLAP measure has its calculation defined in the model, so the usual PivotTable aggregation choices may be unavailable. Check or revise the measure definition instead.
How can I add the measure results for each displayed category?
Consider creating a new measure with SUMX over VALUES of the category field, evaluating the original measure for each category. Test subtotals and grand totals, and use the appropriate calculation grain for your data.
What should I provide if the total is still incorrect?
Share the workbook if possible, the affected DAX formulas, data source and relationship details, and a screenshot showing the row values and incorrect total.




