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 / simple filtering of an...
Power Automate
Unanswered

simple filtering of an excel table with multiple conditions

(1) ShareShare
ReportReport
Posted on by

Hello,

 

I have a table from excel with the "List rows present in table" action.

 

I want to filter it with a simple filter action with multiple conditions. In theory, that should be simple.

But it just doesn't work. I am also not entirely sure of the syntax, because I couldn't find any complete doc on that.

Like where to put an "@" and when.

 

The filter query is just a simple 

 

or(not(equals(@{item()?['First Column Name']},'0'),not(equals(@{item()?['Second Column Name']},'0'))

 

 

and it fails with a 

 

The execution of template action 'Filter_array' failed: The result 'or(not(equals(5.52,'0'),not(equals(2.52,'0'))' of the evaluation of 'query' action 'where' expression 'or(not(equals(@{item()?['First Column Name']},'0'),not(equals(@{item()?['Second Column Name']},'0'))' is not a valid boolean value.

 

 

When i put an "@" infront of the or as I have seen in some posts if fails on saving already with a 

 

The input parameter(s) of operation 'Filter_array' contains invalid expression(s). Fix invalid expression(s) for the input parameter(s) of operation 'Filter_array'.

 

 

I hope anybody can help me.

Categories:
I have the same question (0)
  • Sayan Profile Picture
    818 Super User 2025 Season 2 on at

    Hey @jjbbss 

     

    In the error it is mentioned that due to invalid expression it is unable to filter.

    Can you please share the expression you are trying to execute? Also, please provide screenshots of the table and your flow.

     

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

    Thanks,

    Sayan Patra

    RPA Developer

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @jjbbss You need to remove the @ symbol from your expression and adjust the placement of the parenthesis. Can you try the following:

    or(
    not(equals(item()?['First Column Name'],'0')),
    not(equals(item()?['Second Column Name'],'0'))
    )

    You might be interested in the YT Tutorials linked below:

    7 Functions You Need to Know | ️Expression Essentials: Part 1

     

    In this section, I'll cover how to get dynamic content with an expression when the dynamic content you need isn't listed in the dynamic content menu.

     

    In the full tutorial I cover 7 functions you need to know when getting started with expressions.

    1️⃣ empty()

    2️⃣ coalesce()

    3️⃣ equals()

    4️⃣ if()

    5️⃣ concat()

    6️⃣ length()

    7️⃣ split()

     

    I cover how to use these functions in expressions and I’ll also cover common mistakes when it comes to writing expressions and show you a few tips and tricks along the way.

     

    As a beginner or even an intermediate flow builder—expressions can seem a bit complex at first, I’m going to try to simplify it for you. If you want to level up your flows by writing expressions—keep watching!

     

    IN THIS VIDEO:

     What is an Expression?

     What is a Function?

     What Does Wrapping a Function Mean?

     How Do I Insert an Expression?

     How to Use a Compose action

     How to Navigate the Expression Builder with Arrow Keys

     How to use the Expression Tooltip

     Common Mistakes When Writing Expressions

     How to differentiate a null from an empty string

     How to Get Dynamic Content When it’s Not Listed

     How to Use a Get Item Action to Verify Dynamic Content Output

     How to Convert Strings to Lower Case

     How to Troubleshoot the if() Function

     

    ---

    Are you using the Microsoft Power Automate Filter Array Action wrong?

    In this video tutorial I’ll show you 3 practical ways to use the Filter Array action and how to use it properly.

     

    1️⃣ Cross-Referencing Data

    2️⃣ Filtering by Key

    3️⃣ Substring Matching

     

    Did you know that the Condition action has a limit of 10 conditions? Although it might look like the Filter Array action can only accept one condition—this is not true. By using the advanced mode you can enter multiple conditions into a Filter Array action with an expression.

     

    IN THIS VIDEO:

     3 Ways to Use the Filter Array Action

     How to use the Scope Action to Group Actions

     How to Check the Number of Items returned from a Filter Array Action

     How to Cross-Reference Data in Excel with a SharePoint List

     How the Filter Array Action Works

     How to Access the Dynamic Content from a Filter Array Action

     How to Filter Items by a Key

     How to Filter Items by Matching a Substring

     How to Use Multiple Conditions in a Filter Array Action

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard