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 / "List rows present in ...
Power Automate
Answered

"List rows present in table" with startswith or contains filter - can't figure out syntax

(0) ShareShare
ReportReport
Posted on by 6

When I use "eq" in the Filter Query, it returns one line like it should:

 

Number eq '29080'

 

But I'm having trouble figuring out what the respective syntax would be with contains or startsWith (either will do). I've tried this and it fails:

 

Number startswith '29080'

 

And if I try this it returns nothing:

 

startsWith(Number, '29080')

 

Anyone know what my syntax should be?

 

ts_ericjlitt_0-1602793305791.png

 

Categories:
I have the same question (0)
  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @ts_ericjlitt 

    Hi there.  So, your syntax on the last one is correct, here is a handy reference:

     

    Every Power Automate (MS Flow) Filter Query You Ever Wanted To Know As A Functional Consultant

     

    I'm wondering if it's returning nothing with that one because of a type conversion or something.  Try making the number less specific: startsWith(Number, '2')

     

    And if that still returns nothing, try it without the single quotes.  Those usually indicate a string, so if the field is numeric, it may not recognize that.

     

    Keep us posted.

    -Ed

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • ts_ericjlitt Profile Picture
    6 on at
    Hi @edgonzales , I think you are right it was a type conversion issue. I ended up nesting my eq, which only matched the ints (29080), with my startswith, which only matched the strings (29080A, 29080B). Between those two expressions I have the total number of matches. Seems like unintended behavior but at least I have a workaround.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard