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 via large colle...
Power Apps
Answered

Filter via large collection

(0) ShareShare
ReportReport
Posted on by 15

Say I have some such table:

 

Table1

IDValue
1111
2222
3333

 

And a collection (but much larger than this)

Table2

Solutions
999
998
997
111

But imagine this collection is very large, maybe 50 values.

 

Is it possible to perform a filter where if the Value matches any Solution in table 2, to return those rows?  Ideally not using OR.

 

I've tried doing the filter with "in", like below

  

Filter(Table1,
Value in Table2.Solutions 

)

This didn't seem to work, and gives a delegation warning which I would like to avoid if possible.

 

Thanks!

Categories:
  • Himanshu_90677 Profile Picture
    416 on at
    ForAll(Table1, Collect(CollectionName, Filter(Table2, Value in Table1).value))
  • djkirkma Profile Picture
    15 on at

    I believe this will only ever return values from Table2, I'm only interested in Table1.

  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @djkirkma ,

     

    Try to use the following formula:

    Clear(collectionname);ForAll(Table2,Collect(collectionname,Filter(Table1,Value=Solutions)));

     

    Best Regards,

    Charlie Choi

  • djkirkma Profile Picture
    15 on at

    This will work, but due to the large size of my data this formula will take an extreme amount of time. (Something like 10+ minutes) and in some cases even crashes my PowerApps entirely.  I wouldn't recommend doing this unless you only need to do it at the start.

     

    For my purposes, I ended up just making a connection in PowerBi and passing the data into powerapps as it was 100x faster.  

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 Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard