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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Possible to create a new column within Query Editor?

I have 2 tables and want to merge the two by appending the two datasets into a new table.  I understand you can do this with the Query Editor.  However, before appending, I want to create a new column in the new table, highlighting the row is from "table 1" or "table 2".

 

How can I achieve this?

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@Anonymous  In that case, add your SourceTable field as custom column in both the tables ideally before appending them. But if you have already append them as a new table still you can add your custom fields as below and it will reflect in your appended table automatically.

 

image.png

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

1 REPLY 1
PattemManohar
Community Champion
Community Champion

@Anonymous  In that case, add your SourceTable field as custom column in both the tables ideally before appending them. But if you have already append them as a new table still you can add your custom fields as below and it will reflect in your appended table automatically.

 

image.png

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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