Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on by 109
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?
  • Verified answer
    Nandit Profile Picture
    1,563 Super User 2025 Season 1 on at
    Check for User() in a Multi-Select Person/Group column
     
    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!

     
     
  • NM-06090901-0 Profile Picture
    109 on at
    Check for User() in a Multi-Select Person/Group column
    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
  • Suggested answer
    David_MA Profile Picture
    10,554 Super User 2025 Season 1 on at
    Check for User() in a Multi-Select Person/Group column
    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'))

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard