How to Fix Missing Power Query Queries in an Excel Workbook
Question details
The user is unable to find previously created Power Query queries in an Excel workbook after leaving the file unopened for several months.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Returning to an older Excel workbook to access or run existing Power Query data connections.
- Observed behavior
- The Power Query queries appear to be completely missing or deleted from the workbook.
Ensure you are logged into the correct Microsoft account and check your recent files list to verify you haven't opened a duplicate or older version of the workbook by mistake.
Verify the File Location and Workbook Version
Often, missing queries are simply the result of opening an incorrect or outdated copy of the workbook.
When files haven't been accessed in a long time, it is common to accidentally open an older backup or a copy stored in a different folder that does not contain the latest Power Query connections.
Verify the exact file name and location path by going to File > Info within Excel.
Use your computer's search function or check your cloud storage (such as OneDrive or SharePoint) for files with similar names.
Navigate to the Data tab and click 'Queries & Connections' in each potential file to see if the missing queries appear in the side pane.

Create a Sanitized Sample for Advanced Troubleshooting
If the queries are genuinely missing from the correct file, share a sanitized version of the workbook with a support community for deeper structural analysis.
Try WPS Office for Reliable Spreadsheet Management
If you are experiencing ongoing issues with Microsoft Excel features, consider trying WPS Office. It is a free, lightweight, and highly compatible alternative that handles complex spreadsheets with ease and provides a familiar user interface for seamless migration.
- 1. Download and Install: Visit the official WPS website to download and install WPS Office for free on your device.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheets and open your existing .xlsx files directly without any conversion.
- 3. Manage Data Easily: Use the built-in Data tab to filter, sort, and manage your spreadsheet information efficiently.

Frequently Asked Questions
Why do my Power Query connections disappear when I open an old Excel file?
This typically happens if the file was moved, renamed, or you accidentally opened a different version of the workbook that didn't have the saved queries. It can also occur if the file was saved in an older format like .xls or .csv, which do not support saving Power Query configurations.
How do I view existing Power Query connections in Excel?
To view your connections, navigate to the 'Data' tab on the Excel ribbon and click on 'Queries & Connections'. This will toggle a side pane that displays all active queries and data models tied to the current workbook.
What is a sanitized workbook and why is it needed for troubleshooting?
A sanitized workbook is a copy of your file where all confidential, personal, or proprietary data has been deleted or replaced with dummy data. It allows technical support teams to safely inspect the file's underlying structure and troubleshoot query errors without exposing your private information.




