Skip to main content
Community site session details

Community site session details

Session Id : AEIwO2SBI3AADChulxMtEm
Power Automate - Building Flows
Answered

Output of a filter array in a apply to each

Like (1) ShareShare
ReportReport
Posted on 18 Apr 2023 09:54:30 by

Hi All,

 

sry but I struggel how to use the filter array output in my apply to each loop. The filter array at least showing me the right results but how do I loop through them to check if an item exist and if yes add information to this.

 

Thx you in advance (sorry screenshot parily in German)

 

Scherodan_0-1681811638907.png

 

 

  • Scherodan Profile Picture
    on 18 Apr 2023 at 15:28:56
    Re: Output of a filter array in a apply to each

    @abm now I got it and it really works very well! Thx a lot! You make my day!

  • Verified answer
    abm abm Profile Picture
    32,506 Most Valuable Professional on 18 Apr 2023 at 12:11:49
    Re: Output of a filter array in a apply to each

    image.png

     

    See above Body

     

    image.png

  • Scherodan Profile Picture
    on 18 Apr 2023 at 11:42:54
    Re: Output of a filter array in a apply to each

    @abm thx you.

     

    But may I ask if I understand it right. In the dynamic content I only see two values to choose for filter array - Element and Text. Which should I use? 

     

    And afterwards you mentioned to set a compose action and use the expression item() to get a single Array to run through?

     

    Scherodan_0-1681818123327.png

     

  • abm abm Profile Picture
    32,506 Most Valuable Professional on 18 Apr 2023 at 10:52:32
    Re: Output of a filter array in a apply to each

    Hi @Scherodan 

     

    Thanks for your reply. After the filter array add an apply to each and map the output body of the filter array step.

     

    Then inside the array add a compose action step then use expression item() to get each value from the filter array.

  • Scherodan Profile Picture
    on 18 Apr 2023 at 10:45:32
    Re: Output of a filter array in a apply to each

    @abm thx for your reply.

     

    At least the apply to each steps in the screenshots now comes from power automate when I try to run an apply to each on teh dynamic content "element" of the filter array. PA add automatically an apply to each above contain "body" of filter array.

     

    What I "simple" like to archive is - list rows in present table - filter the listet rows on a specific date logic (using filter array - which works) - than run a apply to each on the output to check and update sharepoint list items.

     

    Thx Martin 

  • abm abm Profile Picture
    32,506 Most Valuable Professional on 18 Apr 2023 at 10:19:33
    Re: Output of a filter array in a apply to each

    Hi @Scherodan 

     

    Could you please explain your second step filter array? What you trying to filter and what you want to do with the results after?

     

    Thanks

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Loading complete