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

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

SharePoint get items filter by people field

(0) ShareShare
ReportReport
Posted on by 9
Trying to filter a filter returned results from a sharepoint list where multi select people field (Requestor) contains an email address contain in a variable.
 
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    KT-11121621-0 Profile Picture
    14 on at
    SharePoint get items filter by people field
    Hi, N
     
    Could you provide more context what you're trying to accomplish with the expression?
     
    Because I don't think its substringof - its substring. 
     
    Are you trying to find an email within a string? 
    If you know that the string always occurs between the third and fourth comma in a string, you could use nthIndexOf function to find the start position of the third comma, which would be the start of the email address, and then nthIndexOf  again to find the position of the fourth comma to find the end of the string.  Then you can use those values in the slice function to extract the email.
     
    It would look something like this:
    slice(varRequestor, nthIndexOf(varRequestor, ' ', 3), nthIndexOf(varRequestor, ' ', 4))
    Essentially, this reads as 'slice the the var Requestor string starting at the third comma and ending at the fourth comma'.
     
    Here's a link to documentation:
     
    Good luck and let me know how it goes.
  • Ellis Karim Profile Picture
    11,473 Super User 2025 Season 2 on at
    SharePoint get items filter by people field
    Hi@
     
    I think you will need to use a filter array action after the Get Items action. The OData Filter Query in can’t filter on the person column.
     
    You could try:
     
     
    Ellis
    https://elliskarim.com
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard