How to fix a loading error in Power Query?

Riley, Kash (LAVCA Student) 0 Reputation points
2026-11-23T19:00:03.7566667+00:00

4250 records are found on a merged query (3 connections), no error, but the load never releases: spinning into oblivion. I've read a few responses on here, but most were already enabled or disabled....

Microsoft 365 and Office | Excel | For home | Windows

1 answer

Sort by: Oldest
  1. AI answer

    2026-11-23T19:00:57.9833333+00:00

    If the merged query is loading to Excel’s Data Model, replace any Contains filter on a text or List column with Equals or Begins With, because that specific operation can repeatedly enumerate the entire dataset and make loading appear endless.^1^

    Check the documented Data Model bottleneck

    1. In Excel, select Data > Queries & Connections.
    2. Right-click the merged query and select Edit.
    3. In Applied Steps, look for a filtered-row step after the merge.
    4. Select its gear icon, if available, and check whether the filter uses Contains on:
      • a text column, or
      • a List structured column.
    5. Change it to Equals or Begins With, where the required logic permits.
    6. Select Home > Close & Load > Close & Load To and retry the Data Model load.

    Microsoft documents that Contains in this situation causes Excel to enumerate the full dataset for every row and prevents effective multithreaded execution.^1^

    Determine whether the problem is the Data Model or the query

    If there is no applicable Contains filter—or the query loads to a worksheet instead—run this isolation test:

    1. Save a backup copy of the workbook.
    2. Select Data > Queries & Connections.
    3. Right-click the final merged query and select Load To.
    4. Choose Table and New worksheet. Do not select Add this data to the Data Model.
    5. Select OK.

    Loading into a clean worksheet is a supported way to separate a query/load-target problem from an issue in the existing destination.^2^

    Interpret the result:

    • The 4,250 rows load to the worksheet: the merge completes; the delay is associated with the existing worksheet destination or Data Model. Keep the worksheet load temporarily, or inspect the Data Model and its load options.
    • The worksheet load also spins indefinitely: isolate the merge or source that is stalling.

    Isolate the slow merge or source

    Work on a duplicate rather than altering the working query:

    1. In Power Query Editor, right-click the merged query and select Duplicate.
    2. Select each Applied Step from top to bottom and wait for its preview.
    3. Pay particular attention to:
      • the first and second Merged Queries steps;
      • expansion steps following each merge;
      • filters and type conversions after expansion.
    4. Temporarily remove the final merge from the duplicate and load it.
    5. Repeat with the other merge removed.

    The first version that loads identifies which merge path needs investigation. For that path:

    • Open each of its source queries independently and refresh it.
    • Confirm source tables and columns still exist with the expected names and data types.
    • Check for conversion errors, unexpected nulls, and changed date or number formats.
    • If the source is a file, ensure it is saved and closed; an open file can be locked or can omit unsaved changes.
    • Open Data > Queries & Connections, select each connection, and inspect its flyout for a data-access message.

    Microsoft identifies renamed columns, changed data types, locked files, authentication changes, and remote-source availability as common refresh problems. Errors can be inspected in Queries & Connections and at individual Applied Steps.^3^

    For database-backed connections, also check the last step where View Native Query is available. If it becomes unavailable immediately after a merge or transformation, that step stopped query folding, so more processing occurs in Excel rather than at the source. Reordering filters so they occur before merges can allow the source to reduce the data earlier.^4^

    Because only 4,250 final records are reported, the final row count alone does not measure the work involved: a merge can retrieve and compare substantially larger source tables before producing that result.

    If all isolated queries load

    If each source and merge loads separately but the complete query still hangs:

    • Record the Excel version and bitness from File > Account > About Excel.
    • Capture the connection status from Data > Queries & Connections.
    • Note the exact Applied Step at which preview stops responding.
    • Test the workbook on another Windows computer with Excel, if available.

    If the behavior follows the workbook, provide the duplicated, minimized query and source details to Microsoft Support. If it occurs only on one computer, include that machine’s Excel build and whether the workbook succeeds elsewhere.


    References

    1. Create, load, or edit a query in Excel (Power Query)
    2. POWER QUERY NOT LOADING ALL RECORDS - Microsoft Q&A
    3. Handling data source errors (Power Query) | Microsoft Support
    4. Query folding examples
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.