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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patching multiple item...
Power Apps
Answered

Patching multiple items in Table

(0) ShareShare
ReportReport
Posted on by 70

Guys,

 

I feel somewhat embarrassed and humbled. 

The entire day, I have been trying somethin, I thought would take me 3 minutes.

 

I have a table inside a power apps solution called "Durchlauf". I want to patch the column "Abgeschlossen" (Finished) to "Ja" (Yes) for all entries of that table where the Chargennummer (batch no.) is equal to Label1. 

 

The code:

ForAll(Filter(DurchlaufChargennummer = Label1.Text); Patch(Durchlauf; LookUp(DurchlaufChargennummer = Label1.Text); {Abgeschlossen: "Ja"}))
According to all the Youtube Videos, written articles and least of all, my brain, this should work, however I get a bunch of errors including "LookUp has invalid arguments",  something about invalid GUID arguements, patch having invalid arguments, column "Abgeschlossen" not existing, ...
 
Any help is as always appreciated.
 
BR,
Gonzo
Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @MS_Gonzo 

    Rather than call ForAll/Patch, it would be easier to call UpdateIf to update multiple rows based on a condition.

    UpdateIf(Durchlauf;
     Chargennummer = Label1.Text;
     {Abgeschlossen: "Ja"}
    )

    You don't mention the data type of Abgeschlossen - if it's a choice column rather than a text column, the syntax would look something like this.

    UpdateIf(Durchlauf;
     Chargennummer = Label1.Text;
     {Abgeschlossen: Abgeschlossen.Ja}
    )

     

  • MS_Gonzo Profile Picture
    70 on at

    Thank you. That appears to have done it. 

    😀

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard