Can Power Query Write Data Back to the Source Table in Excel?
Question details
Users want to know if Power Query can write modified data back to the original source table, and how to append new records given its one-way loading limitation.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to manually add new records or modify data directly within a Power Query result table and expecting the original source to update.
- Observed behavior
- Changes made to the query output table do not reflect in the original source table because Power Query only supports one-way data extraction.
Before attempting to modify your query output, ensure you have a clear understanding that Power Query is intentionally built for one-way data extraction and does not support two-way communication.
Workaround: Unlink the Resulting Table
Disconnect the query output from its data source to manually add records, then create a new query from the updated table.
Power Query is intrinsically designed for one-way data loading. Adding data directly to the query output will not update the original source table. To bypass this limitation, you can unlink the table, though you will lose the ability to refresh it from the original data source.
Right-click anywhere inside the resulting Power Query table in your worksheet, hover over 'Table' in the context menu, and select 'Unlink from Data Source'.
Manually type or paste your new records at the bottom of this newly unlinked table.
Select the unlinked table, navigate to the 'Data' tab on the Excel ribbon, and click 'From Table/Range' to load the updated dataset into a new query.

Alternative: Use a Separate Input Table for Appending Data
Keep your queries refreshable by maintaining a separate table for manual entries and appending it to your main query.
Experience Seamless Data Management with WPS Office
If you are frustrated by complex query limitations in Excel, try WPS Office. It is a free, lightweight, and highly compatible alternative to Microsoft Office, offering an intuitive spreadsheet interface and robust data tools without the heavy processing overhead.
- 1. Download WPS Office: Visit the official WPS website to download and install the free suite on your device.
- 2. Open WPS Spreadsheet: Launch WPS Office and select the Spreadsheet module from the main dashboard.
- 3. Import Excel Files: Click 'Open' to load your existing Excel workbooks and continue analyzing your data seamlessly.

Frequently Asked Questions
Why does Power Query not update my source table automatically?
Power Query is designed as a strict Extract, Transform, Load (ETL) tool. It performs one-way data extraction to protect your original dataset from accidental modifications and ensure data integrity.
Can I use VBA to write Power Query results back to the source?
Yes, advanced users can write a VBA (Visual Basic for Applications) macro to copy the output of a Power Query table and overwrite the original source data. However, this requires custom scripting and bypasses Power Query's standard functionality.
Will unlinking a table from Power Query delete my data?
No, unlinking a table only removes the connection between the output table and the Power Query background data source. Your existing data remains safely in the spreadsheet, but it will no longer update when the original source changes.




