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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (94,621)