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

Change icon colour if users email is in SP list



I have a gallery in my App, in the gallery is a thumps up icon, when pressed it logs the users email to my SP list column 'ThumbsEmail'.


Id like the icon colour to change from standard grey, to green if the users email is in the SharePoint list column for the selected gallery item.


I assume I need to use Lookup, and apply the code to the fill on the icon but as a PA novice Im not sure how.



Super User
Super User

If the data source for your gallery is the same SP list, you shouldn't need to use lookup.   Lookup would just add additional overhead that's not needed.


Consider this: 

If( !IsBlank(ThisItem.Email) && ThisItem.EmailColumn = User().Email, 1stColor, 2ndColor)



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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,192)