Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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?
  • Mayosh Profile Picture
    33 on at
    Need Help Creating a Power Automate Flow to Summarize Task Statuses from SharePoint Lists
    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. 
     
     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    43,442 Super User 2025 Season 1 on at
    Need Help Creating a Power Automate Flow to Summarize Task Statuses from SharePoint Lists
    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.
     
     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492