Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RodgerB
Frequent Visitor

Queries - Duplicate Columns After Merging

So I am wondering about something that happens inconsistently when transforming data in Query Editor.

 

I will duplicate a column to apply a transformation (extract, date, multiply, etc.), and when the step is added, sometimes the duplicated column will be deleted, and other times not.

 

Anyone know why this happens?  I have not been able to find anything talking about this.  Thanks!

2 REPLIES 2
Anonymous
Not applicable

Hi @RodgerB ,

 

Need more information, could it be something like "merge queries" and "merge queries as new"?

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

No problem.  So, I will duplicate a column in Query Editor/PowerQuery to do things such as extract text from the column, change the date to a year value, or even multiply a column by a value.  When the step is added, the new column will be created, but the column it was created from is still there.  Other times, when I do this, the new column is created, and the old column is replaced with the new transformation.

It seems very random, so when I'm showing this to someone, I get this question a lot.  "Why is your column gone, but mine is still here?"  I hope this better explains what I mean.  Thanks again!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.