cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wsalling
Helper III
Helper III

Extremely Slow patch using onedrive and excel

I have a very simple test i am running.  i have a collection that has 1800 rows of data.  i am patching this collection to an excel sheet on oneDrive.  Currently is processing the data at about 1 row every 3 seconds.  Is this normal speed? Seems exremely slow.

Internet speeds are 500 down and 50 up. i have a label set to show countrows(colCounter) to show progress.

colTest has 1800 rows of data.

Forall(colTest,Collect(colCounter,Patch(.......)))

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Using a ForAll with an Excel table that is a relatively typical speed for a table that large.  You might want to look into passing the collection to a flow to do the patching.  ForAll() isn't a particularly efficient process since it has to evaluate each record in the collection before doing the process.  In a flow you would have an Apply to Each loop, which can be more efficient.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

Using a ForAll with an Excel table that is a relatively typical speed for a table that large.  You might want to look into passing the collection to a flow to do the patching.  ForAll() isn't a particularly efficient process since it has to evaluate each record in the collection before doing the process.  In a flow you would have an Apply to Each loop, which can be more efficient.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Thanks for the help.. Would be able to point me direction of samples or tutorials? in mean time i will see what youtube has.

 

thanks again. Took hour an 30 mintues by the way.

 

I tried to add Excel for Business but get this error

 

"Unable to process template language expressions in action 'Add_a_row_into_a_table' inputs at line '1' and column '2665': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_excelonlinebusiness']['connectionId']' cannot be evaluated because property 'shared_excelonlinebusiness' doesn't exist, available properties are ''. Please see https://aka.ms/logicexpressions for usage details.'."

 

Flow is simple enough, get variable from Powerapps as Json, parse Json, the add to table. ideas?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (3,012)