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 / Flow Filter Query retu...
Power Automate
Unanswered

Flow Filter Query returning error

(0) ShareShare
ReportReport
Posted on by

Hello, I am hoping you can assist me.

I am trying to write a sharepoint flow and am having issues with Filter Queries.

I am using Get file(properties only).

 

When I write a Filter Query with a typed date, then the query works. e.g "Last_x0020_Review_x0020_Date lt datetime'2018-10-05T23:17:12Z'"

 

When I do either of the following I am getting errors:

 

Filter Query: "Last_x0020_Review_x0020_Date lt datetime'@utcnow()'"

Error "The $filter expression ""Last_x0020_Review_x0020_Date lt datetime'@utcnow()'" is not valid.

clientRequestId:

serviceRequestId:

 

Filter Query: "Last_x0020_Review_x0020_Date lt datetime'{ }Output'" where { }Output is a Compose @utcnow()

Error: The $filter expression ""Last_x0020_Review_x0020_Date lt datetime'@utcnow()'" is not valid.

clientRequestId:

serviceRequestId:

 

Appreciate your feedback. Regards Angela

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

    Hi @Anonymous,

     

    I have made a test on my side.

    Please take a try with expression below:

    Last_x0020_Review_x0020_Date lt datetime'@{utcNow()}'

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    on at

    Great thankyou Alice. That has worked. 

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