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 / How to add 'less than ...
Power Automate
Answered

How to add 'less than or equal to' in a filter query ?

(0) ShareShare
ReportReport
Posted on by 150

Hi everyone,

 

I would like some assistance about my problem.

I'm trying to compare today's date with a date in a column of an item. I've added a "Get item" action to do so but I'm not sure how to add "less than or equal".

 

Githendra23_0-1657527390441.png

 

How do I do that ?

 

Thanks in advance,

Categories:
  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    Please try to change the type of field to Date and time(not include time) in SP column internal name.

    Try to get SP column internal name. Run without configuring any filters in Get items and check the body of the Get items action to get the display name of the date field and configure the query as below:

    Ankesh_49_0-1657529384525.png

     

    Hope it helps!!

     

    Cheers,

    Ankesh

    --------------------------------

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Githendra23 Profile Picture
    150 on at

    Hi @Ankesh_49 ,

     

    Thanks for the quick reply,

     

    I already know the internal names of the columns. I would like to do "less than or equal to" utcNow() insteal of "less than"

  • Verified answer
    AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    For instance if you want to Filter query date range:

    Created ge '2022-12-24' and Created le '2022-12-31'

     

    Match documents where the Rating field is between 3 and 5, inclusive:
    Rating ge 3 and Rating le 5

     

    Therefore, instead of le gt, use ge le

  • Githendra23 Profile Picture
    150 on at

    Thank you for the answer !

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard