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 / How do i put less than...
Power Automate
Unanswered

How do i put less than or equal to and greater than or equal to in my filter query?

(0) ShareShare
ReportReport
Posted on by 46

Hi all, 

I have been trying to get Power Automate to send an email of all the task that is due in the following month, a month before. However, i cant get the filter query in "List rows present in a table" to filter those in the range. The attached photo is a screenshot of my workflow.

Screenshot 2024-05-16 163224.png


Thank you,
Jeo

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @jeo,

     

    That is a known limitation of the List rows present in table action:

    https://learn.microsoft.com/en-us/connectors/excelonlinebusiness/#known-issues-and-limitations-with-actions

     

    The List rows present in table action supports basic filtering and sorting:
    - Supports the following filter functions: eq, ne, contains, startswith, endswith.
    - Only 1 filter function can be applied on a column.
    - Only 1 column can be used for sorting.

     

    You could use 1 filter and apply the other one via a Filter Array action afterwards. Over here is a blog from @mdevaney which demonstrates this type of filtering:

    https://www.matthewdevaney.com/how-to-filter-excel-table-rows-in-power-automate-text-numbers-dates/

     

     

  • jeo Profile Picture
    46 on at

    Alright thank you. I will give it a try

     

  • jeo Profile Picture
    46 on at

    Hello, 
    i tried the method that was provided in the link but i cant seem to get it work on my data. Any idea on how to fix it?
    My data in my excel is in date format.

    Screenshot 2024-05-17 154223.png

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @jeo,

     

    In that case I would remove the int function from the DueDate, that won't work with a date formatted value.

     

    Use the below instead

    item()?['DueDate']

     

    You can use that directly in the Filter Array.

     

    Below is an example, if that helps?

     

    @and(greaterOrEquals(item()?['DueDate'], body('Substring')),
    lessOrEquals(item()?['DueDate'], body('Substring_1')))

     

    duedatefiltering.png

     

     

  • jeo Profile Picture
    46 on at

    alright great! It works now. Thank youu very much!

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