web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Help wi...
Power Automate
Unanswered

Power Automate Help with Filter Query

(0) ShareShare
ReportReport
Posted on by 1

I fairly new to powerautomate and I need some help.
I have flow that is filtering a sharepoint list to send the results as a csv file.

On my SP list, I have name, location, dateadded columns.

Every Friday at 5pm, I want to pull all added items from location TX that were added within a full week.

I can't seem to get it to work, I have looked for examples and try them but can't get them to work.
Location eq 'TX' and DateAdded ge '@{formatDateTime(sub(utcNow(), 7, 'Day'), 'yyyy-MM-dd')}'

Any suggestions, thanks in advance.

 

Categories:
I have the same question (0)
  • David_MA Profile Picture
    13,274 Super User 2025 Season 2 on at

    Looks fine, but you will need to use this expression for the date filter:

    formatDateTime(addDays(utcNow(),-7),'yyyy-MM-dd')

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 211 Most Valuable Professional

#3
trice602 Profile Picture

trice602 198 Super User 2025 Season 2

Last 30 days Overall leaderboard