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 / 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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard