cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ppei
Level: Powered On

Why did I get this invalid error for this Filter Query?

Hi,

I created a Flow to get report from a SharePoint list with a Filter Query. See screenshot for the filter query. Bascially, I want to get a report for the items in the past 30 days. Created is a date/time field from my SharePoint list. The Flow failed and there is an Expression in valid error. I don't know why I got the error and how to fix it. Could someone help?

Your help is greatly apprciated.

Thanks in advance.

Pei

This is my Flow.

Report Flow.JPG

This is the error message.

InvalidExpression.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Why did I get this invalid error for this Filter Query?

@ppei 

 

try

 

Created gt 'adddays(utcNow(),-360)'

adddays(utcNow(),-360)- expression

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Super User
Super User

Re: Why did I get this invalid error for this Filter Query?

@ppei 

 

try

 

Created gt 'adddays(utcNow(),-360)'

adddays(utcNow(),-360)- expression

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 76 members 3,790 guests
Please welcome our newest community members: