Power Query builds a table through a list of steps, and a refresh fails when one step breaks, often because the source file moved or a column changed name. The error message names the step, so read it first and fix that step, rather than rebuilding the whole query. AI-built queries need the same check, because the AI cannot see your file layout.
Checked on 2026-11-29. We did not run any tool for this guide. Every result below is an expected result, marked UNTESTED, for you to confirm on your own files.
Prerequisites
- An Excel workbook with a Power Query table
- The error message from the failed refresh
- Access to the source file the query reads
Steps
1. Read the refresh error
Refresh the query and copy the error message in full, including the step name if shown.
Expected result: The error message is saved, with the step named.
2. Open the query steps
Open the Power Query editor and find the step the error names.
Expected result: The failing step is open in the editor.
3. Check the source the step reads
Check the file path, sheet name and column names the step expects against the real source.
Expected result: The mismatch is named: moved file, renamed sheet or changed column.
4. Fix the step and refresh again
Fix the path or the column name, close the editor and refresh.
Expected result: The refresh completes with no error and the table loads.
Worked example
A practice query read a file that was renamed. The refresh failed at the source step.
| Step | Expected | Found |
|---|---|---|
| Source file | orders-2026.xlsx | orders-old.xlsx |
| Sheet | Orders | Orders |
| Column | Amount | Amount |
Expected result: The source step fails because the file was renamed, so the path is fixed and the refresh completes (UNTESTED – confirm it yourself.)
Verdict table
| Check | Expected result | Pass? |
|---|---|---|
| Read the refresh error | The error message is saved, with the step named. | – |
| Open the query steps | The failing step is open in the editor. | – |
| Check the source the step reads | The mismatch is named: moved file, renamed sheet or changed column. | – |
| Fix the step and refresh again | The refresh completes with no error and the table loads. | – |
Limits
- A query can fail on a later step after the first is fixed; refresh again and read the new error.
- A renamed column breaks every step after it; check the whole step list.
Sources
- How to Use AI in Excel and Google Sheets – checked 2026-11-29
- How to Use AI to Create Spreadsheet Formulas in Excel and Google Sheets – checked 2026-11-29
