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 / Filter array works in ...
Power Automate
Answered

Filter array works in small test, but not when filtering 500 lines in SharePoint list

(0) ShareShare
ReportReport
Posted on by 11

Hi,

 

Long time lurker, first time poster. Thank you all who help people struggling, your comments and asisstance has helped me so many times already.

 

For the last few days I have tried so many things to get an extract from a SharePoint list to an excel file, while filtering rows away that contains data. It works fine in my test list but when changing from test data to live data it stops filtering at all.

 

The test data contains only 2 lines and the following array will filter that perfectly, but whenever I switch to the production list with approx. 500 lines, where 200 should be filtered away, it provides the full list without applying the filter. The flows both look the same but I fail to see if there are limitations to filter arrays or if I can do it in a smarter way. I have looked into filtering already in the Get Items Filter Query but I struggle to find a format for the query in which it only keeps the rows where 'Exitdate' is empty.

What am I missing?

 

sangve_0-1695372444474.png

Image: Working test flow

 

 

sangve_1-1695372643301.png

Image: Not working production flow

 

Any help is much appreciated!

 

Sincerely

John

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi John,

     

    Pls try using expression with empty function:

    ManishSolanki_1-1695378478246.png

    Expression for left side operand:

    empty(item()?['Exitdate'])

    Expression for right side operand:

    true

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • sangve Profile Picture
    11 on at

    Hi Manish,

     

    Thank you for your suggestion!

    Unfortunately, it didn't change the outcome. 😞

     

    Sincerely

    John

    sangve_0-1695384494621.png

     

  • RobElliott Profile Picture
    10,323 Super User 2025 Season 2 on at

    By default the get items action only returns 100 items. So click the 3 dots at the top right of the action, click settings then in the screen that appears turn on the pagination toggle and set the threshold to more than the number of items in your list.

     

    Rob
    Los Gallardos

  • sangve Profile Picture
    11 on at

    Hi Rob,

     

    Thank you for your reply!

    I have previously set that to 1000, and I get the full list of items in my Excel file - I just don't get the flow to leave out the rows which I want filtered out. 😕

    sangve_0-1695385723772.png

     

    Sincerely

    John

  • sangve Profile Picture
    11 on at

    Hi,

     

    The Select action is taking place after the Filter array, but I see it's using the data from Get item. Is this correct?

    Are the steps linear or do I circumvent the filter?

     

    sangve_0-1695546478854.png

     

     

    Sincerely

    John

  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi John,

     

    The "Select" action should take input from the body of filter action and all the Map values will be selected from the output of Filter array. If those are not shown in the dynamic content then you need to write an expression for each field or column:

    item()?['<internal name of field>']

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • sangve Profile Picture
    11 on at

    Many thanks! This solved my issue! 😃

     

    Sincerely
    John

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard