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 / "in" function delegati...
Power Apps
Unanswered

"in" function delegation issues

(0) ShareShare
ReportReport
Posted on by 107

Hi power app experts

 

I am working with SQL datasource with around 5000 rows and I want to search in a column on multiple values.

 

I use a combobox where user selects multiple values to search and then I use filter to perfrom the search and show results:

Filter(DataSource, MyColumn in ComboBox1.SelectedItems.Result)

This gives me a delegation error and does not return all the records.

Hence, my question is, does anyone have any idea on how to perform "in" function with delegation (workaround)?

How can I achieve this?

Any help would be appreciated. Thanks 🙂 

Categories:
I have the same question (0)
  • C-Papa Profile Picture
    1,836 on at

    Hi, i think you will always have this issue when using 'in' in this way. you could try the below which will collect the data for each selected item using =. this assumes that one of the select values is an exact match. if its not you could change it to use StartsWith(). 

     

    Add a button to test it and set it OnSelect property to

    Clear(col_Search_Results);

    ForAll(ComboBox1.SelectedItems.Result As MyFilter,

    Collect(col_Search_Results,Filter(DataSource, MyColumn = MyFilter)))

     

    then view the collection by highlighting it in the formula bar or add a gallery and change its items to col_Search_Results

  • SearchingYT Profile Picture
    107 on at

    Still facing delegation issues, because of collection limitation..

  • Rhk Profile Picture
    133 on at

    Try using this 

    Combobox.SearchText

    I used this formula to retrieve 50k plus items from SharePoint  

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard