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?
Solved! Go to Solution.
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
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.
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
thanks, that's exactly what I needed!
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
User | Count |
---|---|
209 | |
94 | |
84 | |
49 | |
39 |
User | Count |
---|---|
264 | |
104 | |
104 | |
61 | |
59 |