Why Excel PivotTables Reset After an External Data Connection Change and How WPS Office Helps
Question details
The user needs to understand why an Excel PivotTable resets after changing an external data connection and how to preserve or rebuild the PivotTable when the replacement source has identical tables and columns.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Changing an external data connection to a replacement source with the same table and column structure causes the PivotTable to reset, often because the PivotTable uses the Excel Data Model.
- Observed behavior
- The PivotTable loses its original layout and fields after the connection change because Excel may remove the original tables from the Data Model and treat the replacement tables as new objects.
Open the workbook in Microsoft Excel and check whether the PivotTable uses the Data Model by going to PivotTable Analyze > Data. Note the existing Data Model table names and column names before changing the connection.
Preserve Existing Data Model Table and Column Names When Updating the Connection
Use this solution when you need to keep the current PivotTable layout and field references intact while switching to a replacement external source.
The reset usually occurs because Excel removes the original tables from the Data Model and adds the replacement tables as new objects. If the model table names and column names remain the same, the PivotTable is more likely to keep its existing mapping.
In Excel, go to the Data tab and open Queries & Connections.
Right-click the connection that you want to change, then choose Edit or Properties.
Update the connection string or source file, but do not rename the tables or columns in the Data Model. If the replacement source uses different model table or column names, rename them to match the original names before refreshing.
Go to Power Pivot > Manage Data Model and verify that the table and column names still match the existing PivotTable fields.
Click inside the PivotTable and select Refresh to reload the external data.

Recreate or Rebuild the PivotTable After Changing the Source
Use this solution when the existing model names cannot be preserved or when the PivotTable has already lost its layout.
Use WPS Office as a Free Microsoft Office Alternative for PivotTable Reports
The Excel Data Model reset behavior is an Excel-specific limitation. WPS Office is a free, lightweight Office alternative that opens Excel XLSX files, supports PivotTable reports, and gives you a familiar ribbon interface so you can rebuild and manage reports without an Office 365 subscription.
- 1. Download WPS Office: Get WPS Office Free from the official WPS website and install it on your Windows, macOS, Android, or iOS device.
- 2. Open the Excel workbook: Launch WPS Spreadsheets and open the XLSX workbook that contains the PivotTable source data.
- 3. Recreate the PivotTable from a table or range: Go to the Insert tab and select PivotTable, then choose the table or range as the data source.
- 4. Refresh and save the report: Refresh the PivotTable from the Data tab and save the file in WPS Spreadsheets.

Frequently Asked Questions
Why does changing an external connection reset my Excel PivotTable?
If the PivotTable uses the Excel Data Model, changing the connection can remove the original tables from the Data Model and add the replacement tables as new objects. Even identical table and column names may be treated as different fields, which resets the PivotTable.
How can I change an external connection without losing my PivotTable?
Keep the existing Data Model table names and column names unchanged when you update the connection. Open the connection properties from the Data tab or Queries & Connections pane, update only the source, and then refresh the PivotTable.
What should I do if my PivotTable has already reset?
If the layout is lost and the original model names cannot be restored, rebuild the PivotTable. In Excel, click Insert > PivotTable, select the replacement external connection or table, and drag the fields back into Rows, Columns, Values, and Filters.
Does WPS Office support pivot tables that use external data connections?
Yes. WPS Office Spreadsheets can open Excel workbooks with PivotTables and external data connections. You can update the connection or rebuild the PivotTable from the Data and Insert tabs.
Can I avoid this reset by not using the Data Model?
Yes. If you create the PivotTable from a table or range instead of the Data Model, changing the source usually updates the table reference more directly. However, a Data Model is often required for large or multi-table data sources.




