Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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?
Solved! Go to Solution.
@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.
Proud to be a PBI 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.
Proud to be a PBI Community Champion
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 44 | |
| 41 | |
| 36 | |
| 21 |
| User | Count |
|---|---|
| 176 | |
| 120 | |
| 106 | |
| 77 | |
| 52 |