Power Query Problems

Keep Paid or Unpaid Status After an Excel Power Query Refresh

Phi Hung VoPhi Hung Vo Nov 18, 2026 871 views

Question details

Keep a manually selected Paid or Unpaid status associated with each order when Outlook data is refreshed through Power Query.

Keep Paid or Unpaid Status After an Excel Power Query Refresh
Product
Microsoft Excel Power Query
Device & OS
not provided
Scenario
Orders are imported from Outlook into an Excel Power Query output table, and each order needs a manually maintained payment status.
Observed behavior
Manual statuses entered directly in the query output can be overwritten or become associated with the wrong order when the data refreshes or is reordered.
Before you start

Confirm that each order has a stable, unique order number available in the Outlook query. Check that order numbers use the same data type and formatting in both the query and the status table.

Solution 1Recommended

Merge a Separate Order Status Table into the Outlook Query

Use a separate Excel table to maintain statuses and match them to refreshed orders by order number.

1
Create a status table

On a separate worksheet, enter Order Number and Status headers, then select the range and choose Insert > Table. Add each order number once and enter Paid or Unpaid beside it.

2
Load the status table

Select a cell in the status table and choose Data > From Table/Range. In Power Query Editor, select Home > Close & Load > Close & Load To, then choose Only Create Connection.

3
Open the Outlook orders query

Choose Data > Queries & Connections, then right-click the Outlook orders query and select Edit.

4
Merge by order number

In Power Query Editor, choose Home > Merge Queries. Select the status table query, select the Order Number column in both tables, and use a Left Outer join to keep all Outlook orders.

5
Expand and load the status

Select the expand button on the merged column, choose Status, and select OK. Choose Home > Close & Load to update the orders output.

6
Maintain statuses separately

Edit Paid or Unpaid in the separate status table, then choose Data > Refresh All to update the merged output. Add new order numbers to the status table as they appear.

Merge a Separate Order Status Table into the Outlook Query
Orders without a match: New orders show a null status until their order numbers and statuses are added to the separate table and the queries are refreshed. Duplicate order numbers in the status table can create duplicate output rows.
Free Microsoft Office alternative

Manage Order Statuses in WPS Spreadsheet

WPS Office is a free, lightweight alternative for working with spreadsheets in a familiar interface. Open compatible Excel files and maintain a separate order status table in WPS Spreadsheet; it does not fix or replace the Excel Power Query refresh workflow.

Maintain Paid or Unpaid statuses in a separate spreadsheet tableOpen and edit Microsoft Excel XLSX files for easier migrationUse a familiar spreadsheet interfaceWork with a free, lightweight Office alternative
QA img-9

Frequently Asked Questions

Why should I keep statuses outside the Power Query output table?

A refresh can replace or reorder the output rows. Keeping statuses in a separate table and merging by order number associates each status with its order rather than with a row position.

What happens when a new order appears after a refresh?

With a Left Outer join, the order remains in the output but its status is null until you add its order number and status to the separate table and select Data > Refresh All.

Why is an existing order's status not showing?

Check that the order number exists in the status table and matches the Outlook query's value and data type. In Power Query Editor, check the data type icon on each Order Number column.

Can I change a status in the merged output table?

Change it in the separate Excel status table instead, then select Data > Refresh All. Changes made directly in the query output may be lost on refresh.

Can WPS Spreadsheet fix the Excel Power Query refresh?

No. WPS Spreadsheet can help you maintain an order status table in a compatible workbook, but the Power Query merge and refresh workflow should be configured in Excel.