cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NewBee117
Kudo Collector
Kudo Collector

App performance - sum and patch

Is it possible to make this run faster? It takes 10 sec to finish. All it does is when the weekly value changes, it also update the monthly total in a different gallery.

 

      NewBee117_0-1621888477562.png

Screen showing orange selected, and value change.

NewBee117_0-1621888982157.png

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
CNT
Super User
Super User

@NewBee117 If you wrap the Patch statements inside a Concurrent() function they will run simultaneously and make it faster. Give it a try! 

View solution in original post

3 REPLIES 3
CNT
Super User
Super User

@NewBee117 If you wrap the Patch statements inside a Concurrent() function they will run simultaneously and make it faster. Give it a try! 

NewBee117
Kudo Collector
Kudo Collector

I rearrange the code so I can use Concurrent(), now it is 40% faster. Thank you @CNT .

CNT
Super User
Super User

@NewBee117 Glad to help!

 

Please remember to give a 👍 and accept the solution as it will help others in the future.

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.

Top Kudoed Authors
Users online (1,302)