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 / Flow from sharepoint l...
Power Automate
Answered

Flow from sharepoint list - only send current week row, based on date field (filter on "for each") - stumped..

(0) ShareShare
ReportReport
Posted on by 2

I Have a workflow that sends a beautifully formatted html table in the body of email, using the columns from a SharePoint list. Works very well, as i only intended the one item in the list. Requirement has changed, so there may be many items in the list. Again, this works beautifully, however it also generates a separate email for each item entered, as expected.

 

I want to now restrict the email that goes out to just a single email that shows JUST the current week items (one row). There is a date column called "WeekStart" that I want to filter by to enable this, however i cant seem to get anything suitable.

 

The week start is every Friday, (Which is the "WeekStart" Date column, and the workflow is recurring every Thursday at PM. Works very well, however - too many emails.. Perhaps i used an incorrect method?

 

Fairly new to power-automate, and am learning exponentially. Should i have used a different approach?

 

Thank you..

 

Categories:
  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @Dieter58 ,

     

    Could you please share more detaisl about the sharepoint list?

    Does the list has a "WeekStart" column with Date type?

    Do you want to send the current week item in the email? Would you please explain how to filter the WeekStart column?

     

    If you want to run the flow on every Thursday to get the items in the list which's WeekStart column is equal to last Friday,you could refer to screenshot below to create the flow:

    1.png

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

  • Dieter58 Profile Picture
    2 on at

    Hi Alice - Thank you so much for taking the time to help!

     

    The column "WeekStart" is a date column

    Every Thursday, i want to send table for the coming week, which starts every Friday, which is the date selected in the "WeekStart" column.

    When i change the Query Filter to: formatDateTime(addDays(utcnow(),1),'yyyy-MM-dd') (as you suggested)

    It now runs perfectly!

    Thank you so very much for your time.. I can be a little "thick" at times, and you were a great help in getting me sorted.

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 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard