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 / Mass-Update items in a...
Power Apps
Answered

Mass-Update items in a gallery based on a checkbox tick

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to mass-update items in a gallery's statuses to "Completed" based on them being checked, or not checked.

 

Data Source = 'Action Plans'

Each gallery item is an action plan that has to be completed. I want to check all of the completed items, and update their statuses using a button at the bottom. So the button mass-updates all of the item statusses.

 

I cant get the button to do this. I don't know how to change the status based on the checkbox, as well as using ForAll to patch each individual item based on the abovementioned condition.

 

Capture.JPG

 

Categories:
  • Verified answer
    v-sheyu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Where’s your data source from ?

    Can you show me your formula ?

     

    I assume that your data source is from sharepoint list .

     

    I have made a test .

    I create a list named test4 .status column is single text type.

    19.PNG20.PNG

    Set Onselect property of the button to :

    ForAll(RenameColumns(Filter(Gallery1.AllItems,Checkbox1.Value=true),"ID","ID1"),Patch(test4,LookUp(test4,ID=ID1),{status:"completed"}))

    21.PNG

     

    Regards.

    Eason

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I used your formula and am getting an error. The data source is a SP list, and the column is named 'Issue Status'. It gives me the following error on the column:

     

    The type of argument 'Status' does not match the expected type 'Record'. Found type 'Text'.

    Capture.JPG

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-sheyu-msft

    forgot to mention that the status field is a dropdown.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard