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

Powerautomate multiple excel CSV/XLSX files into a consolidated excel workbook

Hello.  Is there a way to create a powerautomate solution that pulls in data of multiple monthly excel workbooks saved in Sharepoint, into a conslidated excel file, so as I add workbooks based on month (ex. Jan2022.xlsx, Feb2022.xlsx, etc.) into that SP folder, each new workbooks data gets populated into the consolidated workbook?


1 ACCEPTED SOLUTION

@Anonymous ,

 

They're both cloud-based technologies that allows you to perform automated ETL tasks. The final output is saved on Azure Gen2 datalake where you can connect directly from Power BI to consume. They both can be scheduled to update based on your frequency liking. 

 

As a dataflow, you can share it and use it as a single source of truth.

A datamart is similar but gives you the flexibility to connect to it and build SQL queries to return only relevant data that you need per product.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

5 REPLIES 5
hnguy71
Super User
Super User

Hi @Anonymous ,

 

In theory it can... but it'll be a lot of work. Does the final output have to be a consolidated excel workbook? Have you thought about exploring dataflow or datamart?

 

If you still insist on working with Power Automate maybe something like this can work:

 

1. Recurring 1 Month

2. Open consolidated workbook

3. Check latest period in table

4. Filter for workbook where year-month is greater than latest period

5a. For each excel in output 

5b. Select table or sheet

5c. If output is more than limit, do an inner loop until you retrieve all records

6. Add rows to consolidated workbook



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Anonymous
Not applicable

Thanks, this was definitely helpful.
I don't know much about the developent of a dataflow or datamart. So it would be a learning process.

What would be the advantages of either one?

@Anonymous ,

 

They're both cloud-based technologies that allows you to perform automated ETL tasks. The final output is saved on Azure Gen2 datalake where you can connect directly from Power BI to consume. They both can be scheduled to update based on your frequency liking. 

 

As a dataflow, you can share it and use it as a single source of truth.

A datamart is similar but gives you the flexibility to connect to it and build SQL queries to return only relevant data that you need per product.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Anonymous
Not applicable

Thanks very much!

PaulDBrown
Community Champion
Community Champion

If you need it to import into a PBI, and as long as all the files have the same struture, you can use the Sharepoint folder connector to import the files (no need to consolidate them into a single file; all you need is to keep adding files to the folder). PBI will import all the files included in the folder.

See this video





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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