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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.