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?