Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Filter multi people columns in gallery

Dear Pros,


Please help me to filter in gallery. I have SharePoint list data with person or group columns and I want to show in PowerApps Gallery if User().Email = 'Created by'.Email and Manager.Email and DepartmentHead.Email ...


Is there have any simple coding? I tried = in if or and but all has some error.

Here is my code:  in Items 

SortByColumns(Filter([@NewRisk],StartsWith(Risk_title, TextSearchBox1_3.Text)||StartsWith(Risk_ID,TextSearchBox1_3.Text)||StartsWith(Status.Value,TextSearchBox1_3.Text),If('Created By'.Email=User().Email,Action)), "Created", If(SortDescending1, Ascending, Descending))




Please help




Responsive Resident
Responsive Resident

Hi @altanzaya - I think you are asking how to filter data source with multiple people picker columns and set gallery items. If so, try this first and once you confirm it's working add other logics. This works for both single or multi users people picker columns. If you are getting error, please copy/paste the formula and error message here.

Filter(NewRisk, 'Created By'.Email in User().Email, Manager.Email in DepartmentHead.Email)


Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.


Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,659)