How to Fix Unavailable Connection File Options in Excel Power Query
Question details
The user is unable to access the Browse and Edit Query options under Connection Properties for an Excel Power Query, and the connection file path is missing.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Modifying the source path or connection file of an existing Power Query created from an Excel Workbook.
- Observed behavior
- The 'Browse' and 'Edit Query' buttons under the Definition tab in Connection Properties are unavailable (greyed out), and no connection file path is displayed.
Ensure your active cell is located within the table linked to the query, and verify that the query is not currently being controlled by the Power Pivot add-in.
Edit the Query Source Path Directly in Queries & Connections
Since Power Queries created from an Excel workbook do not use separate external connection files, you must edit the file path directly within the Power Query Editor.
When you create a connection using 'Get Data > From Excel Workbook', Excel embeds the query directly using M-code rather than relying on a standalone Office Data Connection (.odc) file. This design inherently disables the 'Browse' and 'Edit Query' legacy options under the Connection Properties window.
Navigate to the 'Data' tab on the main Excel ribbon and click on 'Queries & Connections' to open the side panel.
In the right-hand panel, locate your target query, right-click it, and select 'Edit' to launch the Power Query Editor.
In the 'Applied Steps' pane on the right side of the editor, click the gear icon next to the 'Source' step.
Browse and select the new Excel workbook path from your local directories, then click 'OK'.
Click 'Close & Load' in the top-left corner of the editor to apply the new path and refresh your spreadsheet data.

Recreate the Connection Using Legacy Data Import
If your specific workflow strictly requires an external standalone connection file (.odc), you must use Excel's legacy data import methods instead of Power Query.
Try WPS Office for Fast and Seamless Spreadsheet Data Management
Struggling with complex Excel Power Query behaviors or locked connection properties? WPS Office offers a free, lightweight, and user-friendly spreadsheet alternative designed to make data handling straightforward.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package.
- 2. Install WPS Office: Run the setup file and follow the brief instructions to install the suite on your computer.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing Excel files to continue managing your data smoothly.

Frequently Asked Questions
Why are the Connection Properties greyed out in Excel?
Connection properties are usually unavailable if the query was created via the Power Query 'Get Data' feature, which embeds the connection directly into the workbook's M-code instead of using an external connection file (.odc). It may also occur if the active cell selected is outside of the specific query table.
How do I change the data source file path for an existing Power Query?
To change the data source, open the Queries & Connections pane from the Data tab, right-click your query, and select Edit. Then, click the gear icon next to the 'Source' step in the Applied Steps list to browse for and apply a new file path.
Can I export a Power Query connection to an external connection file?
Power Queries are designed to embed connection details natively. To utilize a standalone connection file, you must avoid Power Query and instead create the connection using Excel's legacy data import wizards, which will generate an Office Data Connection (.odc) file.
Does Power Pivot lock connection properties in Excel?
Yes. If a query connection has been loaded into the Data Model and is being managed by the Power Pivot add-in, certain connection properties in standard Excel will be greyed out or locked to prevent conflicts between the tools.




