I am new to Power Automate. I am working on a flow that has 4 conditions. The flow runs correctly however it does not seem to be adhering to the Greater Than condition. I have tried using quotes around the number and not using quotes. I have also tried doing "Greater Than 4" and "Greater Than or Equal to 5". Additionally, I have tried using int(5) as the value.
However, no matter what I have tried, the flow returns rows that have values less than 5. Can someone please explain what I am doing wrong when using this condition?
Thanks
Does the filter array need to be inside a "Apply to Each" action?
Refer to this section of this YT tutorial for how to add multiple conditions to a Filter Array action. It's important to note the error here indicates that you are trying to use the is Greater or Equals operator to compare a string and a integer.
The is Greater or Equals operator can only be used to compare integers.
I was still using Condition. I am trying to add the List Rows Present in Table and Filter Array actions now. How do I use the Filter Array to add multiple filters to the results of the table?
@jpreziuso The Filter Array action and the Filter Query are two different things. The Filter Array action is used to filter out an array of items. The List Rows Present in a table action outputs an array of items.
You would add the Filter Array action after the list rows present in a table action.
It's unclear where the error is coming from. Are you still using a Condition or have you switched to a Filter Array action?
I am unsure how to use the filter array action since my output is not an array value?
I tried using the following filter query to remove empty rows
But I received the following error when comparing Greater Than Or Equal to. Is it because the excel value is already an integer and I am trying to convert it again?
I have a step prior to the loop that reads the data table. I would like to put a filter query expression that would filter out any rows where the 'DaysSinceReturn' column is blank
@jpreziuso The List Rows Present in a Table action can only accept a single filter query. This means you can only filter on a single column. Your column names must not contain spaces.
ColumnName ne ''
I would actually recommend not using the Condition action as you have since you are looping through every single row returned. Instead, you should use the Filter Array action to filter out the items first BEFORE looping through them. This is a lot more efficient. Although it may look like the Filter Array action can only take a single condition—it can take more than one. I cover how to add multiple conditions to a Filter Array action in the tutorial below.
To learn more about how to use the Filter Array action, please refer to this YT Tutorial: 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
Understood. What is the filter query expression to remove rows that have nothing?
@jpreziuso Also, it's important to note. The int() function requires a string. This means the column in your Excel table should have a value (not be empty). If you have empty cells you'll need an expression to check for an empty item first before using the int() function.
I was just curious. You should still be fine either way, and like @creativeopinion was saying, using a compose actions is a great way to validate the values of dynamic expressions.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2