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 Automate
Answered

GetItems Filter Query

(0) ShareShare
ReportReport
Posted on by 394 Super User 2024 Season 1

Dear All,

 

I want to filter on get items for a date field. All dates today and greater up to 1 month.

 

How can I filter these?

 

Daniel

Categories:
I have the same question (0)
  • MarkoKrstanovic Profile Picture
    97 on at

    Hi,
    Maybe you can write like this:
    DateField ge @utcNow() and Date le @@addMonths(utcNow(), 1

    use expression utcnow() and addMonths(utcNow(), 1

    BR

  • Verified answer
    MarkoKrstanovic Profile Picture
    97 on at

    Here is full expression in my case

    (DueDate ge '@{formatDateTime(utcNow(),'yyyy-MM-dd')}') and (DueDate le '@{formatDateTime(addDays(utcNow(),30),'yyyy-MM-dd')}')


    MarkoKrstanovic_0-1696338620647.png

     

  • DLCaterhamSch Profile Picture
    394 Super User 2024 Season 1 on at

    This works really well thank you.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard