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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
esgaranel
Frequent Visitor

Merge multiple files into one file in a lakehouse.

LAKEHOUSE.png

 

Hello, could someone tell me how to do this process?

 

Thanks

1 ACCEPTED SOLUTION
suparnababu8
Super User
Super User

Hello @esgaranel 

 

Based on your archetecture, I suggest two ways.

 

1) Using DataflowGen2  (Low-code tool)

  • You can load  the data from you database/local into Dataflow Gen2 using pipeline(if it's in database) / directly uploading (from local).
  • Once you got the your files into Dataflowgen2, you can do the merge by using merge option in dataflowgen2.
  • Once megre was completed, later you can connect you respective lakehouse and push the data to lakehouse.

Please go through this links for this step1: https://learn.microsoft.com/en-us/fabric/data-factory/create-first-dataflow-gen2, https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-data-destinations-and-managed-se... , 

 

2) Using Notebooks in Fabric environment. 

  • You can create a lakehouse and upload files into lakehouse (dirfect upload/ use shortcuts). the below are supported shortcuts in fabric
     suparnababu8_0-1746696688852.png

     

  • Later you can connect this lakehouse with notebook and merge all you files into single file. 
  • Then once merging completed, you can write to lakehouse as delta tbale

Please go through this link for step 2 : https://community.fabric.microsoft.com/t5/Desktop/Combine-specific-Files-from-a-Folder/td-p/3546941 

 

Please ket me know if it works.

 

Tahnk you!!

 

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

View solution in original post

2 REPLIES 2
esgaranel
Frequent Visitor

Thank you so much

suparnababu8
Super User
Super User

Hello @esgaranel 

 

Based on your archetecture, I suggest two ways.

 

1) Using DataflowGen2  (Low-code tool)

  • You can load  the data from you database/local into Dataflow Gen2 using pipeline(if it's in database) / directly uploading (from local).
  • Once you got the your files into Dataflowgen2, you can do the merge by using merge option in dataflowgen2.
  • Once megre was completed, later you can connect you respective lakehouse and push the data to lakehouse.

Please go through this links for this step1: https://learn.microsoft.com/en-us/fabric/data-factory/create-first-dataflow-gen2, https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-data-destinations-and-managed-se... , 

 

2) Using Notebooks in Fabric environment. 

  • You can create a lakehouse and upload files into lakehouse (dirfect upload/ use shortcuts). the below are supported shortcuts in fabric
     suparnababu8_0-1746696688852.png

     

  • Later you can connect this lakehouse with notebook and merge all you files into single file. 
  • Then once merging completed, you can write to lakehouse as delta tbale

Please go through this link for step 2 : https://community.fabric.microsoft.com/t5/Desktop/Combine-specific-Files-from-a-Folder/td-p/3546941 

 

Please ket me know if it works.

 

Tahnk you!!

 

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

July 2025 community update carousel

Fabric Community Update - July 2025

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