How to Fix the Merge Option Missing in Power Query
Question details
The user is unable to use the Merge command to combine tables in Power Query and needs to know why the option is unavailable or inappropriate for their data.

- Product
- Excel Power Query
- Device & OS
- not provided
- Scenario
- Combining data tables from different sources, such as imported PDF files, into a single consolidated view.
- Observed behavior
- The Merge option is unavailable or greyed out because the required matching columns have not been selected, or the user is trying to stack data vertically rather than joining it side-by-side.
Ensure that both tables you intend to combine are fully loaded into the Power Query Editor. Determine beforehand whether your goal is to add new columns side-by-side or stack new rows vertically.
Select Matching Key Columns to Enable Merge
The Merge command requires you to explicitly select corresponding key columns in both tables so Power Query knows how to join the data.
Power Query cannot automatically guess which columns relate to each other. The Merge option remains disabled until a relationship is defined by highlighting the matching columns in the preview windows.
Navigate to the Home tab in the Power Query Editor and click on 'Merge Queries'.
Choose your primary table from the top dropdown menu, then click on the specific column header you want to use as the matching key (e.g., ID or Name).
Choose the table you want to merge from the bottom dropdown menu, then click on its corresponding matching column header.
Once a valid column from both tables is highlighted, select your preferred Join Kind (such as Left Outer) and click the now-active 'OK' button.

Use Append Queries Instead of Merge
If you are trying to stack tables one below another (such as multiple pages of a PDF) rather than joining them side-by-side, you must use the Append feature.
Try WPS Office for Seamless Data Management
If you find Power Query in Microsoft Excel too complex or encounter frequent errors when merging tables, WPS Office offers a free, lightweight, and highly compatible alternative. It provides intuitive data consolidation tools without the steep learning curve.
- 1. Download and Install: Download WPS Office for free from the official website and complete the quick installation.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and click 'Open' to load your existing Microsoft Excel workbook.
- 3. Consolidate Data: Navigate to the Data tab on the ribbon to access easy-to-use tools for sorting, filtering, and consolidating your datasets.

Frequently Asked Questions
What is the difference between Merge and Append in Power Query?
Merge is used to join tables side-by-side by adding new columns based on matching key columns (similar to an Excel VLOOKUP). Append is used to stack tables vertically, adding new rows to the bottom of your dataset.
Why is the OK button greyed out in the Merge dialog box?
The OK button remains greyed out until you click and highlight at least one matching column in both the upper and lower table previews within the Merge dialog window. Power Query requires this to know how to link the tables.
Can I merge tables without a matching column?
No, Power Query requires at least one corresponding key column between the two tables to determine how the data should be joined. If no matching column exists, you may need to create a custom index column or reconsider if Append is the correct operation.




