Fix Excel PivotTable Reverts to Values After Data Model Refresh
Question details
The user needs to troubleshoot a PivotTable that loses its layout and converts to raw values after a data refresh.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Refreshing a PivotTable that is connected to Power Query data and an underlying Data Model.
- Observed behavior
- After refreshing the Data Model or Power Query, the PivotTable changes from its expected layout and formatting, reverting entirely to plain values.
Before modifying your Data Model or Power Query connections, ensure you save a backup copy of your workbook so you can safely restore the original PivotTable layout if needed.
Verify Data Model Relationships and Table Structures
Check if any tables, column names, or data types were altered during the Power Query refresh, which breaks the PivotTable connections.
PivotTables rely on consistent structural references from the Data Model. If a Power Query refresh renames a column, changes a data type, or severs a relationship, the connected PivotTable will fail to render its layout and may revert to basic values.
Navigate to the 'Power Pivot' tab on the Excel ribbon and click the 'Manage' button to open the Data Model window.
Click on 'Diagram View' in the Home tab of the Power Pivot window. Verify that the relationship lines between your tables are still active and correctly mapped.
Switch back to 'Data View' and check that the column headers match exactly what the PivotTable expects. Note any errors or missing columns.
Click 'Refresh' directly within the Power Pivot window to see if any background errors occur before attempting to refresh the PivotTable on the worksheet.
Adjust PivotTable Layout and Formatting Options
Prevent the PivotTable from automatically stripping formats and layouts during a background refresh.
Rebuild the Corrupted PivotTable
If only one specific PivotTable is corrupted and reverting to values, rebuilding it from scratch connected to the refreshed Data Model is often the quickest fix.
Switch to WPS Office for Seamless Spreadsheet Management
While complex Power Query and Data Model refreshes are specific to Microsoft Excel, WPS Spreadsheet offers a robust, lightweight, and completely free alternative for your daily data analysis and standard PivotTable needs. Enjoy seamless compatibility with Microsoft Excel formats (.xlsx) without the heavy resource usage.
- 1. Download and Install: Download WPS Office for free from the official website and follow the installation wizard.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet, click on 'Menu' and select 'Open' to load your existing Excel (.xlsx) file.
- 3. Create a PivotTable: Highlight your data range, click on the 'Insert' tab, and select 'PivotTable' to quickly summarize your data.

Frequently Asked Questions
Why does my PivotTable lose its formatting when I refresh the data?
This usually happens if the 'Preserve cell formatting on update' option is unchecked in the PivotTable Options, or if the underlying data source structure (like column names in the Data Model) has changed during the refresh.
Can saving a file on a shared drive cause PivotTable refresh issues?
Yes, refreshing Data Models or Power Queries saved on shared network drives can sometimes time out or encounter file-lock issues, causing the connected PivotTables to break or revert to plain values.
How do I prevent column name changes from breaking my Data Model PivotTables?
Ensure that your Power Query transformations finalize all column names before loading them into the Data Model. If a column name must change in the source data, update it in the Power Query editor so the Data Model and PivotTable continue to receive the expected header name.
Does WPS Spreadsheet support Microsoft Excel Data Models?
WPS Spreadsheet fully supports reading and editing standard .xlsx files and standard PivotTables. However, advanced Microsoft-specific features like Power Pivot Data Models and Power Query are processed differently and may require Microsoft Excel for deep structural refreshes.




