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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-jayw-msft
Community Support
Community Support

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.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.