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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
shuang
Frequent Visitor

Combine columns from different tables

 

Hello, Newbie here. I know others have posted similar questions, but couldn't find a way to do mine. 

 

So I have two tables:

Table 1

IDCollection DatespeciesLatitudeLongitudeTest statusaction

 

Table 2:

Sub_IDSample datespeciesLatitudeLongituderesult

 

 

Table 1 and 2 have no relationship. What I want to do is to creat a new table, Table 3 in this way:

 

combine ID from Table 1 and Sub_ID from Table 2 into column "Identification" in Table 3

combine Collection Date from Table 1 and Sample Date from Table 2 into column "Date" in Table 3

combine Test status from Table 1 and result from Table 2 into column "Status" in Table 3

...

 

New Table 3 looks like this

IdentificationdatespecieslatitudeLongitudeStatus

 

I need to keep every single rows from each table. How can I do this?

 

Thanks you. 

 

1 ACCEPTED SOLUTION

Rename the Column Head of both table, and make sure that the two are equal.


IN powerquery  select the most recent table, and then "Apend New Queries" 

View solution in original post

4 REPLIES 4
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @shuang,

 

Agree with rafaelmpsantos. 

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share your data sample and your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
rafaelmpsantos
Responsive Resident
Responsive Resident

These 2 tables has the same numbers of rows? in each row number of tableA you have in tableB the correspondent value in the same row?

They have different rows. Table 1 has 2000 plus rows and Table 2 has about 300 rows. They are totally different set of data and are not related in anyway. Table 1 is from a very old database and Table 2 is a newer one. We just need to put them together. Thanks. 

Rename the Column Head of both table, and make sure that the two are equal.


IN powerquery  select the most recent table, and then "Apend New Queries" 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors