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

Invalid Filter Query - why?

(0) ShareShare
ReportReport
Posted on by 21
Hi,
 
I'm falling down at the first hurdle with a fairly simple PA linked to a sharepoint list. To start, all i want it to do is every Wednesday at 9am Get Items added to the list since the previous Wednesday. I've been trying to use a filter query to do this, but for
"Created ge addDays(utcNow(),-7)" and every variation I use it says "the expression is invalid".

See screenshots here. I've checked that Created is a valid column name in the back end. I've tried using ChatGPT and Google to find multiple variations of the query, I've also tried using the "Modified" date instead. I just can't figure out what I'm doing wrong here.
PA_Help1.png
PA_Help2.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
  • Expiscornovus Profile Picture
    33,997 Most Valuable Professional on at
    Did you add the expression as plain text? Can you also add the single quotes around the date expression?
     
    If that is the case make sure you add it via the expression editor/fx button or use the below as a copy/paste:
    Created ge '@{addDays(utcNow(),-7)}'
  • SweatyLumpfish Profile Picture
    21 on at
    I had tried that formatting, and it also had returned as invalid. However, what I finally found that worked was swicthing back to the old designer and doing exactly the same thing, but using the 'advanced options' dropdowns which don't exist in the new builder.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard