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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Regarding help for merging multiple CSVs in Power BI and automating them

I have a requirement where I have to merge files manually. probably about 20+. But, all files have multiples sheets and similar format. Now, for example: I have sheets ABC1, DEF2 and EFG3. In power BI, each of those will be shown as a table. My requirement is to merge ALL the ABC1, DEF2 and EFG3 data in one place from ALL the CSVs. I was facing issues in that. And also, I feel, that would lead to performance issues in Power BI. Obviously, one other approach would be to automate this using triggers in Power BI Automate. But, this is not what the client wants and I am not too familiar with Power Automate. Shall appreciate if you can help me run down steps to merge these files please. None of the videos or content online could help get a resolution in my case. 

@rajendraongole1 incase you would have an idea.

Many thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

 

Just as Greg_Deckler posted that you can use a Folder query.

You can put all the CSV files in one folder and select Folder as the data source.

Then click the combine file in the Home pane in the power query:

vzhengdxumsft_1-1731569374342.png

 

 

Please check this document for the detailed description:

Combine CSV files in Power Query - Power Query | Microsoft Learn

 

Best Regards

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

 

Just as Greg_Deckler posted that you can use a Folder query.

You can put all the CSV files in one folder and select Folder as the data source.

Then click the combine file in the Home pane in the power query:

vzhengdxumsft_1-1731569374342.png

 

 

Please check this document for the detailed description:

Combine CSV files in Power Query - Power Query | Microsoft Learn

 

Best Regards

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

Anonymous
Not applicable

@Greg_Deckler - Agreed and that is the approach I have been taking. But, due to the unstructured data and the inconsistent format, facing issues. Also, this is going to cause performance issues in the long run. Especially when the data will increase with time.

Greg_Deckler
Community Champion
Community Champion

@Anonymous Generally you would use a Folder query for this.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors