cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NewBee117
Advocate V
Advocate V

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! 

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (3,092)