cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ppei 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
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
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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (6,760)