How to Fix Power Query Showing More Rows Than Excel Source Table
Question details
Power Query is returning significantly more rows than the original Excel source table, indicating unintended data duplication.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Transforming, merging, or loading data from an Excel table using Power Query Editor.
- Observed behavior
- The final query result contains a highly inflated row count (e.g., 10,000 rows) compared to the original source data (e.g., 5,000 rows).
Before troubleshooting, open the Power Query Editor and ensure the status bar is visible at the bottom of the window so you can easily track exact row numbers as you click through your query steps.
Review Applied Steps to Locate Duplications
Identify the exact operation causing row duplication by carefully reviewing the Applied Steps pane in the Power Query Editor.
In most cases, row inflation occurs because of a misconfigured merge, an append operation, or expanding nested tables that contain multiple matching records. Tracking the row count step-by-step is the most reliable way to find the root cause.
Navigate to the Data tab in the Excel ribbon, click on 'Get Data', and select 'Launch Power Query Editor' to view your active queries.
In the 'Applied Steps' pane on the right side of the editor, click through each step individually from top to bottom.
Watch the row count indicator at the bottom left of the editor. Note the exact step where the row count incorrectly jumps from the expected number (e.g., 5,000) to the inflated number (e.g., 10,000).
Click the gear icon next to the identified step to edit its settings. Adjust the merge criteria, filter out duplicate matching keys, or correct the expanded table settings to ensure the row count returns to the expected 5,000 rows.

Remove Duplicate Rows from the Output
If finding the specific step is difficult, you can force Power Query to remove duplicate rows before loading the final data.
Handle Large Datasets Smoothly with WPS Office
If complex Power Query setups in Microsoft Excel are causing data duplication and frustration, consider WPS Office. WPS Spreadsheet provides highly intuitive data processing, robust duplicate removal tools, and seamless format compatibility without the steep learning curve.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package.
- 2. Open Your Dataset: Launch WPS Spreadsheet and easily open your existing Excel workbooks without losing formatting.
- 3. Clean Your Data: Navigate to the Data tab to access simple, powerful tools to highlight and remove duplicate rows instantly.

Frequently Asked Questions
Why does expanding a merged table in Power Query multiply my rows?
When you merge tables and expand the nested data, Power Query creates a Cartesian product for multiple matching records. If the second table has three rows for a single matching key in the first table, your row count for that record multiplies by three.
How do I easily track row counts in the Power Query Editor?
You can view the current row count in the status bar at the bottom left of the Power Query Editor window. It updates automatically as you click through different steps in the Applied Steps pane.
Does removing duplicates in Power Query delete data in my original Excel file?
No, Power Query operations only affect the queried data being loaded into the data model or a new worksheet. Your original source table in Excel remains completely untouched and unchanged.




