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 / Empty output after fil...
Power Automate
Suggested Answer

Empty output after filtering array

(0) ShareShare
ReportReport
Posted on by 2
I am struggling to get an output from my filter array on taxID step. I've tried looking at solutions, and while I have implemented them, nothing has worked. I want to eventually merge/combine these two arrays into one array to eventually be pushed into a db table, but I need to get the SourceSystemID where the taxID from subcontractor array equals the taxID from prequal array first.
 
 
 
where TaxID = item()?['TaxID']
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    are you sure both TaxID values (Subcontractor and Prequal) are same If yes, ask both fields have similar kind of data and both field type is string, correct?
     
    Please try something like this:
    @equals(
      trim(string(item()?['TaxID'])),
      trim(string(items('Apply_to_each_2')?['Prequal']?['TaxID']))
    )
    If this helped resolve your issue, please click “Does this answer your question?” so the solution is marked and easier for others to find.
  • HG-08061736-0 Profile Picture
    2 on at
    This is my first power automate, and I come from a programming background. I'm trying to loop over the prequal array (the apply to each) and compare the TaxID value to the TaxID values which are in the subcontractor array.

    I tried your suggestion, and while I think it is actually helpful (there is a hyphen in TaxID so converting to string is probably a good idea), I still get no output. Maybe I am misunderstanding how apply to each works
  • Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    Got it, there is no any issue both place TaxID is different that's why it's not matching and giving any output.
    Could you please send the both TaxID? That will help us to suggest the approach.
     
    If this helped resolve your issue, please click “Does this answer your question?” so the solution is marked and easier for others to find.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard