Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
Hi @Asd123 ,
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.
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.
@Asd123 , 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.)].
Hi,
Joining is not applicable for me.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
75 | |
56 | |
38 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |