How to Copy Power Query Queries to Another Excel Workbook
Question details
The user needs to copy appended Power Query queries to a new workbook but receives a 'Download did not complete' error because the source connections are broken.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Copying an appended summary query from one workbook to another while preserving the original structure and logic.
- Observed behavior
- The transfer fails with a 'Download did not complete' error due to missing source tables (e.g., Table1) in the destination workbook.
Verify that you have full access to the original data sources and that the destination workbook is saved on your local drive before attempting to transfer the queries.
Recreate Source Tables in the Destination Workbook
Power Query requires the exact table names and data sources to function in the new workbook. Transferring these elements first resolves download and execution errors.
When copying a query, Excel attempts to bring over the logic, but it does not automatically duplicate the raw source data in the workbook cells. If the target workbook is missing essential elements like 'Table1', the query will immediately fail to load.
Open your original workbook and note down all the table names (e.g., Table1, Table2) that your appended Power Query relies on.
Highlight the data in the original workbook, press Ctrl+C, navigate to your new destination workbook, and press Ctrl+V to paste it.
Select the pasted data in the new workbook, press Ctrl+T to convert it into a Table, and rename it exactly as it was named in the original file (e.g., Table1).
Go back to the original workbook, open the 'Queries & Connections' pane, right-click the query you want to transfer, and select 'Copy'. Paste it into the 'Queries & Connections' pane of the new workbook.
Transfer M Code via Advanced Editor
Manually copying the M code ensures that the exact query logic is transferred without relying on Excel's clipboard for complex query objects.
Use WPS Office for Seamless Data Management
While Power Query errors in Excel can be complex to troubleshoot, WPS Spreadsheet offers an intuitive, lightweight alternative for managing, analyzing, and summarizing your data. Enjoy high compatibility with Excel file formats without the heavy system requirements.
- 1. Install WPS Office: Download and install the lightweight WPS Office suite on your device.
- 2. Import existing workbooks: Open WPS Spreadsheet and seamlessly load your existing Excel files without losing layout or data integrity.
- 3. Analyze your data: Use built-in Data tools and PivotTables to quickly append and summarize your data tables without complex query configurations.

Frequently Asked Questions
Why do I get a 'Download did not complete' error in Power Query?
This error typically occurs when a query is moved to a new workbook, but its underlying data sources or source tables (like 'Table1') are missing or inaccessible in the new file.
Can I copy a Power Query without its source data?
No, a query functions as a set of instructions applied to specific data. If the destination workbook lacks the referenced data or connection string, the query will break.
How do I find out which tables my query is missing?
Open the Power Query Editor in the original workbook, select your query, and check the 'Applied Steps' pane on the right. Click the gear icon next to the 'Source' step to see exactly which tables or files it references.




