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 / Filter Array returning...
Power Automate
Answered

Filter Array returning [] empty array

(0) ShareShare
ReportReport
Posted on by 164

Looking for some help to resolve what should be a simple Filter Array expression.

 

I have a Variable Array which has a list of "Id" and "CardNo"

 

The Inputs to the Filter Array expression 

KarlNixon_1-1657511377474.png

 

The CardNo value is being looked up from the Apply to Each function - I want to use this CardNo to filter the array.

 

KarlNixon_0-1657511200162.png

 

But no matter what I try, the output is always []

 

KarlNixon_2-1657511582048.png

 

Even wrapping the filter in quotes gives the same output

 

KarlNixon_3-1657511838378.png

 

Or using a string expression

KarlNixon_4-1657512047114.png

 

 

Any ideas?

 

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    Make sure to put item()?['CardNo'] (on the left side of the comparison) in an expression, right now it's plain text which will never match any record.

  • KarlNixon Profile Picture
    164 on at

    Thank you @shoog 

     

    That was the problem

     

    KarlNixon_0-1657518475146.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard