Forum

how to combine mult...
 
Notifications
Clear all

how to combine multiple sheets from files with different structures?

2 Posts
2 Users
0 Reactions
85 Views
(@fran-cammock)
Posts: 2
New Member
Topic starter
 

Hi, I have tried to pull together 3 separate queries of data, where each group of files contains a slightly different structure.

I don't know how to merge the three queries to combine into a current structure.  I've ended up manually matching the structure of the sheets in each file... I assume query can enable me to pull together data from different structures.  Please can you help?  In the examples for Power Query, there is only  a single structure across files, with columns in a common order from my understanding.

thanks, Fran

 
Posted : 27/10/2022 4:15 am
Riny van Eekelen
(@riny)
Posts: 1186
Member Moderator
 

Not sure that I have understood your intentions, but the attached file contains some queries that connect to a folder containing your three files. It creates a single table containing 460 records. That seems to be the correct number when I look at each individual file.

See if this works for you. Obviously, you have to point the Source to a folder on your own system.

 
Posted : 27/10/2022 4:56 am
Share: