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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ricod
Helper I
Helper I

Merge excel files and excel worksheets

Hi,

 

i've need to import a monthy excel reports file, in each file i've 9 identical worksheets structure representing employe planning of the file month. i want to agregate the files i put in a folder and agregate the worksheets too. To have activities of all month and all employes.

 

When i import data from folder i can import all the file and worksheets, after that i develop data to show all column but it seem the transform take only the first sheet when for exemple i try to delete 3 first rows.

 

a bit lost how to do :$ especially if i want to do a unpivot other columns 🙂

 

Cheers

 

1 ACCEPTED SOLUTION

hello @NaveenGandhi , should be ok now 🙂 thanks

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi ,

The file connection still won't open. Please re-upload the file.

 

Best Regards,

Wisdom Wu

NaveenGandhi
Super User
Super User

Hi @ricod 

I have created a sample solution for the mentioned problem, have a look at [Invidual file all sheets] table's applied steps, I have utilised this steps in the tranform file function for t1 table [I altered my existing transform file function which was taking 1st sheet from all files] so that all sheets in all files in the folder in extracted.

NaveenGandhi_0-1722962257880.png

 

Just adding the exapand step in your tranform file would do the job in nutshell.


Let me know if this helps.

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!

Hi @NaveenGandhi here are two sample file  june July . i combine file from folder, transform and after due to date change i'm not able to "merge" then to have full history

 

cheers

Hello @NaveenGandhi , thx for this but i don't i precised an important point, my column in each files/worksheets are not the same, because there is dates. for example:

in my july files i've 9 worksheets with table for each employe with activities of the month of july

Env.ProjectProject Ref.Type of work01/07/202402/07/202403/07/202404/07/202405/07/202406/07/2024
   Holidays      
ProdunclecalTest     0,75
non-prod  dev  0,250,25  
   Meeting  0,25   
prodjuniordebimplementation  0,250,51

0,25

 

 

 

in and other file (still in the same folder), i've 9 worksheets with table for each employe with activities of the month august 

 

Env.ProjectProject Ref.Type of work01/08/202402/08/202403/08/202404/08/202405/08/202406/08/2024
   Holidays      
ProdotohumTest     0,75
non-prod  dev  0,250,25  
   Meeting  0,25   
prodisiracimplementation  0,250,510,25

 

 

and when i combine them, i've error due to the dates changed in the planning of each worksheet of the other month.

 

cheers

 

vanessafvg
Super User
Super User

please can you provide some examples of the problem and what are you expectations output is?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hi @vanessafvg , here two example files 🙂 

 

june july 

 

i've find this Power Query Combine Files with Different Column Names - Super EASY! (youtube.com) but i'm not able to reproduce it

Please help 🙂 

@ricod 

Can you provide access to these files.

Thanks,
NG

hello @NaveenGandhi , should be ok now 🙂 thanks

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors