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:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard