cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

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
Highlighted
Dual Super User
Dual 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
Highlighted
Dual Super User
Dual 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

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (8,635)