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 / [Urgent case!!!!!!] Ho...
Power Automate
Answered

[Urgent case!!!!!!] How to use Filter Query for List rows present in a table.

(0) ShareShare
ReportReport
Posted on by 43

Hi,

I would like to ask about my flow within using Filter query. You can see if I don't apply any filter the value box would contain 3 values. However, when I apply the filter query the value is unavailable. Please find the pictures attached.

 

this pic indicates there are 3 values if I don't apply any filter query.

HaiNguyen202_1-1635918732558.png

 

this pic indicates there is no any value when I apply the filter, but it should be 1 because there is a value having the same value in the table (please check the Excel table on the last pic). 

HaiNguyen202_2-1635918826671.png

Basically, I would like to apply a condition that if the number of value within filter query applied is 1 then do next step, and think that when I apply the filter query the value should be 1, but the value is 0. 

HaiNguyen202_3-1635918952126.png

length(outputs('List_rows_present_in_a_table_2')?['body/value'])

 

Here is my table. 

HaiNguyen202_4-1635919048623.png

 

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @HaiNguyen202 

    Try removing the single quotes

  • HaiNguyen202 Profile Picture
    43 on at

    Hi @Mira_Ghaly,

     

    Thanks for your response. I have tried and didn't work. btw, do you know which the format in excel table is appropriate to the filter query?

  • HaiNguyen202 Profile Picture
    43 on at

     

    the value is still empty

    HaiNguyen202_1-1635921794468.png

     

     

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @HaiNguyen202 

    Actually your filter query looks ok.. there is no specific format required, what is the format of your column so I can try to reproduce at my side?

     

  • HaiNguyen202 Profile Picture
    43 on at

    Hi @Mira_Ghaly ,

    I have deleted the format and tried again, and it's still not working. Now my format is General. 

    HaiNguyen202_0-1635929261681.png

    I have created another table, another excel file, new flow and set the filter query: ID eq 1 and ID eq '1' (the picture below), the value is still empty. BUT when I filter the Name column Name eq 'Hai nguyen', the value is 2 (so it's working). THEN I applied this method to the previous table, filter the Name column but the value is still empty. Please help me out!

    HaiNguyen202_1-1635929470905.png

     

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @HaiNguyen202 

    Can you try with number format?

    Is there is any other tables on your excel sheet?

     

  • HaiNguyen202 Profile Picture
    43 on at

    Hi @Mira_Ghaly ,

    I have tried every format for 4 hours. and there is the only table in my sheet (but I think it's not the issue).

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @HaiNguyen202 

    I have tried on the excel sheet you shared but no matter what I experienced the same behaviour you are experiencing , i could only work using the Filter array as below:

    Mira_Ghaly_0-1635934762789.png

     

  • HaiNguyen202 Profile Picture
    43 on at

    Thanks @Mira_Ghaly 

    The reason I want to use filter query as I need to work on the dedicated row. Yesterday, I worked normally on this filter but today the issue starts.  

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @HaiNguyen202 

    Let me know if this has worked for 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard