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
Dual Super User

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
Dual Super User

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.

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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,352)