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 / Trying to create a wee...
Power Automate
Unanswered

Trying to create a weekly batch job to query the last 7 days of entries from a Sharepoint List and send Email

(0) ShareShare
ReportReport
Posted on by 29

Hi Power user community !

 

I am trying to create a weekly job that queries the last 7 days of entries on a Sharepoint list and send an email.

 

I am able to pull the data and create the .csv table and email it but I am having issues with the last 7 day query portion. Here are the screenshots of my flow.

 

redjeep100_0-1714743127169.png

my formula for the expression is as follows: addDays (utcNow(item()?['EffectiveDate']), -7, 'yyyy-mm-dd')). Also I want to note that the effective date is in string format (i.e. 3/25/2024 9:25:03 AM)

 

Please help me with what I am doing incorrectly?

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @redjeep100 

    Get rid of the apply to each loop. Filter action accepts an array.

     

    SudeepGhatakNZ_0-1714948599006.png

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard