Displaying an icon in gallery if the current user exists in the list item's "User or Group" column
I have created an example app to demonstrate my issue. I'm using SharePoint as my data source and I have created a gallery in Power Apps to display the data as shown as below.
The column I'm interested in is the Attendees column which is an "User or Group"-type of column and it accepts multiple values. Now let's say Jaakko logs into this app. I want to show an icon to display if the current user exists in the Attendees column. If the user doesn't exist in the Attendees column, no icon is show in the gallery. Jaakko's screen would look like this...
...because he exists in the Attendees column. I have tried to apply If(ThisItem.Attendees.DisplayName = User().FullName, true, false) to the icon's Visible-property without success. Please help!