cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jack_lai_1117
New Member

how to combine two or three columns to one new table

Hi all :

   I have more than two column need to combine to a new table , but , I only found "how to merge " not how to combine .

  Fo example , column-A has 3 rows data column-B has 3 rows data , and I want to merge to a new table with one column and 6 rows data in this !!!

  How colud I do this !!

 

1 ACCEPTED SOLUTION
PaulDBrown
Super User
Super User

In Power Query, use the Append function. In DAX use UNION





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
jack_lai_1117
New Member

After I try your method , it is worked ~~~~

 

Now I have result what I want .

v-jayw-msft
Community Support
Community Support

Hi @jack_lai_1117 ,

 

Check the union function.

https://docs.microsoft.com/en-us/dax/union-function-dax 

new table = Union(Table1,Table2)

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
PaulDBrown
Super User
Super User

In Power Query, use the Append function. In DAX use UNION





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors