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 / The expression is not ...
Power Automate
Unanswered

The expression is not valid. Creating query failed.

(0) ShareShare
ReportReport
Posted on by 16

Hi all

I am trying to create a flow that will read and excel file and update a SharePoint list if there are new items. 

 

Here is the error message I am getting

 

 

The expression "Program Name eq 'Axo'" is not valid. Creating query failed.
clientRequestId: 080a435d-57b9-4db1-aabb-6f38d43968ee
serviceRequestId: 080a435d-57b9-4db1-aabb-6f38d43968ee

 

 

Raw Inputs

 

 

{
 "host": {
 "connectionReferenceName": "shared_sharepointonline",
 "operationId": "GetItems"
 },
 "parameters": {
 "dataset": "https://generic.sharepoint.com/sites/testsite",
 "table": "f3ad2274-cee3-40f3-b82e-8ea48b5af58a",
 "$filter": "Program Name eq 'Axo'",
 "$top": 1
 }
}

 

 

Filter Query

filter query.JPG

 

Condition

error.jpg

Excel File

excel.JPG

SharePoint

 

sp.JPG

test

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

    Hi @Davinci 

     

    Since Filter Query has many limitations when using in excel or sharepoint, you can try to use ‘Filter array’ with less limitations to get the outputs you want.

    3.8-5.PNG

     

    If the problem still exists, please feel free to let me know.

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    G'Day

     

    I had this issue too - found from inspecting the raw outputs & inputs of property filters that you can't use a space in the field name - replace spaces with _x0020_

    e.g. Trebuchet_x0020_ID eq '1024' where the field Trebuchet ID is a text string.  Different for number fields.

  • Venomtver Profile Picture
    75 on at

    Replacing space is not always working. 

    I also tried to apply Filter array, but didn't find fast solution with that.

    Instead, I found out, that if you switch your field to advanced mode, you will see how your field should be written in filter query. 

    Add value in 'quotes' to your query to make it work.

    Venomtver_1-1651844915948.pngVenomtver_0-1651844757648.png

     

  • Barath_Kumar_G Profile Picture
    2 on at

    Hello , 

    Above filter array also not working 

    Barath_Kumar_G_0-1654167537698.png

     

  • rekha97jr Profile Picture
    34 on at

    Hi @v-yiwenxie-msft , @Barath_Kumar_G  , @Davinci , @Venomtver I have a condition for 2 of my fields in sharepoint, which says "Evaluate to TRUE if From date and To date are having values. evaluate to false otherwise". But i dont knw why it always evaluates to TRUE when tested.

    can you please help.

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard