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 / search within the coun...
Power Apps
Answered

search within the country selection filter

(0) ShareShare
ReportReport
Posted on by 608

I want to do keyword search on country selected by user in a dropdown.

 

SortByColumns(Search(Filter(PRCWithReimbursementV2,Country=Dropdown1.Selected.Country), TextInputsearch.Text, "Description","Company","ProductGroup"), "Description", Ascending)

 

With this keyword search works but its not limiting it based on country selected. Its searching within all even if I have filtered data source. Does anyone know how to achive search within filter?

Categories:
I have the same question (0)
  • AmitLoh-Powerap Profile Picture
    608 on at

    I tried

    Filter(PRCWithReimbursementV2,Country=Dropdown1.Selected.Country && TextInputsearch.Text in Description) but it exludes country when I type in textbox, If I change country it does good country search.

  • AmitLoh-Powerap Profile Picture
    608 on at

    searchfilter.png

    does not work-

    Search(Filter(PRCWithReimbursementV2,Country=Dropdown1.Selected.Country),TextInput2.Text,"ProductGroup")

  • AmitLoh-Powerap Profile Picture
    608 on at

    I have

    Filter(PRCWithReimbursementV2,Country=Dropdown3.Selected.Country && TextInput1.Text in Description)

    where I need country to be dropdown selected and then description column based on text typed but its ignoring country in gallery.

    How to add multiple filter conditions? I can not use if because that kills 500+ item delegation.

  • AmitLoh-Powerap Profile Picture
    608 on at

    I was able to figure this out!!

     

    Filter(PRCWithReimbursementV2,(Country = Dropdown3.Selected.Country && (ProductGroup=TextInput1.Text || Indication=TextInput1.Text || Description=TextInput1.Text)))

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @AmitLoh-Powerap,

     

    Have you tried to search the results with a new collection created by the filter function?

    I will try to make some tests from my side, and will post back if I have any helpful results.

    Regards

     

  • Verified answer
    AmitLoh-Powerap Profile Picture
    608 on at

    was able to fix it!!

    Filter(PRCWithReimbursementV2,(Country = Dropdown3.Selected.Country && (ProductGroup=TextInput1.Text || Indication=TextInput1.Text || Description = TextInput1.Text || Company = TextInput1.Text)))

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard