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 / Filter array versus fi...
Power Automate
Unanswered

Filter array versus filter query to pare down data

(0) ShareShare
ReportReport
Posted on by 64

I have a list with 2000 projects in it and I want to create a weekly email that is sent to project owners who have a project behind schedule.

 

Rather than use an 'Apply to Each' function to find past due projects, would it be more efficient to filter using an array, or use the Filter Query in the Get Items function to find the past due projects?

Categories:
  • Albert328 Profile Picture
    64 on at

    NOTE!!!  The data is stored in a SharePoint list if that changes anything!

  • Barret Profile Picture
    652 Most Valuable Professional on at

    The answer, as always is, it depends. But typically in my experience, it's more efficient to use a Filter Query and rely on the source system to filter the results before sending them to your system. This reduces the network traffic as well, as less data is sent back. It can also help in the sense that many of these remote requests will restrict the number of results sent back (one page at a time) and relies on you to identify the paging and keep calling the source to get each additional page of results.

  • AWorley Profile Picture
    414 Super User 2024 Season 1 on at

    OData Filter query would remove the data that you do not wish to ingest. 

    Then run your apply to each off of that data.

  • Albert328 Profile Picture
    64 on at

    Thanks @barret! When would I use the Filter Array then?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard