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

Filter Query Issue

(0) ShareShare
ReportReport
Posted on by 143

Hi,

 

I am using a filter query step in a flow to get a specific record from a Products SP list using a serial number field. The serial number field is a single line text field.

 

The issue is that if I have a record of a product with the serial number beginning with 0 then filter query step fails with this error message - "The expression "SerialNumber eq 06201200" is not valid. Creating query failed." but if I add a 1 at the beginning of the serial number and do the same then it works.

 

Is there a reason why this fails with a leading 0?

 

Dhiran

Categories:
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Dhiran 

     

    Use string in your serial number expression: example- String('Serial number').

     

    Thanks

    Hardesh

  • Verified answer
    Dhiran Profile Picture
    143 on at

    Hi @Hardesh15 ,

     

    Thanks for the reply but it looked like my flow had lost the single quotes around the serial number field. Put them back in again and now its working. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard