web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Merge Excel files in s...
Power Automate
Answered

Merge Excel files in sharepoint to an Azure SQL database

(0) ShareShare
ReportReport
Posted on by 6

Hello,

 

I have a SharePoint folder with hundreds of excel files with the same columns. Every day I save a new file.

 

How can I prepare a flow to take the rows of an excel file (when it is added to the folder) and append it to an existing Azure SQL table?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @dbocvan ,

     

    Generally speaking, we can only get the created Excel table and configure it in List rows present in a table, so that we can get the field value in the Dynamic content list so that we can configure other actions.

     

    Now we can directly use the Excel file identifier to get the field value in the Excel table. But it seems that the requirements are more demanding. https://docs.microsoft.com/en-us/connectors/excelonlinebusiness/#known-issues-and-limitations

     

     

    If the Excel table is obtained dynamically, it is hoped that the structure of the fields in the Excel table is the same, and the table names also need to be the same. In this way, we can click Enter custom value to dynamically get the Excel table. Only when the above conditions are met, we can configure the same schema in Parse JSON to parse the data in Excel table.

     

    You can refer to the following link for more details about Parse JSON:

    http://johnliu.net/blog/2018/6/a-thesis-on-the-parse-json-action-in-microsoft-flow

     

    Image reference:

    109.PNG110.PNG

     

    Hope that makes sense.

     

    Best Regards,

  • dbocvan Profile Picture
    6 on at

    Hi Barry,

     

    Thank you for your reply.

    I'm a Power Automate entry level user with no experience in Java Script.

     

    I think my requirement has 3 parts:

     

    Build an Azure SQL table with data from hundreds of excel files saved in SharePoint, each one with same columns.

     

    Merge to that same table other hundreds of excel files with other columns. The two type of files has the date column as common field.

     

    I have a Power Automate flow activated that saves 2 daily files I receive in my gmail account, in a SharePoint folder. The idea is to update the new SQL table with the new data on daily basis.

     

    Can you please share some documentation that I can refer to complete the 3 tasks?

     

    Thank you,

     

     

     

  • dbocvan Profile Picture
    6 on at

    Hi @v-bacao-msft ,

     

    Any idea of how can I create a SQL table in azure based on several excel files saved in Sharepoint, and update the table using Power Automate?

     

    Thank you,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard