Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Translation Quality Feedback
Unanswered

Filter Array is not producing any output

(0) ShareShare
ReportReport
Posted on by
I am using a Gets items from a SharePoint list action and then trying to use Filter Array action to create a subset.  For some reason the following Filter Array this is not generating output from the get items output shown below:  

Filter Array action:
{
  "type": "Query",
  "inputs": {
    "from": "@outputs('Get_items_from_DBR_Resources_SP_List')?['body/value']",
    "where": "@equals(item()?['field_2'],'Filters')"
  },
  "runAfter": {
    "Get_items_from_DBR_Resources_SP_List": [
      "Succeeded"
    ]
  }
}  

A portion of the Get Items output:

{
                "@odata.etag": "\"1\"",
                "ItemInternalId": "1",
                "ID": 1,
                "Title": "Open High & Critical Incidents",
                "field_1": "Active incidents created in the past seven days that are classified as Critical or High priority.",
                "field_2": "Filters",
                "field_3": "Item",
                "field_4": "personal/xxxxx_xxxx_someplace.org/Lists/DBR_Resources",
                "Modified": "2025-01-29T13:34:01Z",
                "Created": "2025-01-29T13:34:01Z",
                "Author": {
                    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
                    "Claims": "i:0#.f|membership|xxxxx_xxxx_someplace.org",
                    "DisplayName": "Xxxxx, Xxxxx X",
                    "Email": "xxxxx_xxxx_someplace.org",
                    "Picture": "https://xxxxx.sharepoint.com/sites/XXXXX/_layouts/15/UserPhoto.aspx?Size=L&AccountName=xxxxx_xxxx_someplace.org",
                    "Department": "Xxxxxx",
                    "JobTitle": "XXXXXX"
                },
                "Author#Claims": "i:0#.f|membership|xxxxx_xxxx_someplace.org",
                "Editor": 
 
 
 
I don't understand why it is not working.  I did a compose\condition action to debug, and it worked fine.
 
{
  "type": "If",
  "expression": {
    "and": [
      {
        "equals": [
          "@outputs('Compose_3')",
          "Filters"
        ]
      }
    ]
  },
  "actions": {
    "Compose_4": {
      "type": "Compose",
      "inputs": "It is true"
    }
  },
  "else": {
    "actions": {
      "Compose_5": {
        "type": "Compose",
        "inputs": "It is not true"
      }
 
 
Any suggestions will be much appreciated.
 
Categories:
  • creativeopinion Profile Picture
    10,254 Super User 2025 Season 1 on at
    Filter Array is not producing any output
    @NotEven2ndChoice It's hard to offer any recommendations without seeing your full flow and the logic behind it. If you are using the new designer, toggle it off and click each action to expand it. Upload a screenshot of your flow in edit mode.
     
    In the meantime, you might be interested in these YT Tutorials:
     

    In this Power Automate tutorial, I explore 5 frequently asked questions that pop up when troubleshooting a flow. If you’d like to to level up your Power Automate flow skills and learn how to troubleshoot your Power Automate flow—this tutorial is for you!

    IN THIS VIDEO:
    ✓ How to troubleshoot a false Condition action result
    ✓ How to get dynamic content when it isn’t selectable from the list of dynamic content
    ✓ How to troubleshoot an Apply to Each action that isn’t looping through
    ✓ How to troubleshoot a skipped Apply to Each action
    ✓ How to troubleshoot a Filter Query
    ✓ How to use a SharePoint yes/no column in a Filter Query
    ✓ How to use Compose actions to troubleshoot a Power Automate flow
    ✓ How to troubleshoot multiple emails being sent
    ✓ How to troubleshoot multiple Teams messages being sent
     
    ---
     

    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

    ---

    In this tutorial—I’m going to show you a quicker way to get the dynamic content from your Filter Array action—and it doesn’t require writing an expression.

    IN THIS VIDEO:
    ✓ How to Loop Through Filter Array Results in Power Automate
    ✓ Using Apply to Each with Filtered Arrays
    ✓ The Easiest Way to Access Dynamic Content from Filter Array
    ✓ Fixing Nested Apply to Each Actions
    ✓ When to Use Value vs. Body Dynamic Content
    ✓ Simplifying Power Automate Flows with Filter Array
    ✓ Troubleshooting Filter Array and Apply to Each Issues

    ---

    In this video tutorial I’ll go over how to avoid these common mistakes when using the Apply to Each action in a Power Automate flow:
    1️⃣ Looping through a Single Item
    2️⃣ Creating Unnecessary Nested Loops
    3️⃣ Looping through an Unfiltered Array

    At the end of the video I share a few helpful insights when it comes to using the Apply to Each action in your flow.

    IN THIS VIDEO:
    ✓ How to avoid the Apply to Each action with a single item array
    ✓ How to use the item() function to access dynamic content in an array
    ✓ How to prevent unnecessary nested Apply to Each action loops
    ✓ How to use the Select action
    ✓ How to convert an array to a string with the Select action
    ✓ How to use the Filter Query field
    ✓ How to count the number of items in an array
    ✓ How to use a condition control
    ✓ How to use the concurrency control
    ✓ How to set a top count
    ✓ How to use Compose actions for troubleshooting
     
     
     
    Hope this helps!

    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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,440 Most Valuable Professional

Leaderboard

Featured topics