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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Date Conditions in Pow...
Power Automate
Unanswered

Date Conditions in Power Automate

(0) ShareShare
ReportReport
Posted on by

I am trying to load a weekly list of planner tasks for a group and trying to narrow down the list using a condition of task due date and task complete date greater than today -7 days.  However, the flow is running successfully but loading all tasks, which is a very very long list.  Can someone help me with the condition to exclude past dates? I have tried with and without the format date but it seems to be ignoring this condition all together: 

formatDateTime(addDays(utcnow(),-7),'dd-MMMM-yyyy'
 

astarkweather_0-1605207834746.png

 

Categories:
I have the same question (0)
  • leyburn19 Profile Picture
    2,157 on at

    Try a format like:

    formatDateTime(addDays(utcnow(),-7),'yyyy-MM-dd'
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard