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 and Search error
Power Apps
Answered

Filter and Search error

(0) ShareShare
ReportReport
Posted on by 504

Hey guys, I have a combobox  with a static items ["Action required","In progress","Completed"]

Now I want to filter the gallery based from the selected items of the combobox(multiple select)

Filter(SharePointList,
 StartsWith('Client Name',SearchInput.Text)&& 
 ('Current Status'.Value = CurrentStatusDrpDwn.Selected.Value || CurrentStatusDrpDwn.Selected.Value=Blank()) 
 )

 

I also have a search but should be contains instead of starts with. 

Categories:
  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @nagestiada ,

    This is not Delegable, but should work

    Filter(
     SharePointList,
     StartsWith(
     'Client Name',
     SearchInput.Text
     )&& 
     (
     'Current Status'.Value in CurrentStatusDrpDwn.SelectedItems.Value || 
     CurrentStatusDrpDwn.Selected.Value=Blank()
     ) 
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • nagestiada Profile Picture
    504 on at

    @WarrenBelz, yeah I am having delegation issue with the code. Are there any workaround for this? I just want to filter the status of my gallery using a combobox and utilise the search text input 😞

  • Verified answer
    WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @nagestiada ,

    The in filter is simply not Delegable (and you need it) - the below is a workaround of sorts (you will not receive a warning however the top filter needs to return record numbers less than your Delegation limit for you to receive all results in the bottom filter.)

    With(
     {
     wList:
     Filter(
     SharePointList,
     StartsWith(
     'Client Name',
     SearchInput.Text
     ) 
     )
     },
     Filter(
     wList,
     'Current Status'.Value in CurrentStatusDrpDwn.SelectedItems.Value || 
     CurrentStatusDrpDwn.Selected.Value=Blank()
     ) 
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @nagestiada ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • nagestiada Profile Picture
    504 on at

    @WarrenBelz ,


    Yes thank you very much!!!

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 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard