Power Query Stuck on Loading Data: Privacy Levels

Office

Excel Power Query privacy settings and refresh troubleshooting

If you see excel power query stuck on loading data, the preview or worksheet refresh may spin without finishing. A common cause is Power Query's privacy firewall delaying or blocking a query that combines sources with different privacy levels.

Why this happens

Power Query applies a privacy firewall to prevent data from one source from being sent to another source without permission. When a query combines sources, the firewall may isolate parts of the query or buffer data, which can make refresh seem stuck. A slow source, a large result, or a credential prompt can look similar, so check the evidence before changing privacy settings.

  • Different source privacy levels can restrict how data is combined.
  • Query folding may stop at a merge or transformation, increasing the amount of data Excel must process locally.
  • Expired credentials, network delays, or background preview downloads can keep a refresh waiting.
Possible causeTypical symptomQuick test
Privacy firewallRefresh stalls after combining sourcesCheck privacy levels for each source
Slow source or large resultOne query takes much longer than othersRefresh that source alone
Credentials or connectivityRepeated prompts or a refresh that never completesReconnect to the source and test access

1. Check privacy levels for every source

In Excel, open Data > Get Data > Data Source Settings. Select each source used by the query and choose Edit Permissions. Set its privacy level to match the actual data: Public, Organizational, or Private. Do not mark a source Public simply to make refresh faster. Refresh again; if it completes, the privacy configuration was likely involved.

2. Review the privacy setting for the current workbook

Open the Power Query Editor and go to File > Options and settings > Query Options. Under Current Workbook > Privacy, review the setting that determines how privacy levels are combined. On current versions, wording and available choices can vary. Keep privacy checks enabled unless you understand the data-sharing implications; use the option to ignore privacy levels only for a trusted workbook and sources. A successful refresh after a controlled change points to the firewall, but restore the safer setting if it does not help.

3. Refresh the source queries one at a time

In the Queries & Connections pane, right-click each source query and choose Refresh. Note which one stalls, then refresh the combined query. If a source query is slow on its own, the issue is probably connectivity, source load, or query size rather than privacy levels. If each source refreshes but the merge does not, focus on privacy settings and the merge steps.

4. Reduce the data before combining sources

In Power Query Editor, use Home > Remove Rows or filter the relevant columns and rows as early as practical. In Applied Steps, check whether filters and column selection happen before a merge. Close and apply, then refresh. If the smaller query completes, the original refresh was likely processing too much data locally.

5. Check credentials and source access

Return to Data > Get Data > Data Source Settings, select the affected source, and choose Edit Permissions or clear permissions if you need to sign in again. Reconnect using the correct account and authentication method for that source. Then test access outside the combined query, if possible, and refresh. A fresh sign-in or successful standalone refresh confirms an access issue was part of the problem.

6. Check background preview and refresh options

In Power Query Editor, open File > Options and settings > Query Options and review the options under Data Load. You can disable background previews while troubleshooting; this affects preview behavior, not the underlying data source. In Excel, right-click the query in Queries & Connections, choose Properties, and review refresh options. If the preview finishes or refresh behavior becomes predictable, change the options back individually to identify which one mattered.

7. Isolate the merge or appended query

In the editor, duplicate the combined query and temporarily remove its last merge or append step in Applied Steps. Refresh the simplified version, then add the step back and test again. If the query stalls only when that step returns, inspect the join columns for matching data types and avoid merging unnecessarily large tables. If it stalls earlier, continue testing preceding steps until you find where the delay starts.

FAQ

Why is my Excel Power Query refresh taking forever?

It may be waiting on a slow source, processing a large result locally, or applying privacy checks while combining sources. Refresh the source queries individually to see whether one source or the combined step is responsible.

Should I ignore privacy levels in Power Query?

Only consider this for trusted sources and a workbook where you understand the data flow. Privacy levels help prevent data from one source being sent to another without permission, so ignoring them can expose sensitive data.

How do I know if privacy levels are causing the Power Query loading problem?

Check the privacy setting for each source and confirm that the combined query stalls while the sources refresh individually. If correcting mismatched levels resolves the refresh, privacy handling was likely the cause.

Set accurate privacy levels first, then use the one-at-a-time refresh checks to identify a slow source or failing query step. If nothing worked, note which query and step stalls, along with your Excel version and source types, before seeking support.

Photo: Aleks Dorohovich aleksdorohovich / CC0 (Wikimedia Commons)

Leave a Comment