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 / Sharepoint Get Items O...
Power Automate
Answered

Sharepoint Get Items Odata filter substringof or contains usage

(0) ShareShare
ReportReport
Posted on by 5

Hi ,  

I am trying to use  the Odata filter with substringof command to filter only the lines that contains some specific names,  the names are SPACE delimited string values like "USA CANADA GERMANY" 

i tried : 

substringof(ContryName,'CANADA')  
but it is not working , error code 400 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Yonik ,

     

    You should put the field name as the second parameter in substringof() function:

    117.PNG

    Reference:

    https://sharepains.com/2018/11/12/sharepoint-get-items-odata-filter-query/

    Besides, please try to run Get items action without configuring Filter Query first, then check the body of Get items action to get the internal name of the field.

    Please take a try again.

     

    Best Regards,

  • Yonik Profile Picture
    5 on at

    Thanks @v-bacao-msft ,  

    Your recommendation was very correct, seems that share point list does not use same column names in FLOW automation.  

    More over the calculated field is not identified by FLOW at all.  

     

    However i solved the problem by using "yes/no" fields  and filtering with "EQ" operator.  

    Thanks  again  

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 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard