Notifications
Announcements
Hi! I have a PowerApp with a sharepoint list as data source, my requirement is if one button (check icon) is selected, it will patch all items' yes/no column to 'yes', how do i do it? Thanks in advance for any help
Hello @Anonymous
You can either use ForAll with Patch.
On the OnSelect property of the code use:
ClearCollect(TempList,SharePointListName); ForAll( TempList as ABC, Patch(SharePointListName, LookUp(SharePointListName, ID=ABC.ID), { YesNoCol: true } ) );
Hi @Anonymous,
Do you want to click a check button to update a Yes/No column with 'yes'?
I want to tell you that we could only update a Yes/No with boolean value like true or false, you should change it to Text type if you want to update with yes or no.
Here is a simple formula to achieve your need by setting the OnSelect porperty of the check button as below:
UpdateIf(ListName,true,{'Yes/No':true})
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268