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 Apps / Filter a collection
Power Apps
Unanswered

Filter a collection

(0) ShareShare
ReportReport
Posted on by 188

Hi, I'm trying to filter a collection (colFBPPending) against another collection (colExistingIDs).

colFBPPending contains a list of IDs such as 

 

12345
12344
12333
12222

 

ColExistingIDs queries a dataverse table to ge ta list of IDs already with a table called Quotes. It returns:

 

12333
12222

 

What I need in a gallery, is to filter out the IDs returned in colExistingIDs with the list of items returned in colFBPPending to only show:

 

12345
12344

 

I did come close with the below code but it isn't filtering correctly and returns all items in colFBPPending

 

Filter(colFPBPending, !IsBlank(LookUp(colExistingIDs, id in colFPBPending.id)))

 

 
Any ideas on the correct code?

Categories:
I have the same question (0)
  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi 

    Plz try this formula 

    Filter(colFBPPending, !IsBlank(LookUp(colExistingIDs, Value = id)))

     

    Thanks! 

  • drossi90 Profile Picture
    188 on at

    Thanks @Rajkumar_404 . 

    It errors with 'Value isn't recognised'

  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @drossi90 

    This syntax should return what you're looking for:

     

    Filter(colFBPPending, !(id in ColExistingIDs.id))

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard