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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Question around filter...
Power Apps
Answered

Question around filtering on a multi-value person field

(0) ShareShare
ReportReport
Posted on by 129

Hi,

 

I am very new to building a power app and starting with my first based on 2 sharepoint lists.  I want to be able to filter my records gallery to only show records where the participant (multi-value field) matches the current user logged in.  

glitter1234567_0-1701394287612.png

 

I have tried to add the filter as follows 

 

User().Email exactin Participants.Email

 

I have also tried populating a variable on the apponstart then  doing

 

vrUserEmail exactin Particpants.Email

 

But nothing seems to work

 

The participants field is a sharepoint list column that is of type people and allows for multi-values.

 

Can any please provide any assistance?

 

Thanks

 

 

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @glitter1234567 ,

     

    Please try:

     

    User().Email in Participants.Email

     

    Best Regards,

    Bof

  • glitter1234567 Profile Picture
    129 on at

    Sorry - I should have said i tried 'in' also still no results

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @glitter1234567 ,

     

    I've made a test but did not encountered the problem you mentioned. How many items are there in the SharePoint list?

    vbofengmsft_0-1701394976028.png

    vbofengmsft_1-1701395039219.png

     

    Best Regards,
    Bof

     

  • glitter1234567 Profile Picture
    129 on at

    not many only 114


    It just brings nothing back

    glitter1234567_2-1701395819553.png

     


    If I take that filter out I get values as I expect

     

    glitter1234567_1-1701395739871.png

     

     

  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @glitter1234567 

     

    Maybe just try to only filter on the logged in user:

    Filter(
     'Unit Committee Review Meetings',
     User().Email in Participants.Email
    )

     

    And see if you get any results back.

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • glitter1234567 Profile Picture
    129 on at

    still no results 😞

     

  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @glitter1234567 

     

    Maybe you can try it hardcoded and see if you find any results:

    Filter(
     'Unit Committee Review Meetings',
     "example@companymail.com" in Participants.Email
    )

     

  • glitter1234567 Profile Picture
    129 on at

    Great idea!! That worked, so my problem is with this piece of the equation then  user().email but I also tried an onstart variable vrUserEmail neither worked.

     

    Incidentally I am using the preview the app (play button at the top right-hand corner) - is that correct to populate the user().email  ?

  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Yes, using the preview app (the play button at the top right-hand corner) is correct for testing your app and should populate the User().Email function.

     

    That might not be working as expected.  Please check if the User().Email is the mailadres in the Participants.Email. You can do this by putting the User().Email in a Label.Text propety and check the email. Also check the case sensitivity, the User().Email might be case sensitive. Lastly you also have the User Principal Name (UPN). In some cases, the User().Email might return the User Principal Name (UPN) instead of the email. If the UPN and the email are not the same, this could cause issues.

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • Verified answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @glitter1234567 

     

    Also good to hear that it worked.

    It would be also good to others to see that your problem got solved by accepting a answer for this topic. 

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard