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 / Using excel connector ...
Power Automate
Unanswered

Using excel connector to automatically update a report using apply to each moves at a snails pace

(0) ShareShare
ReportReport
Posted on by 189

I'm using a few excel connectors to automatically update a report via apply to each but the flow is processing extremely slow. In my flow I list rows present in a table for my report and for the report containing the data used to update my report. My report has around 300 rows and 18 columns. The other report has roughly 3000 rows but only a few columns. I then place an apply to each over my "update a row in a table" connector where I hammer out a few if statements for each column to control the conditions for what should be displayed on my report. I then match column "Colleague" with the other report's column "Employee" to ensure that my rows are lining up with the correct data. Everything works mostly, (I still have a few columns that just never seem to update and I'm completely lost as to why) but man is it slooooooow. It takes several hours for the flow to finish. When it finishes I still have a few columns left over to manually update but honestly it's far faster than it was when I was having to manually enter the data. I'm just curious as to why this flow takes so long. I know one of the spreadsheets is relatively long but I wouldn't think it would be a problem for a computer to scan through since it's only a few thousand rows. I am having to do an apply to each for both reports since my if statements need to leave each column in its original state if the primary condition checks false and the only way I have found to do this is to have the "else" part of my if reference back to the original cell in the column/row. I tried doing if where the else was left blank but I kept getting the "expected 3 parameters only received 2" error, and if I set it to false it actually entered the word false onto my report.

 

Maybe there is a more efficient way to accomplish what I'm doing? One that takes a fraction of the time and doesn't skip over any of my columns?debug1.PNGif(contains(items('Apply_to_each_skills')?['Characteristic'], 'sub_cat'), items('Apply_to_each_skills')?['Current Rating'], items('Apply_to_each_comp')?['sub_cat'])if(contains(items('Apply_to_each_skills')?['Characteristic'], 'sub_cat'), items('Apply_to_each_skills')?['Current Rating'], items('Apply_to_each_comp')?['sub_cat'])

Categories:
I have the same question (0)
  • vayinapurapu1 Profile Picture
    233 on at

    Have you looked into the below workaround?

    Different ways of getting Excel data using Power Automate | by Anoop | Medium

  • kgreen8790 Profile Picture
    189 on at

    Ok, I just gave it a look. Definitely some useful info in there. My latency is in the update a row in a table connector so I'm having a little trouble conceptualizing how I would apply this array process to my use case. If I can figure that out and it works then I would be extremely grateful.

  • takolota1 Profile Picture
    4,974 Moderator on at

    @kgreen8790 @vayinapurapu1 

     

    If you have access to Office Scripts, then this Update & Create template may be very helpful.

     

    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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard