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 / Filter query for List_...
Power Automate
Answered

Filter query for List_rows_present_in_a_table

(0) ShareShare
ReportReport
Posted on by 18

Hi,

 

I'm trying to filter rows from List_rows_present_in_a_table item. I want to filter rows that has value of column name 'ItemRequiredDate' is equal to today.

I have tried with different filter query with different syntax.

Below is the currently I'm using,

UserNsk_0-1716184944161.png

 

Left side function of eq: formatDateTime(item()['ItemRequiredDate'],'mm/MM/yyyy')
Right side function of eq: formatDateTime(utcNow(),'dd/MM/yyyy')


Below is the my flow,

UserNsk_1-1716184960523.png

 

 

Below is the error I'm getting,

UserNsk_2-1716184968883.png

 

 

This is the Copilot suggestion on the error,

 

The 'MealRequiredDate' property cannot be selected in the 'List_rows_present_in_a_table' action. Double-check that the correct property name is being used. Did you mean to use the 'Modified' property instead?

 

I have folowed few forum thread and documantation. Did't get any help.

Filter query of excel list rows on month and year of a date column 

list rows present in a table 

 

Use lists of rows in flows 

What is the reason for this error?

How can I filter table rows ?

Suggestions are really appreciated. 

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    on at

    Hi @UserNsk ,

    Please try put this expression in Filter Query:

    ItemRequiredDate eq 'utcNow(dd/MM/yyyy)'

    And set The DateTime Format to ISO 8601 in List rows present in a table.

    vyetonggumsft_2-1716185495355.png

    Best Regards,

    Sunshine Gu

     

     

     

  • UserNsk Profile Picture
    18 on at

    Thank you for your quick reply.

     

    I have changed the filter query as below. Also changed the date standerd to ISO8601.

    UserNsk_2-1716187363378.png

    There is no any error and flow is running. But It seems filter dosen't work. Because, there is a some rows in the table that has ItemRequiredDate is today.

     

    This is the input of "list rows present in a table" item. Is this correct? I think it shoudn't has utcNow() function it self.

     

     "table": "{00000000-000C-0000-FFFF-FFFF00000000}",
     "$filter": "ItemRequiredDate eq 'utcNow(dd-MM-yyyy)'",
     "dateTimeFormat": "ISO 8601"

     

    And output is empty.

     

    000C-0000-FFFF-FFFF00000000%7D')/items",
     "value": []
    }

     

  • v-yetonggu-msft Profile Picture
    on at

    Hi @UserNsk ,

    Could you please take a screenshot of your excel date column for me?

    I want to see your date column format.

     

    Best Regards,

    Sunshine Gu

     

  • UserNsk Profile Picture
    18 on at

    UserNsk_0-1716189104142.png

    Thre are few more table headers. 

    Hope this is OK

  • v-yetonggu-msft Profile Picture
    on at

    Hi @UserNsk ,

    Please try put this expression in Filter Query again:

    ItemRequiredDate eq 'utcNow(MM/dd/yyyy)'

     Best Regardss,

    Sunshine Gu

  • UserNsk Profile Picture
    18 on at

    Hi @v-yetonggu-msft ,

     

    Still getting no values as output. 😣

  • v-yetonggu-msft Profile Picture
    on at

    Hi @UserNsk ,

    Ok fine, I know where is the problem.

    We should use 'M/dd/yyyy' Date Format.

    ItemRequiredDate eq 'utcNow(M/dd/yyyy)'

    Best Regards,

    Sunshine Gu

  • Verified answer
    UserNsk Profile Picture
    18 on at

    Hi @v-yetonggu-msft ,

     

    Problem is solved. 🎉🎊

     

    Correct syntex as below.

     

    UserNsk_0-1716190101136.png

     

    function is: 

    formatDateTime(utcNow(),'MM/dd/yyyy')

    It's essential '' symbol in the filter query as above screen shot.

     

    As @v-yetonggu-msft  mentioned, DateTime Format should be ISO8601

    UserNsk_0-1716190643788.png

     

    Thank you so much for your help @v-yetonggu-msft  😊

  • v-yetonggu-msft Profile Picture
    on at

    Hi @UserNsk ,

    If your problem is solved, please mark my reply and your own reply as the solution, so that my answer and yours will help more people who encounter this challenge in the future.

    Best Regards,

    Sunshine Gu

  • UserNsk Profile Picture
    18 on at

    @v-yetonggu-msft 

    I have marked it. Also make it more explaind 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

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