Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Zilver
Regular Visitor

Create new table with 2 columns from other tables

Hi all

I have 2 diffrent tables and each table have 2 columns like this :

Table 1:

Column AColumn B
111F
222F
333D

 

Table 2:

Column GColumn W
555P
777Q
999

Q

 

and I want to merge their values in 1 table like this :

ID NumberCode
111F
222F
333D
555P
777Q
999Q

 

please I need help to do that and thanks all.

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Zilver 

 

You can use Append in Power Query, but you need to change the Column Names to match first.

image.png

 

You can do it as well using DAX Table Expression like below 

 

DAX Union = 
UNION( 
    'Table 1',
    'Table 2'
) 

 

Please see the attached file with solutions.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @Zilver 

 

You can use Append in Power Query, but you need to change the Column Names to match first.

image.png

 

You can do it as well using DAX Table Expression like below 

 

DAX Union = 
UNION( 
    'Table 1',
    'Table 2'
) 

 

Please see the attached file with solutions.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Done you are the best and I really appreciate it. Thanks a lot

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.