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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
anns277
New Member

Combine multiple files from SharePoint folder with different number of columns/structure

Hello, 

 

I have multiple excel files in the SharePoint folder which all have a similar structure like below:

 

ID | Client | Resource | Resource ID | 30/12/2019 | 6/01/2020 | 13/01/2020 | 20/01/2020 | ...

 

All files have around 20 columns that are not changing and the other columns with start of week date ( every sheet has different dates depending on project and might change in the future). 

 

Is there a way to load all files at once from SharePoint Folder into one table without having errors in Transform File? 

3 REPLIES 3
Jimmy801
Community Champion
Community Champion

Hello @anns277 

 

you can read from the folder... in case filter the files you really need.

Then click on the top right of the content-column

Jimmy801_0-1602756699252.png

Go through the procedure. Power Query will create a function to read from your files without applying column references (i hope that the sheet names are the same, otherwise this approach will not work I suppose).  The only thing you have to change is the second last step, where the tables are expanded according to the first files.

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

Hi @Jimmy801 ,

 

Thank you for your help.

The procedure you described gave me below table:

 

1 (2).PNG

 

Is there a way dates from the first file will appear as a new columns? 

 

Thanks

Jimmy801
Community Champion
Community Champion

Hello @anns277 

 

what you mean by columns from the first file? If your files are all structured the same way everything should be fine. What I don't understand is why there are some anonymous columns and one named columns. But anyway... it seems that your files are not the same, and then you will have hard time to combine them easily. But without seeing your files it's difficult to help you

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.