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 Automate
Answered

OData/Filtering Help

(2) ShareShare
ReportReport
Posted on by 73
Hi all
 
I have a SharePoint List "Client", with 2 fields in it: Company Code and Email ID. Email ID can contain one or more contact persons email addresses, seperated by ";"
Eg
ComplanyCode      Email ID
CPY001                   bob@gmail.com
CPY002                   Tom@outlook.com;Lisa@gmail.com;Ann@mito.com
CPY003                   Robert@intnet.mu
 
After I received a mail, I am storing the Email id of the sender in a variable SenderEmailID.
I want to filter the List using Get Items in PowerAutomate  to retrieve the CompanyCode where the SenderEmailID matches Email ID. 
How can I achieve it? Using OData? 
 
Seeking your assistance. Thanks.
Jaweed
Categories:
I have the same question (0)
  • Verified answer
    stampcoin Profile Picture
    5,146 Super User 2026 Season 1 on at
    You can use Odata query, like use substringof function. ( I typed substring, sorry)
     
    or you can use filter array.
  • stampcoin Profile Picture
    5,146 Super User 2026 Season 1 on at
    no substring of.... in the fx.. below I used filter array.
     
    first , i limited the result
     
     
  • w.p Profile Picture
    8,345 Super User 2026 Season 1 on at
    fyi PowerAutomate and SharePoint OData filter queries
    https://blog.velingeorgiev.com/powerautomate-and-sharepoint-odata-filter-queries
  • JL-21120807-0 Profile Picture
    73 on at
    @stampcoin Thank you. I used substringof, working properly.
     
    I do not know the steps to implement the Filter Array option,  I would have liked to know how implement,  for knowledge building.
    Thank once more.
    Jaweed
  • stampcoin Profile Picture
    5,146 Super User 2026 Season 1 on at
     
    Use Filter array, will be like this.
    if you don't want to use for each. you can use Odata query in step 3, for example, you have a field which can identify the mail from which company, if it is unique, you may not need other steps.
    please let me know if the screenshot make sense to you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard