This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi guys! I have two tables imported from SQL using direct query and I'm not able to append them. These tables have some columns in common but others are different. I want to obtain an unique table with all the columns (the ones in common and the ones that are different). Example:
Table 1 (headers) Table 2 (headers) Result (headers)
Year Song Album Singer Year Film Director Actor Price Year Song Album Singer Film Director Actor Price
Thank you in advanced!!!
I finally got it with an SQL query before I put the data in. Thank you so much for all your time.
@94veiga You could try the solution from below link as well since you are trying to combine tables using directy query method
https://community.powerbi.com/t5/Desktop/DirectQuery-append/td-p/18122
Proud to be a Super User!
Is it possible to join tables by query without having the same number of columns?
Thanks a lot!!
No, I'm using DirectQuery Mode because the table is very large in size and makes the file size very large so it wouldn't let me publish it.
Open your power query window and select both the tables then Option Append queries as new. You can also use below code in your power query window to directly merge tables.
let
Source = Table.Combine({Mus_Tab1, Mus_tab2})
in
Source
Below is the output
Proud to be a Super User!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |