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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,641)