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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excel to Excel Large D...
Power Automate
Unanswered

Excel to Excel Large Data Update

(0) ShareShare
ReportReport
Posted on by 6

Hello!

 Over the last year I have been able to learn so much from building flows! Normally, I have been able to figure out my issues, however, this time I need help.

 

VISION/PLAN: Take a large raw excel file(1,000+ rows, 100 columns, and not all cells have values) exported from a parent system, place it in a document a library, transfer data to a static Excel file(master file), then update MS lists. 

 

WHAT I HAVE DONE: Built a 3 phase flow

 

Phase 1) When the raw Excel file is placed in the document library, a flow is built to convert the range of values into a table. Once converted, the file is placed in another document library to trigger phase 2.

 

Phase 2) Compare data from raw excel to master file using a filter array to update/add rows from raw data to master file. The master file takes the data and ensures the all formatting is set so there are no issues when transferring data to MS Lists. The raw excel file is then moved into its final resting place in a 3rd library, to trigger the final phase.

 

Phase 3) Take data From master file and update MS lists accordingly. The raw data is then archived.

 

Issues: all phases have been successfully built and the information flowed just as expected, however, when I try to transfer data in Phase 2 the flow slows down considerably after about 800 rows. My pagination is set to 5000 and concurrency is set to 50 on the 'Apply to Each' portion (add/update rows) my retry policy is set to default. I would also occasionally get a 429 error, so I added a delay of 30 seconds  within the 'Apply to Each'. 

 

I've even brought concurrency down to 30 and still it is taking way longer than it needs to. 

 

Does anyone have any tips on how i can improve my flow in phase 2? Make it more efficient.. (note, I do not the office script option, so I can't run that) 

 

 

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Have you considered using a database instead? It would dramatically improve the performance.

  • StevenMcElyea Profile Picture
    6 on at

    Hello Ibendlin,

     

    That is essentially what this will be. 

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    I meant a real database like SQL Server.

  • StevenMcElyea Profile Picture
    6 on at

    Unfortunately our company doesn't use SQL, so that is not possible. 

  • VictorIvanidze Profile Picture
    13,073 on at

    I believe you can significantly improve performance using MS GRAPH:

    https://learn.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0

  • StevenMcElyea Profile Picture
    6 on at

    Hello Victor,

     

    Thank you for your reply, after reading that article, it stated that I would need the excel file to be an .xml and not a .xls file. All of my excel files are .xls. will switching over to .xml disrupt data that is currently in there?

     

    Thanks!

  • VictorIvanidze Profile Picture
    13,073 on at

    I don't know. Try to do the same things as shown here: https://blog.udemy.com/excel-to-xml/

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    If your files are .xls then you are pretty much doomed. That format was deprecated in 2003. It is not conducive for automation 

  • David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at

    Unfortunately, I cannot offer advice to solve your issue, I can just tell you how I do what you need to do. First, I would try creating a dataflow to import your Excel data into a Dataverse table. Then to sync the Dataverse table with your SharePoint list, I would use Layer2 Cloud Connector: How to sync Microsoft Dataverse Data with SharePoint. A Step-by-step intro. (layer2solutions.com)

     

    Depending on what you are doing with the data, maybe just having it in Dataverse will be enough for what you need to do as you can access Dataverse tables in all of the Power Platform.

  • takolota1 Profile Picture
    4,974 Moderator on at

    @StevenMcElyea 

     

    Have you considered using batch processing?

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Excel-Batch-Create-Update-and-Upsert/td-p/1624706

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard