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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint Get Items O...
Power Automate
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard