web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Check for User() in a ...
Power Apps
Answered

Check for User() in a Multi-Select Person/Group column

(0) ShareShare
ReportReport
Posted on by 168
I need to create a filter that checks if the logged in users email is included in a multi select person column
 
LookUp('Apointment Calendar',User().Email in 'Technician Assigned')
 
Something similar with the above(although this does not work) where Technician Assigned might have more that one value and its a person column
 
Can someone shed some light on how to do this?
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Put the people field into a Filter array action and then filter the Email field on the person you are looking for:
    To get the value in the left side of the filter, you need to use the expression builder and enter item()?['Email']. Note, the filter is case-sensitive and that the dynamic value in the From field is your people field that does not return the e-mail, display name, etc.

    You can then use a condition to see if the value was found:

    This is the expression on the left side of the condition: empty(body('Filter_array'))
  • NM-06090901-0 Profile Picture
    168 on at
    Sorry i have used the wrong forum for my question.I have already edited the post.
    Just to clarify !! I need to do this in Power Apps only

    Thanks
  • Verified answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    I have added a Text label on the screen which displays a Yes or No based on if the person exists in the person column:
    With(
        {Records: 'Apointment Calendar'},
        If(!IsBlank(LookUp(
            Records,
            User().Email in  'Technician Assigned'.Email) // you can even look up a selected item or filter by ID
        ), "Yes", "No"
    ))
     
    Hope this helps.
     
    Kind regards,
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!

     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard