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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Combine Two excel files with different column names and different amount of columns

Currently, I am receiving excel files from two different sources. I want to combine them for analysis on Power BI. However, because these reports are generated differently, the column/header names in the sheets are completely different and not all data would be present in both reports. For example, 

 

A

Account Manager                  Location                      Account Number               Sales

Jay                                          New York                                  1                         100000

 

B

Location Name                      Sales                                  Date                      Notes                Manager 

Philadelphia                            200000                             10/23/2019           improved          Adam

 

Account Manager=Manager, Location=Location Name, Sales=Sales

Date, Account Number, Notes are all unique categories 

 

I want a final dataset with the two reports combined and then the missing values would just be null/empty. 

 

Something like this:

 

 

 

help.jpg

 

 

How would I get the above submitted in as the data in order to create reports on Power BI?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

You can use try to use combine function to achieve your requirement:

let
    Source = Table.Combine({T1, Table.RenameColumns(T2,{{"Manager","Account Manager"},{"Location Name","Location"}})})
in
    Source

11.png

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous,

You can use try to use combine function to achieve your requirement:

let
    Source = Table.Combine({T1, Table.RenameColumns(T2,{{"Manager","Account Manager"},{"Location Name","Location"}})})
in
    Source

11.png

Regards,

Xiaoxin Sheng

labuser1235
Helper IV
Helper IV

You can do it easily in power bi edit queries. 

Change the column names in table 2 as per your requirement and re-arrange the order of the columns. 

After that, in Edit queries --> Home --> Click on Append Queries. Click on two tables and select table1. 

You will get your desired output then click on close and apply. 

snip.PNG

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors