Power Query Preview Is Evaluating Forever: Fix

Office

Excel Power Query preview evaluating with query steps and data source

If Power Query shows “Preview Is Evaluating” indefinitely, the most common cause is that a query step is reading or transforming far more source data than the preview needs. This often happens when filtering comes late, a source is slow, or Power Query cannot push work back to the database or file source.

Why this happens

The preview is a separate evaluation of your query, and it may refresh while you edit steps. It can appear stuck when the source is slow, the query processes a large intermediate result, or another query is being evaluated at the same time.

  • Expensive steps: Sorting, grouping, merging, or custom functions can force Power Query to inspect many rows.
  • Lost query folding: A step the source cannot perform may make Power Query download data before applying later steps.
  • Repeated evaluations: Referenced queries, background previews, and privacy checks can trigger additional source reads.
Likely causeTypical symptomQuick test
Large source or late filterPreview takes a long time after a merge or sortMove a selective filter earlier and refresh preview
Slow or unavailable sourceSeveral queries from the same source stallOpen the source directly or test a small query
Background evaluationPreview refreshes repeatedly while editingDisable background preview downloads temporarily

1. Cancel the current evaluation and isolate the query

In the Power Query Editor, select Cancel if it is available. In Excel, open Data > Queries & Connections, right-click the affected query, and choose Edit. In the editor, select an earlier Applied Step, such as Source or Navigation. If that step previews quickly but a later step does not, the delay is in the later transformation rather than the connection.

2. Move filters and column selection earlier

In Applied Steps, select a step before the expensive operation. Use the column filter dropdown to keep only needed rows, then use Home > Remove Columns or Choose Columns to reduce the data. Place these steps before sorting, grouping, merging, or adding custom columns when possible. A much faster preview after reducing rows or columns confirms that the query was processing excess data.

3. Check whether query folding is still working

Right-click a step in Applied Steps and look for View Native Query, when that option is available for the connector and source. If it is available early but unavailable after a particular step, that step may have stopped folding. Test by moving that step later or simplifying it, then refresh the preview. Faster results indicate the source can now do more of the filtering or transformation work. The option is not available for every source, so its absence alone does not prove folding has stopped.

4. Test the source and credentials

Check that the workbook, CSV, folder, database, or web source is reachable outside the query. For file sources, confirm the path and that the file is not locked or still being generated by an automation task. In Excel, open Data > Get Data > Data Source Settings to review permissions and credentials for the source. Sign in again if prompted, then retry a simple query that reads only the source and one small set of columns. If that also stalls, investigate the source, network, or access before editing complex steps.

5. Reduce competing preview work

In Power Query Editor, open File > Options and settings > Query Options, then review the options under Data Load. Turn off Allow data preview to download in the background if the setting is available in your version. Close other editor windows and avoid refreshing multiple queries at once. If the affected query becomes responsive, background or concurrent evaluations were contributing to the delay; you can turn the option back on later if useful.

6. Review privacy settings without weakening them blindly

In Excel, use Data > Get Data > Query Options and inspect the Privacy settings. Queries that combine sources may require Power Query to check privacy levels, which can add evaluation work. Set appropriate privacy levels for each source in Data Source Settings, following your organization’s policy, then retry. Do not choose the option to ignore privacy levels unless you understand the data protection trade-off and are allowed to do so.

7. Clear the cache and restart Excel

In Query Options, open the Data Load section and use the available cache management control to clear the cache, if present. Save the workbook, close Excel completely, reopen it, and refresh only the affected query. A preview that completes after restart suggests a stale cache or a temporary editor state. If it still hangs at the same step, return to that step and test a smaller input rather than repeatedly refreshing the whole workbook.

FAQ

Why is Power Query stuck on preview is evaluating?

Usually the preview is waiting on a slow source or a step that processes a large amount of data. Select earlier Applied Steps to find where the delay starts, then test with fewer rows and columns.

How do I stop Power Query from evaluating in the background?

Open File > Options and settings > Query Options > Data Load and turn off background preview downloads if your version provides that setting. This can reduce competing evaluations while you edit, but it does not speed up a slow source or expensive transformation by itself.

Will disabling query folding fix a stuck preview?

No. Disabling folding can make a query slower because Power Query may need to retrieve more data and process it locally. Check the step where folding appears to stop, then simplify or reorder that transformation if the source supports it.

Start by identifying the first Applied Step that becomes slow, then reduce the data and check the source before changing privacy or cache settings. If the preview still hangs, test the source with a small query and share the workbook’s query steps, connector type, and the step where it stops with your administrator or support team.

Photo: Aleks Dorohovich aleksdorohovich / CC0 (Wikimedia Commons)

Leave a Comment