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 / filter a gallery by us...
Power Apps
Answered

filter a gallery by user from field with multiple entries

(0) ShareShare
ReportReport
Posted on by 75

I have a powerapp that is connected to a Sharepoint list. One of the fields is a name entry that is autopopulated with the User information for the current user but it accepts multiple entries, i.e. you can add colleagues' names. 

I want to filter a Gallery, so that a user sees all the entries he is tagged in. Filtering by the person that created an item works, but how do I filter on another name field

 

If [any of the] names in [field] = current.user(name) 

 

what I can do is to filter on the "created by" field by using:

SortByColumns(Filter(Datatable,User().Email = 'Created By'.Email),"Created")

so how do I need to replace the expression 'created By'.Email to look through all the people in my other field and see if any of the emails matches?

Categories:
  • Maexchen Profile Picture
    75 on at

    can anyone at least point me into a direction. How I can search trough a field where the data is stored as tables? I know how to search through a list but not how to do this for individual fields.

  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Maexchen ,

     

    Is this field a multiple-select enabled person and group field? If so, then please use a formula like below:

    Filter(ListName, User().FullName in MultiPerson.DisplayName)

     

    Regards,

    Mona

     

  • Maexchen Profile Picture
    75 on at

    thanks, that's exactly what I needed! 

  • Anna1234 Profile Picture
    4 on at

    Hello,

     

    I have tried to write this formula in my apps but it seems not to be working because of delegation warning. It basically says “delegation warning. The highlighted part of this formula might not work correctly on large data sets”.

    The thing is, I am not really sure on how to create a delegation here. I have a SP list named Organization in  which I have “Departments” column and another multi-person column “Managers”. I would like to display a gallery filtered by managers (who can be responsible for several departments at the same time) so that when one clicks on a manager name they can see the list of department he or she is responsible for. 
    My SP list is not that big but the multi person field is of course tagging people from my organization (with all information related to them).

     

    that would be great if you could help me out , I’ve been struggling for so long with it!

     

    Anna

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard