Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear All ,
I have 2 tables with 90 % same structure (same no of rows):
Table -1 : col-1,col2,col3
Table-2 : col1,col2,col3,col4
I want to:
1-Add col4 with the same content from Table-2 to table-1.
2-Copy the contents of col2 (Table-2) and Paste it in col2 for Table-1
After that, I 'll remove Table-2, Please advise.
Solved! Go to Solution.
You can perform the following steps in Query Editor.
1. Add a index column for Table-1 and Table-2.
2.Merge Table-1 and Table-2 by clicking “Merge Queries as New”.
3. Expand col2 and col4 from the column as below in the merged table.
4. Select “col2” and “Index”, then remove the two columns.
5. Rename Table-2.col2 and Table-2.col4.
Regards,
You can perform the following steps in Query Editor.
1. Add a index column for Table-1 and Table-2.
2.Merge Table-1 and Table-2 by clicking “Merge Queries as New”.
3. Expand col2 and col4 from the column as below in the merged table.
4. Select “col2” and “Index”, then remove the two columns.
5. Rename Table-2.col2 and Table-2.col4.
Regards,
May be easier to do this in Power Query. What are the sources of the tables? For example, in Power Query, you should be able to do a Merge query between the two queries you have. Are these tables comprised purely of columns imported from sources or are some of these columns calculated?
Otherwise, you might look at NATURALINNERJOIN, INTERSECT, UNION or other similar types of DAX functions.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
64 | |
51 | |
39 | |
26 |
User | Count |
---|---|
84 | |
57 | |
45 | |
44 | |
35 |