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 Automate / How to filter get item...
Power Automate
Answered

How to filter get items properly for people?

(0) ShareShare
ReportReport
Posted on by 975

hey there

 

I was wondering how you can use get items to filter by a person? I have a column, let's call it "person", which includes the employee (it's a people picker field). Whenever I make use of the filter option from get items it won't return me any results. Ideally, I'd like to filter by the email "attribute" of that field. Any ideas on how to achieve this?

 

Cheers

Categories:
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @FabianAckeret ,

     

    It is not feasible to use Filter Query to filter items with Person filed.

    You could consider using Filter array to filter items.

    If Person field does not allow multiple selections, please refer to the screenshot below to configure Flow.

    Image reference:

    13.PNG

    Please take a try and if you have further needs, please provide more details.

     

    Best Regards,

  • FabianAckeret Profile Picture
    975 on at

    Works like a charm. Thank you!

  • kitUser Profile Picture
    27 on at

    Why does hard coding the email address work but using a dynamic value does not? 

     

    kitUser_0-1604077645903.png

     

  • kitUser Profile Picture
    27 on at

    I was able to work around this issue by first initializing a new variable called emailAddress. Then filtering the array with the variable. Still wondering why the direct comparison doesn't function as I expected. 

    kitUser_0-1604079576316.png

    kitUser_1-1604079644221.png


    I tried editing in advanced mode for functions string(), toUpper(), and tried operator contains. 

  • Thet Profile Picture
    3 on at

    Hi @v-bacao-msft , I have been struggling to filter the person field that allows multiple selections. I tried 'filter array' but it seems nothing is filtered. Does it require a different method? TIA

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 Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard