Hi guys,
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!
Ville
Solved! Go to Solution.
Try:
If(User().FullName in ThisItem.Attendees.DisplayName ,true, false)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Try:
If(User().FullName in ThisItem.Attendees.DisplayName ,true, false)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
User | Count |
---|---|
221 | |
99 | |
94 | |
55 | |
35 |
User | Count |
---|---|
273 | |
105 | |
104 | |
60 | |
60 |