web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to solve UpdateIf ...
Power Apps
Unanswered

How to solve UpdateIf function slow problem for power apps?

(0) ShareShare
ReportReport
Posted on by 201

Dear all:

 

I am working on power apps with sharepoint list.

I would like to update one column and keep others for sharepoint list, so i using updateif to do so.

If i set updateIf( list1, Level <> 0 , { Comments:  ""}) as button onselect.

Jackywei_BDF_0-1654499539346.png

Jackywei_BDF_1-1654499650071.png

 

It is working, but it need cost 15 seconds to finish it.

It is so slow for me.

Would you please tell me how to solve this issue or use other function to do so?

 

Thanks a lot:)

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,030 Most Valuable Professional on at

    Hi @Jackywei_BDF ,

    I am not how much quicker (if at all) this will be, but try

    With(
     {
     wPatch: 
     Filter(
     list1,
     Level <> 0
     )
     },
     Patch(
     list1,
     ForAll(
     wPatch As aPatch,
     {
     ID: aPatch.ID,
     Comments: ""
     }
     )
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard