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 / Syntax error ODATA Excel
Power Automate
Unanswered

Syntax error ODATA Excel

(0) ShareShare
ReportReport
Posted on by

I need a help. Using simple odata sheet isn't enough for flow. I'm getting a lot of syntax errors.

I need:

filter=substringof(Name, ‘urn’)


For excel ODATA I got to the point It have to be filter substringof(Name, 'Urn') and I'm getting syntax error at position 18. 

 

Thanks for help.

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Looks like your substring syntax is wrong. You need to specify startindex and length along with the string.

     

    image.png

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    It's complete different function. It's ODATA. Not expression. Its not substring its substringOF. Please read more carefully 😉

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Thanks for the clarification. Yes for some reason I couldn't run substringof as FilterQuery.

     

    The other alternative is use the Filter Array to filter the valueimage.png 

     

     

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    This works as well

     

    image.png

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Here it says why it's not working

     

    https://stackoverflow.com/questions/24994774/webapi-2-2-does-not-support-substringof-function

     

     

  • Community Power Platform Member Profile Picture
    on at

    Can you tell me where you found contains as ODATA query? I was told to use that:

    https://help.nintex.com/en-us/insight/OData/HE_CON_ODATAQueryCheatSheet.htm

     

    I would be grateful for showing me where I can find it. That was pretty obvious function and I was geting mad because "Contains should be sort of basic function!" and I couldn't find anywhere proof of existing that function.

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    https://www.odata.org/getting-started/basic-tutorial/

     

  • Community Power Platform Member Profile Picture
    on at

    One more. I have new issue. I need to create <contains(name,'x') or contains(name,'y')> Its possible?

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    I did tried now. It's not possible to have OR operator under contains. What you could do is try to set another List filter and combine both results into one.

  • Community Power Platform Member Profile Picture
    on at

    Thanks! From my experience filter array is bad direction. Because of performance. It's a lot of slower than using ODATA. I'm more into making parallel listing with ODATA.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard