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

Creating a thumbs up/like function



I would like to have a thumbs up/like feature into a gallery on one of my screens.


Here is a bit of background about the gallery, it its linked to a SharePoint List, which logs maintenance items, so a user submits a maintenance item and then all submissions are shown in the gallery. Id like to have a thumbs/like function in the gallery, so users can like them, for example if they have also the same maintenance issue.


I have created two columns in my SP list ‘Thumbs’ (I’d like this to add up the numbers of like for each particular item and ‘ThumbsUser’ (to log the email of the user who’s selected the thumbs up icon).


Example “Item1” in my SP list would show how many likes it had in the ‘Thumbs’ column, and ‘ThumbsUser’ would list all the emails in one cell for that gallery item.


I found a solution on here similar to what I am trying to achieve, here is the link


I am very new to PowerApps so treat me as a complete novice 😊


I hope this helps, thanks.

Super User
Super User

It's really not difficult.  


When someone clicks on your Thumbs up icon, the OnSelect formula would look something like this.


Patch(DataSource, Gallery1.Selected,
     Thumbs: Thumbs + 1
     ThumbsUser: ThumbsUser & "; " & User().Email


If you want to get fancy (make sure your ThumbsUser column is multiple lines of text, you can do this.  The 'Char(10)' will give you a line break in between the email addresses


Patch(DataSource, Gallery1.Selected,
     Thumbs: Thumbs + 1
     ThumbsUser: ThumbsUser & "; " & Char(10) & User().Email


If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,230)