Power Query Problems

How to Optimize Power Query Performance: Referenced Queries vs Output Tables

Amos GikundaAmos Gikunda Nov 11, 2026 868 views

Question details

The user needs to improve data refresh speeds by understanding the performance differences between using referenced queries and loading data directly to worksheet output tables.

How to Optimize Power Query Performance: Referenced Queries vs Output Tables
Product
Microsoft Excel Power Query
Device & OS
not provided
Scenario
Optimizing data transformation pipelines and reducing execution times during Refresh All operations.
Observed behavior
Referencing a staging query causes upstream steps to be evaluated multiple times for dependent queries, and loading to a worksheet table does not always reduce the Refresh All duration.
Before you start

Before restructuring your queries, evaluate your data source type to check if it natively supports query folding, as this heavily impacts referenced query performance.

Solution 1Recommended

Preserve Query Folding in Staging Queries

Maintain query folding in a primary staging query to offload processing to the source database, making downstream references more efficient.

When you use referenced queries, Power Query may re-evaluate the upstream steps for each dependent query. If query folding is active, this workload is pushed to the backend data source, greatly improving performance.

1
Create a Staging Query

In Power Query Editor, connect to your main data source and apply only the transformations supported by the source.

2
Verify Query Folding

Right-click the last applied step in the 'Applied Steps' pane and check if 'View Native Query' is clickable to ensure the query is folding.

3
Reference for Downstream Output

Right-click the staging query in the Queries pane and select 'Reference' to create dependent queries without breaking the fold.

Preserve Query Folding in Staging Queries
Dataflow Alternative: For large datasets or complex operations, consider using a Dataflow or Power BI architecture instead of processing heavy referenced queries locally in Excel.
Free Microsoft Office alternative

Experience Lightning-Fast Spreadsheets with WPS Office

While Power Query in Microsoft Excel handles complex data pipelines, it can consume heavy system resources and slow down your PC. If you need to perform everyday data analysis without the lag, WPS Office offers a lightweight, highly compatible, and free alternative.

  1. 1. Download WPS Office: Visit the official WPS website and download the free office suite for your operating system.
  2. 2. Open Existing Excel Files: Launch WPS Spreadsheet and open your existing .xlsx workbooks seamlessly without worrying about format distortion.
  3. 3. Analyze Data Instantly: Use intuitive data tools, pivot tables, and formulas without the system lag associated with heavy query engines.
100% compatible with Microsoft Excel formats (.xlsx, .csv)Lightweight installation with fast startup and smooth data handlingFamiliar user interface requires no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does 'Refresh All' take so long with multiple referenced queries?

During 'Refresh All', Power Query often re-evaluates the upstream steps of your staging query for every single dependent query. If query folding isn't active, this multiplies the processing time locally.

Does loading an intermediate query to a worksheet table improve performance?

Loading to a worksheet table only improves performance if you treat that table as a materialized snapshot and avoid refreshing the source connection every time. It offers no performance benefit during a standard 'Refresh All'.

How do I speed up Power Query previews while editing?

You can speed up the Power Query Editor by disabling background refresh. Go to Query Options > Data Load and uncheck the background download option, which forces the editor to use cached preview data.