Fix Power BI Web Refresh Fails When Excel Sheets Have Different Columns
Question details
The user needs to resolve an issue where Power BI web refresh fails due to inconsistent column structures across multiple Excel files in a SharePoint folder.
- Product
- Power BI / Excel
- Device & OS
- not provided
- Scenario
- Refreshing combined data in Power BI Web from multiple XLSX files stored in a SharePoint folder.
- Observed behavior
- The web refresh process fails and returns an error because the Excel.Workbook function detects different column structures or mismatched schemas among the source files.
Before troubleshooting the Power BI refresh, check your SharePoint folder to ensure all target Excel files are accessible and verify exactly which files contain mismatched or missing columns.
Standardize Excel Column Structures Before Import
Ensure all source Excel files have the exact same column headers and data types to prevent schema mismatch errors during the Power BI refresh.
Power BI's web refresh expects a consistent schema when combining files from a folder. If columns vary by name, order, or presence, the Excel.Workbook query will fail to append them correctly.
Navigate to your SharePoint folder and open the target Excel files using your spreadsheet application.
Check the first row of each sheet you intend to combine in Power BI to ensure the column names and their order match exactly across all files.
Add missing columns, rename mismatched headers, or delete extra columns as needed, then save the corrected files back to the SharePoint folder.
Return to the Power BI service online and click 'Refresh now' on your dataset to verify the issue is resolved.
Seek Help in Microsoft Fabric Community
If standardizing the files does not resolve the refresh issue, consult Power BI specialists for advanced Power Query schema troubleshooting.
Manage and Standardize Your Data with WPS Office
While Power BI is a Microsoft service, you can easily use WPS Office as a lightweight, free alternative to Microsoft Excel for editing, standardizing, and managing your source XLSX files to ensure seamless data imports.
- 1. Download WPS Office: Install WPS Office for free from the official website.
- 2. Open Source Files: Launch WPS Spreadsheet and open your SharePoint XLSX files directly.
- 3. Standardize Data: Align your column headers and structures, then save seamlessly in the original .xlsx format.

Frequently Asked Questions
Why does Power BI web refresh fail with Excel files from SharePoint?
Power BI relies on a consistent data schema. If the Excel files being combined in Power Query have different column names, data types, or missing columns, the web refresh process will fail to parse and append the structure.
How can I check if my Excel files have different columns?
You can open the files side-by-side in your spreadsheet software to compare headers, or use the Power Query editor in Power BI Desktop to inspect the 'Excel.Workbook' output for each file and look for discrepancies in the data preview.
Does standardizing Excel files resolve Power Query schema errors?
Yes, ensuring that all source Excel files share the exact same column headers and layout is the most effective and direct way to prevent schema mismatch errors during a dataset refresh.




