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

Flow Filter Query returning error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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
    Microsoft Employee 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
    Microsoft Employee 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

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 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard