fbpx
[email protected] +1 203-349-9909 / +91-8080042523

How to do Duplicate Columns in Power Query

You can also duplicate the columns easily using the Power Query Editor in Power BI. This can be helpful when you have columns that you want to duplicate & make some temporary/permanent alterations to it in the Power Query Editor but not to your source data.

Duplicate Columns Using The Power Query Editor

Suppose you have the source data as shown below. Here, the marked column is the one that we want to duplicate.

Step 1: Select the Column that you want to duplicate

After you load the data source into the Power Query Editor, you have to find the column that you wish to duplicate and select the same. As shown in the picture below, we are going to duplicate the salary column.

DUPLICATE COLUMNS

Step 2: Duplicate the selected column

When you select the column to be duplicated, go ahead to do the following changes on the ribbon.

Go to Add Column tab >Duplicate Column option

DUPLICATE THE SELECTED COLUMNS

Step 3: Save Data

After you duplicate the column you get the result immediately on the screen of the Power Query Editor. When done with your work, just click on the save icon on the top to save the changes for next time.

DATA TABLE WITH DUPLICATED COLUMN

 

You can also learn: 

HTML Snippets Powered By : XYZScripts.com