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 / Issue with filtering a...
Power Automate
Unanswered

Issue with filtering array on JSON object

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to use the Filter Array block to filter out Payrolls of a specific month from a JSON object with roughly the below schema. Result > Payrolls > Employees > Totals

 

Capture.PNG

 

body('Parse_JSON_2')?['Payrolls']?['Month']

 

 Capture1.PNG

where 9 = september. The issue is that an empty array is being returned. 

Categories:
  • manuelstgomes Profile Picture
    6,643 on at

    Hi @Anonymous 

     

    The "apply to each" should be on the array, so on the "Items" and not on the "Result".

     

    Can you please change that and let me know if it works?

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • manuelstgomes Profile Picture
    6,643 on at

    Hi @Anonymous 

     

    Were you able to solve your issue with this solution?

    If so please mark it as solved so that people can find it faster.

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

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 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard