Power Query Problems

How to Keep Manual Data Aligned with Power Query Results in WPS Spreadsheets

John WilsonJohn Wilson Nov 13, 2026 869 views

Question details

The user needs to keep manually entered columns aligned with Power Query results when appended files refresh and source row order changes.

How to Keep Manual Data Aligned with Power Query Results in WPS Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user appends multiple source files in Power Query, then adds manual columns next to the combined output. As new files are added, the refresh changes the row order of the appended results.
Observed behavior
Manual columns remain in their original worksheet positions while Power Query rows reorder, causing the manual data to become misaligned.
Before you start

Before merging, identify a stable key column that exists in both the Power Query results and the manual data, such as a file name, record ID, or composite key. Make sure the key values are unique enough to avoid duplicate matches.

Solution 1Recommended

Merge Manual Data from a Separate Table Using a Stable Key in Power Query

Use this when you want to keep manual data separate from the source files so it stays aligned by key regardless of row order changes.

This method stores manual data in a separate table and joins it to the Power Query results by a stable key. Row order changes no longer matter because matching is based on key values, not worksheet position.

1
Create a separate manual data table

In WPS Spreadsheets, enter your manual data in a new sheet and format it as a table via Insert > Table. Include the same key column such as File Name or Record ID.

2
Load the appended source data into Power Query

Select any cell in your source append table, go to Data > From Table/Range to open Power Query, then append or combine your source files as usual.

3
Open Merge Queries

In the Power Query Editor, go to Home > Merge Queries > Merge Queries as New. Select the current appended query and the manual data table.

4
Join on the stable key

Select the key column in both tables, choose Left Outer join so all Power Query rows remain, and click OK.

5
Expand merged column and load to sheet

Click the expand icon in the new merged column, select the manual columns you need, then click Close & Load to return the aligned result to WPS Spreadsheets.

Merge Manual Data from a Separate Table Using a Stable Key in Power Query
Manual data stays aligned: Because the join uses the key column, Power Query refresh will continue matching manual data to the correct row even when new files are added or row order changes.
WPS Spreadsheets Power Query

Keep Manual Data Aligned with Power Query in WPS Spreadsheets

Open Power Query from the Data tab, append source files, and use Merge Queries as New to join a separate manual data table by a stable key. This keeps manual columns aligned after every refresh.

  1. 1. Open Power Query in WPS Spreadsheets: Launch WPS Office Spreadsheets, click the Data tab, and choose From Table/Range or Get Data to load your appended source data into Power Query.
  2. 2. Prepare the manual table: In a separate sheet, create a table with the same key column plus the manual columns, then select Insert > Table to format it.
  3. 3. Merge queries by key: In Power Query Editor, go to Home > Merge Queries > Merge Queries as New, select the source query and the manual table, highlight the shared key columns, and choose Left Outer join.
  4. 4. Expand and load: Expand the merged column, choose the manual columns, and click Close & Load to return aligned results to your workbook.
  5. 5. Refresh when files change: After adding or updating source files, click Data > Refresh All to re-run the append and keep manual data aligned through the key join.
Preserves manual data alignment when new files are addedUses key-based matching instead of row positionCompatible with Microsoft Excel .xlsx and .xls filesFree, lightweight WPS Office spreadsheet tools with a familiar ribbon interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does manual data become misaligned after a Power Query refresh?

Power Query append combines rows based on the source data order. When new files are added, the row sequence can change, but manual columns outside the query remain in their original positions, so they shift relative to the refreshed results.

What kind of key should I use to merge manual data with Power Query results?

Use a column that is stable and unique for each row, such as a file name, record ID, invoice number, or a composite key made from two fields. Avoid names or dates that may repeat or change.

Can I keep the manual data in the same sheet as the Power Query output?

It is safer to keep it in a separate table or sheet. If you type it directly beside the query output, a refresh can move or reorder the query rows and separate the manual values.

Does WPS Office support Power Query merge operations?

Yes, WPS Spreadsheets includes Power Query tools under the Data tab and the Power Query Editor Home > Merge Queries options, allowing you to join tables by key.