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 / How to refer result of...
Power Automate
Answered

How to refer result of "Filter array"?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi,

How to refer result of "Filter array"?

In next step I try to check fitter result's length. length(collection) function requires a input parameter.  How can I refer to the output of previous step of "Filter array"?   I tried few ways, always got syntax error message.

Thanks,
Categories:
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Anonymous 

     

    The filter action returns the output in the body. To get the length, you can do something like this: 

     

    dd31.PNG

     Expression: 

    length(body('Filter_array'))

    Here, Filter_array is the name of the action. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Works like charm!   Thanks a lot,

     

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 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard