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
Hello community,
I'm creating a new table "A" using "SELECTCOLUMNS" function. until here no problem.
the issue starts when I want to add a new columns from another table to the new table "A".
I tried to use "UNION" but got this message:
"each table argument of 'union' must have the same number of columns"
Any help?
many thanks!
Solved! Go to Solution.
Hi @Anonymous ,
UNION will merge two tables with the same number of columns. The reason you get this error is that one table has one column but another table has many columns.
If you want horizontal combine two tables please consider using CROSSJOIN() Vertical splicing tables, using UNION().
or use Power Query Editor,please refer this article.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
UNION will merge two tables with the same number of columns. The reason you get this error is that one table has one column but another table has many columns.
If you want horizontal combine two tables please consider using CROSSJOIN() Vertical splicing tables, using UNION().
or use Power Query Editor,please refer this article.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |