web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need Help Creating a P...
Power Automate
Unanswered

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,345 Super User 2025 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard