Power Query Problems

Remove a Connection-Only Query from the Excel Data Model

Phi Hung VoPhi Hung Vo Dec 2, 2026 869 views

Question details

Remove a query's existing table from the Excel Data Model while keeping the query as a connection only.

Remove a Connection-Only Query from the Excel Data Model
Product
Microsoft Excel Power Query and Power Pivot
Device & OS
not provided
Scenario
A query was changed to a connection-only load, but its previously loaded table remains in the Data Model.
Observed behavior
The table may remain in Power Pivot after the load setting changes, potentially because of relationships or a synchronization issue.
Before you start

Identify the query and its corresponding Data Model table in Data > Queries & Connections and Power Pivot > Manage. Check whether PivotTables, measures, or relationships depend on the table, because removing it can affect them.

Solution 1Recommended

Clear the Data Model load option and remove dependent relationships

Use this method to keep the query as a connection while removing its existing Data Model table.

1
Open the query load settings

In Excel, select Data > Queries & Connections, right-click the query, and choose Load To.

2
Clear the Data Model option

In the Import Data dialog, select Only Create Connection, clear Add this data to the Data Model, and select OK.

3
Remove relationships if needed

If the table remains, open Data > Relationships, select each relationship that uses the table, and choose Delete. Confirm each deletion.

4
Remove the remaining table

Open Power Pivot > Manage. If the table is still present, right-click its table tab and select Delete. Confirm the removal, then check that the query still appears under Data > Queries & Connections.

Clear the Data Model load option and remove dependent relationships
Check dependent reports: Deleting relationships or the model table can affect PivotTables, measures, and other reports that rely on them. Power Pivot availability depends on the Excel version and edition.
Free Microsoft Office alternative

Work with Excel Workbooks in WPS Office

WPS Office is a free, lightweight alternative for everyday spreadsheet work. Its familiar interface and Excel format compatibility make it easy to move existing workbooks, although it does not fix Excel Power Pivot Data Model issues.

Open and edit Microsoft Excel XLS and XLSX filesWork with spreadsheet tables in a familiar interfaceMove existing Office files into a lightweight office suiteUse core spreadsheet tools for free
microsoft office alternative - wps office

Frequently Asked Questions

Why is my connection-only query still in the Data Model?

Only Create Connection and Add this data to the Data Model are separate settings. Open Data > Queries & Connections, right-click the query, and choose Load To to check both. An existing model table or its relationships may also need to be removed.

How do I find relationships that use the table?

Select Data > Relationships and review the listed tables and related tables. Select a relationship that uses the table and choose Delete if it is no longer needed.

Will deleting the Power Pivot table delete the query?

Removing the table from Power Pivot is intended to remove the model table, not the connection-only query. Check Data > Queries & Connections afterward to confirm that the query is still listed.

What happens to PivotTables that use the model table?

PivotTables, measures, and relationships that depend on the table may stop working or lose data. Identify those dependencies before deleting the table or its relationships.