Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Create a daily summary of incomplete Planner Tasks due this week by Bucket

(0) ShareShare
ReportReport
Posted on by 9

Hi,

 

I am adapting the "Create a daily summary of Planner Tasks by Bucket".  The template provides a good starting point to get the data I need but  I don't need a summary of everything in planner.  I just want:

- Is it due this week?

- Is it 'not finished'?

 

I have seen solutions in this community to exclude 'not finished' from 

but not how to filter the "due this week" tasks where this week is the next Saturday (or Sunday).

 

I tried to figure out if "dayOfWeek('<timestamp>')" might work, but it doesn't look like it would work (or I just can't figure it out).

 

Any ideas?  Thanks

  • Verified answer
    v-peijunz-msft Profile Picture
    Microsoft Employee on at
    Re: Create a daily summary of incomplete Planner Tasks due this week by Bucket

    Hi @geissler 

     

    To filter the due date is in this week, the start date and the end date of the current week should be caught firstly.

    Adding a new compose to get the output from the formula:

    sub(dayOfWeek(utcNow()),1)

    The start date of the week:

    addDays(utcNow(),sub(0,outputs('Compose')),'yyyy-MM-dd')

    The end date of the week:

    addDays(outputs('Get_start_date_of_the_week'),6,'yyyy-MM-dd')

    Here is the flow for your reference:

    vpeijunzmsft_0-1681449888354.png

    Hope it helps.

     

    Best regards,

    Sylvia

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 >