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 / MS Flow expression is ...
Power Automate
Answered

MS Flow expression is not valid

(0) ShareShare
ReportReport
Posted on by 379

I have a SharePoint Get Items action in my flow that uses a Filter Query to select specific rows and it is returning the following error.

 

"status": 400, "message": "The expression \"Pads Expiration date ge '2023-05-04' and Pads Expiration date lt ' 2023-06-03'\" is not valid. Creating query failed.\r\nclientRequestId: f0ab3c48-e5fd-4b17-a253-f42e221091c7\r\nserviceRequestId: f0ab3c48

 

This is the expression: 

concat(concat('Pads Expiration date',' ge ''''',outputs('Today_+_x_days')),'''',' and ', concat('Pads Expiration date',' lt ','''', outputs('x_Days_+_30'),''''))
 
I appreciate any suggestions, I'm still learning on how to use flows 
Categories:
I have the same question (0)
  • Verified answer
    Sundeep_Malik Profile Picture
    6,501 on at

    Hey @lcdelgado 

     

    Instead of the above expression in filter query, try something like this:

     

    PadsExpirationDate ge 'outputs('Today_+_x_days')' and PadsExpirationDate le 'outputs('x_Days_+_30')'

     

    Sundeep_Malik_0-1680624331537.png

     

    In the above expression the pad expiration date might not match, keep it exactly how you have kept in sharepoint.

    One more thing to notice here is, I hope you are only dealing with date here and not time.

     

     

    I hope this helps 🙂

  • lcdelgado Profile Picture
    379 on at

    Its only date format

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 482

#2
11manish Profile Picture

11manish 280

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard