Power Query Problems

Why WPS Office Power Query Adds Numbers to Duplicate Column Names

Nimra MalikNimra Malik Nov 13, 2026 868 views

Question details

The user wants to understand why Power Query appends numeric suffixes to duplicate column names such as Production capacity1 and Production capacity2, and how to resolve or work with this behavior.

Why WPS Office Power Query Adds Numbers to Duplicate Column Names
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user is working in Power Query in WPS Office Spreadsheets and has repeated column headings such as Production capacity.
Observed behavior
Power Query automatically appends numbers to duplicate column headings, such as Production capacity1 and Production capacity2, because spreadsheet tables require every column name to be unique.
Before you start

Open the workbook in WPS Office Spreadsheets and launch the Power Query Editor from the Data tab. In Query Settings, check the Applied Steps so you can see exactly where duplicate headings are created before renaming or reshaping the query.

Solution 1Recommended

Rename duplicate column headings to unique names in Power Query

Use this when you want to keep the current column layout but need clear, meaningful field names without numeric suffixes.

This behavior is by design: when Power Query outputs to a spreadsheet table, every column name must be unique. Renaming the duplicates keeps the table valid and makes formulas or PivotTables easier to read.

1
Open the Power Query Editor

In WPS Office Spreadsheets, click Data > Get Data and open the Power Query Editor for the table that contains duplicate column headings.

2
Select the duplicate header

Right-click the column header that shows a number, such as Production capacity1.

3
Enter a unique name

Choose Rename, type a meaningful unique name such as Production capacity North, and press Enter.

4
Load the renamed columns

Repeat for each duplicate, then click Close & Load to return the unique column names to the worksheet.

Unique headers ready: Duplicate suffixes are removed and your headers are ready for formulas, charts, or PivotTables.
Direct solution in WPS Office

Fix Duplicate Column Names in Power Query with WPS Office Spreadsheets

WPS Office Spreadsheets gives you the Power Query tools to rename duplicate column headings or unpivot repeated categories into row values before loading, so your data remains clean and usable.

  1. 1. Open Power Query: Open the workbook in WPS Office Spreadsheets and launch Power Query Editor from the Data tab.
  2. 2. Review Applied Steps: Check Query Settings > Applied Steps to find where Promoted Headers or Expanded Table created duplicate names.
  3. 3. Rename or unpivot: Right-click duplicate headers to rename them, or select the duplicate columns and choose Unpivot Columns to move categories into rows.
  4. 4. Close and load: Click Close & Load to write the cleaned unique column structure back to the worksheet.
Rename duplicate headers directly in the WPS Power Query Editor for clearer data models.Unpivot repeated categories into row values for easier PivotTable analysis.Maintain compatibility with Microsoft Excel .xlsx and .xls workbooks and Power Query workflows.Free, lightweight WPS Office spreadsheet tools with a familiar ribbon interface.
microsoft office alternative - wps office

Frequently Asked Questions

Is Power Query adding numbers to duplicate column names a bug?

No. Spreadsheet tables require every column name to be unique, so Power Query automatically appends numbers to repeated headings like Production capacity1. Check the Applied Steps in Power Query Editor to see where the suffixes were added.

How do I rename a duplicate column in the Power Query Editor?

Open the Power Query Editor from the Data tab in WPS Office Spreadsheets, right-click the duplicate header, choose Rename, type a unique name, press Enter, and then click Close & Load.

Can I prevent Power Query from adding numeric suffixes without renaming columns?

You cannot turn off the uniqueness requirement for table output, but you can insert a rename step after the step that creates duplicate headers, or unpivot duplicate columns so repeated categories become row values.

How do I move duplicate categories into rows instead of keeping numbered columns?

Select the duplicate columns in the Power Query Editor, right-click and choose Unpivot Columns, rename the resulting Attribute and Value columns, and click Close & Load. You can then summarize the normalized table with a PivotTable.

What should I check before renaming or unpivoting duplicate columns?

In Query Settings, click through the Applied Steps, especially Promoted Headers and Expanded Table, so you can identify exactly which step creates the duplicate column names.