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 / Need Help Creating a P...
Power Automate
Suggested Answer

Need Help Creating a Power Automate Flow to Summarize Task Statuses from SharePoint Lists

(1) ShareShare
ReportReport
Posted on by 33
Hello Guys!
I am trying to create a Power Automate flow that retrieves tasks from 4 different SharePoint lists and summarizes their statuses (Completed, In Progress, Assigned, Issue) for both the previous and upcoming week. I need help with the correct setup, particularly filtering tasks by dates and counting tasks based on their statuses.
Flow Requirements:
    •    The flow should run every Friday and:
    •    Retrieve tasks from current week (Staring from monday till friday)
    •    Retrieve tasks for the upcoming week (starting from next monday till friday)
    •    The tasks should be retrieved from 4 different SharePoint lists.
    •    Filter tasks by their statuses:
    •    Each list has tasks with different statuses: Completed, In Progress, Assigned, and Issue.
    •    I want to count how many tasks in each list are under each of these statuses (e.g., 10 Completed, 2 Issue, etc.).
    •    Summarize the results:
    •    After filtering and counting tasks by their statuses, the flow should create a summary table showing the status counts for each list, similar to this:

And then send it via e-mail. Can anyone help?
Categories:
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,970 Super User 2026 Season 2 on at
    Hi
     
    You really need to try to do some of the work yourself, Helping isn't just doing.
     
    Please provide the schemas of the Lists you want the data from. Explain how they are linked together etc.
     
     
  • Mayosh Profile Picture
    33 on at
    Hey, I already started creating it by myself. I can’t provide you with ss of the flow but basically it goes like this (for now I am creating it for only one list, just to understand everything)
    Trigger - for now I’m using manual trigger just to test it, but later I’ll switch it to the recurrence 
    Get Items - Sharepoint
    List name - List 1
    (I want to use filter query to filter out items from current week and for next week - I tried to use different options here, but maybe I don’t understand something)
    Now I used Filter array for every status separately and compose for each filter array action.
    For example:
    Filter array - completed 
    Value - Get items - sharepoint 
    Status Value - Starts with - Completed
    Compose - expression - length(body(‚Filter_array_Completed’))
    and it goes like this for every status. Thing is that ion result I get all the items from that list cause I don’t have filter query as said previously. 
     
     

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
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 198

#3
David_MA Profile Picture

David_MA 197 Super User 2026 Season 2

Last 30 days Overall leaderboard