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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
CCAd
Frequent Visitor

Combine two tables with similar column headings together

Hello everyone,

 

I have various tables loaded in my Power Bi file. I am trying to merge two tables, sales and leases, into one since they have same column headings. Both have a 'Listing ID' column which contains unique values. I tried the 'merge' within PQ but all it does is give me additional columns from the second table. I tried append also but that somehow nullifies the listing IDs of the second table.

 

Is there a way that I can do this? I did combine the two files in excel but for the sake of ensuring data update, I would prefer to do it from within power bi.

 

I am pasting snippets of both files below, if that helps. There are hundreds of other columns extending to the right in each table.

CCAd_0-1686117441031.png

 

CCAd_1-1686117503559.png

 

 

Thanks in advance

4 REPLIES 4
AlienSx
Super User
Super User

hi @CCAd , Listing ID <> listing id

CCAd
Frequent Visitor

sorry mate, didnt quite understand you. if you are referring that i match listing ID columns in each table with each other, i did that too (also renamed both so they are exactly the same). 

 

Can you dumb down the explanation for me please?

 

Thanks again

PQ is case sensetive so "Listing ID" and "listing id" are not the same animals. 

CCAd
Frequent Visitor

Great. Let me give it a shot.

 

Cheers

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors