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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Combine various formatted files from single folder in power bi

Hi,

 

Consider in single folder there are multiple .csv and .tsv files having different column names, column order.

Is there any way to combine this files other than doing manual transformations?

 

Thanks in advance.

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

Yes, there is a way to combine multiple formatted files from a single folder in Power BI without manual transformations. You can use the Combine Files feature in Power Query Editor to combine all the files in a folder with the same schema into a single logical table 12. Here are the steps to follow:

1.In Power BI Desktop, select Get Data and choose Folder.
2.Enter the folder path and select OK.
3.Choose Transform Data to open the Power Query Editor.
4.In the Power Query Editor, select the Content column and choose Combine Files from the Combine group on the Home tab.
5.In the Combine Files dialog box, select the file format and delimiter that matches your data.
Select OK to combine all files in the folder into a single table.

Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Anonymous
Not applicable

Hi,

 

Consider no column names are given in file1 (it takes default column names column1,column2 etc in transform data) and columns in file2 are a,b,c.

If I do it in way you suggested, it combines file1 and file2 but file1 with nulls and file2 with data.

Need to map columns first from file1 to file2 and do combine. Mapping is for placing some correct data into correct column. Is there any way to achieve this?

 

Thanks in advance.

ChiragGarg2512
Solution Sage
Solution Sage

@Anonymous , In power query[transform data], in combine group of home tab there is the option to merge queries can be used to join two tables[Joins as in database joins(left, right, full, etc.)].

Anonymous
Not applicable

Hi,

Joining is not applicable for me. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors