Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Updating Column Sharepoint list with Powerapps

Hello pros in Powerapps!!! I have an issue


I want to create a voting app on new ideas,

When people change the toggle then add the peoples name in Likes column and add number of likes in NumberOfLikes 


1. I have Sharepoint list Ides with 3 columns(newIdeas, Likes, NumberOfLikes  )

2. I created a toggle when with onChange: Patch([@Ideas],Defaults([@Ideas]),BrowseGallery1_4.Selected,{Likes:Office365Users.MyProfile().DisplayName})     

3. I want to update and add a person who cliked,in an existing data in "Likes" Column but dont know how to write codes 

4. Also count peoples who clicked


Please help me to create the codes.


From Mongolia





I wanted to let click a toggle only once and tried to solve with Displaymode. When someone changes a toggle then it should stay as changed 'disabled'.


Thank you very much for your quick respond.




@altanzaya ,

Yes, but where is it written (what property on what control)


Toggle's control and on change I put the Updateif that you helped to discover.


Continues to save data to SP, which works perfectly, but now I want to make the app to toggle only once in 1 idea. 

If you toggle it then it should stay as toggled.




@altanzaya ,

So are you saying that this code

   Toggle1.Value = true, 

is on the OnChange or on the DisplayMode of Toggle1  (which is effectively disabling itself when toggled to true)?

The second one should work, but bear in mind if someone makes a mistake, they cannot correct it.


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.


View solution in original post

Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,945)