Power Query Problems

How to Fix Power Query Errors When Loading an Excel XLS File

Phi Hung VoPhi Hung Vo Oct 26, 2026 868 views

Question details

Power Query fails to import data and throws an error when attempting to load a specific Excel workbook.

How to Fix Power Query Errors When Loading an Excel XLS File
Product
Excel Power Query
Device & OS
Windows PC / Mac
Scenario
Importing data into Power Query from an older Excel file saved in the binary .xls format.
Observed behavior
Power Query returns an error message and stops the data loading process when connected to the .xls file.
Before you start

Verify that you have full access to the source workbook and that it is not currently locked, open in another background process, or being edited by someone else on your network.

Solution 1Recommended

Convert the Source File to .xlsx Format

Saving the outdated binary file as a modern Excel Workbook (.xlsx) resolves most formatting and compatibility issues with Power Query.

Power Query is highly optimized for the modern, XML-based .xlsx format. The older Excel 97-2003 binary format (.xls) often causes data parsing issues. Converting the file format natively in Excel is the most reliable way to fix this error.

1
Open the original workbook

Double-click the problematic .xls source file to open it directly in Excel.

2
Use Save As

Click on 'File' in the top-left corner of the ribbon menu and select 'Save As' from the sidebar.

3
Change the file format

In the file format drop-down menu, choose 'Excel Workbook (*.xlsx)' and save the file to your desired location.

4
Close the workbook

Completely close the newly saved workbook to ensure it is not locked by Excel.

5
Update Power Query data source

Open your main project file, navigate to your Power Query settings, and redirect your data source connection to the newly created .xlsx file.

Convert the Source File to .xlsx Format
Tip: If you have many legacy files to process, you can set up a folder query in Power Query, but it is highly recommended to batch-convert those files to .xlsx beforehand to ensure stability.
Free Microsoft Office alternative

Try WPS Office for Excellent Spreadsheet Compatibility

If you frequently encounter errors dealing with older Excel files or Microsoft Office limitations, consider switching to WPS Office. It handles legacy file formats natively and provides a smooth, resource-friendly experience for all your data management tasks.

100% format compatibility with Microsoft Excel (.xls, .xlsx, .csv, and more).Seamlessly open and edit legacy Excel 97-2003 workbooks without data import errors.Lightweight installation that runs fast even on older Mac and Windows computers.Familiar ribbon interface that requires zero learning curve to master.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query have trouble reading .xls files?

The .xls format is a legacy binary format from Excel 97-2003. Power Query is specifically built and optimized to read modern, XML-based data structures (like .xlsx). Trying to parse the outdated binary format can lead to unexpected import errors.

Do I have to convert every single .xls file manually?

If you only have a few files, manual conversion is safest. If you process dozens of files regularly, you can write an Excel VBA macro or use a third-party batch conversion tool to automatically convert .xls files to .xlsx in a specific folder before Power Query loads them.

What if my converted .xlsx file still causes a Power Query error?

If the error persists after conversion, the data inside the file might contain structural issues, such as unsupported characters, corrupt tables, or merged cells that confuse Power Query. Try copying the raw data into a completely new workbook and importing that instead.