Skip to main content

Notifications

Community site session details

Community site session details

Session Id : FvGrVFD0xXN2TkOKeGPWBY
Power Automate - Building Flows
Answered

Create a summary report for all Planner Tasks completed this past month

Like (0) ShareShare
ReportReport
Posted on 4 Mar 2021 21:19:23 by 46

Hi everyone, 

 

I found a power automation that sends a daily report of planner tasks by bucket here: 

 

https://flow.microsoft.com/en-us/galleries/public/templates/df5797658f954281b54bad8bf9cc8246/create-a-daily-summary-of-planner-tasks-by-bucket/ 

 

but I was wondering if there was a way to send only completed planner tasks and to specify the range of them to only 1 month.

 

(ex. if 6 tasks were created, 2 was completed in January, and 3 was completed last month (February), the email will send out an array table that consists of only those 3 tasks + their descriptions + dates created. 

 

Thanks in advance 

 

  • qopwer12 Profile Picture
    46 on 05 Mar 2021 at 15:29:35
    Re: Create a summary report for all Planner Tasks completed this past month

    Hi Kira, 

     

    I got another additional request to add into this array. Is it possible to pull out an email that also displays "assigned users" to the tasks so we can keep track of who is actually completing the tasks? 

     

    ex) Person A, B and C was on Task 1 

    Person A was on Task 3 

     

    results show a table 

    Assignee(s) and Task 

    A B C                   1

    A                         3

     

    I added an apply to each profile that works for a smaller planner of 10 tasks or so but the flow is running super slow after I applied a bigger task planner that even after 15 minutes it still has not been processed.

     

    Thanks in advance! User Profiles.PNG

  • qopwer12 Profile Picture
    46 on 05 Mar 2021 at 14:12:33
    Re: Create a summary report for all Planner Tasks completed this past month

    Thank you so much! 

     

    I added the two conditions and got a full list of what planner tasks were completed this past month and it works.

  • Verified answer
    v-yiwenxie-msft Profile Picture
    Microsoft Employee on 05 Mar 2021 at 02:14:08
    Re: Create a summary report for all Planner Tasks completed this past month

    Hi @qopwer12 

     

    Thank you for your posting.

     

    I've made a test which has run successfully.

     

    You can use the template in your link, just change the recurrence to 1 month and add two rows in the condition:

    In my test, I suppose the trigger runs at the first day of every month and the flow will get all the tasks completed in the past month.

    3.5-1.PNG3.5-2.PNG

    The dynamic content 'value Percent Complete' is chosen from 'List tasks'.

     

    The expression used:

    formatDateTime(items('Iterate_through_tasks')?['completedDateTime'],'MM')

    formatDateTime(subtractFromTime(utcNow(),1,'Month'),'MM')

     

    The last row in the condition is used to check whether the month of task completed date is equal to the past month.

    For more info about the functions formatDateTime(), items(), subtractFromTime(), utcNow():

    Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

    Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

    Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

    Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

     

    The tasks completed in my all 4 buckets are:

    3.5-3.PNG

    The result of the flow is:

    3.5-4.PNG

     

    If you still have the problem, please feel free to let me know.

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on 05 Mar 2021 at 01:07:45
    Re: Create a summary report for all Planner Tasks completed this past month

    hi @qopwer12  you can use this trigger

    bbas.PNG

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 99

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 48 Super User 2025 Season 1

Overall leaderboard
Loading started