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
Solved! Go to Solution.
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:
Please take a try and if you have further needs, please provide more details.
Best Regards,
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:
Please take a try and if you have further needs, please provide more details.
Best Regards,
Works like a charm. Thank you!
Why does hard coding the email address work but using a dynamic value does not?
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.
I tried editing in advanced mode for functions string(), toUpper(), and tried operator contains.
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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
72 | |
26 | |
16 | |
16 | |
15 |
User | Count |
---|---|
145 | |
45 | |
44 | |
33 | |
30 |