Fix Excel Power Pivot Workbook Corruption After Refresh
Question details
Identify and resolve workbook corruption and an XML error that occur after refreshing an Excel Data Model.

- Product
- Microsoft Excel Power Pivot and Power Query
- Device & OS
- not provided
- Scenario
- A user reopens a workbook in 64-bit Excel and refreshes its Data Model.
- Observed behavior
- The workbook becomes corrupted after the refresh and displays an XML error.
In Excel, go to File > Account > About Excel and record the version, build number, and 64-bit designation. Note whether the error appears during refresh, while saving, or when reopening the workbook.
Update Excel and test the refresh in another build
Use this approach to check whether a build-specific Excel or Data Model defect is causing the corruption.
Open the workbook and use File > Save As to create a separate copy before testing Refresh All.
Go to File > Account > Update Options > Update Now. If update options are unavailable or managed by your organization, contact your IT administrator.
Close and reopen the test copy, then select Data > Refresh All. Save, close, and reopen the copy to check whether the XML error returns.
If the issue persists, repeat the test on another computer with a newer or earlier Excel build. Ask your IT administrator before changing the Office build on a managed device.

Recreate the query and Data Model in a new workbook
Use a fresh workbook to test whether the problem is specific to the original workbook or its model.
Work with Excel-Compatible Spreadsheets in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar spreadsheet interface and compatibility with common Excel formats, making it easy to move everyday spreadsheet work between suites. It does not repair Excel's Power Pivot or Data Model defects.

Frequently Asked Questions
Why does my workbook show an XML error after Refresh All?
The error may be associated with a build-specific Excel, Power Pivot, or Data Model defect, though the message alone does not establish the cause. Record the error and build number, then test a copy after updating Excel.
Where can I find my Excel build number?
In Excel, go to File > Account > About Excel. The dialog shows the version, build number, and whether Excel is 32-bit or 64-bit.
How can I tell whether the original workbook is the problem?
Create a blank workbook, use Data > Get Data to recreate the query, and load it to the Data Model. Save and reopen the workbook, then use Data > Refresh All and check whether the error recurs.
Can WPS Office fix a corrupted Power Pivot Data Model?
No. WPS Office does not fix an Excel Power Pivot or Data Model defect. Use Excel and Microsoft Support for this issue; check feature compatibility before using WPS Office with a workbook that depends on Power Query or Power Pivot.




