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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
csalinas23
Helper II
Helper II

Join tables with different column names but that's the same information

Estiamdos,

How can I join tables in PBI to keep me as follows:

TABLE 1
DateClientSalesStock
12/03/2020AAA89
TABLE 2
DateClientSalesOn_Hand
12/03/2020BBB89
TABLE SEARCHED
DateClientSalesSTOCK
12/03/2020AAA89
12/03/2020BBB89

Stay tuned

Best regards

1 ACCEPTED SOLUTION

This needs to be done in the query editor.  Please see this video to see how to do it.

 

https://www.youtube.com/watch?v=CW-Er8slv9k

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
mahoneypat
Microsoft Employee
Microsoft Employee

In the query editor, just rename your On Hand column to Stock in Table 2.  Then append the two queries using the button on the ribbon.  You will also want to disable load on the two original queries (right click on each and uncheck Enable Load), so that you only load the new appended table.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


The problem is that the two tables are still separated in the model...

How can I join them to be the same table?

Captura.PNG

This needs to be done in the query editor.  Please see this video to see how to do it.

 

https://www.youtube.com/watch?v=CW-Er8slv9k

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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