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 / Get Items Filter Query...
Power Automate
Answered

Get Items Filter Query return three days prior

(0) ShareShare
ReportReport
Posted on by 505

In a SharePoint list, I figure I can create a column that subtracts 3 days from the due date and run a query filter on that, but it would be much nicer if I could just filter the due date with a calculation. 

 

So this flow will run on a schedule every day looking for due dates three days in the future so I can set a reminder. 

I have to change the format of the date and I cannot seem to get it to work.

DueDate eq 'addDays(formatDateTime(utcNow(),-3,'dd-MM-yyyy'))'
Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @send2mark m

     

    Try the below

     

    ericcheng_0-1632901570452.png

     

    @addDays(formatDateTime(utcNow(),'yyyy-MM-dd'),3)

     

    ericcheng_3-1632901609907.png

     

    ericcheng_4-1632901654647.png

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

     

     

     

  • send2mark Profile Picture
    505 on at

    It is failing when I change it to day-month-year to match the format of the Due date.

  • send2mark Profile Picture
    505 on at

    I am also, trying to grab everything 3 days before the due date.

  • Verified answer
    send2mark Profile Picture
    505 on at

    This worked for me. 

    formatDateTime(addDays(utcNow(),3),'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 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard