Power Query Problems

Fix Excel Power Pivot Workbook Corruption After Refresh

Steve KSteve K Dec 2, 2026 869 views

Question details

Identify and resolve workbook corruption and an XML error that occur after refreshing an Excel Data Model.

Fix Excel Workbook Corruption After a Power Pivot Refresh
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.
Before you start

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.

Solution 1Recommended

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.

1
Save a test copy

Open the workbook and use File > Save As to create a separate copy before testing Refresh All.

2
Install Office updates

Go to File > Account > Update Options > Update Now. If update options are unavailable or managed by your organization, contact your IT administrator.

3
Repeat the refresh

Close and reopen the test copy, then select Data > Refresh All. Save, close, and reopen the copy to check whether the XML error returns.

4
Compare another build

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.

Update Excel and test the refresh in another build
Record the result: Keep the build numbers and the exact error message for each test; these details can help Microsoft investigate a reproducible defect.
Free Microsoft Office alternative

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.

Open and edit common Excel spreadsheet formats, including XLSXUse a familiar interface for everyday spreadsheet workReview spreadsheet data without requiring Excel for routine tasksMove compatible documents between office suites with minimal setup
microsoft office alternative - wps office

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.