cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Filering out a word from gallery and then Search gallery

I have Gallery with names of sites.

My Standard search fuction for gallery is:

Search(
        RoomsLists,
        SearchBox1.Text,
        "Name")

Question:
How do I filter in the gallery all names containing word "UK" and then do the search on that filtered gallery.




Capture.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Filering out a word from gallery and then Search gallery

hI @m0le 

 

Double the search

 

Search(Search(RoomsLists,"UK","Name"),SearchBox1.Text,"Name")

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Highlighted
Impactful Individual
Impactful Individual

Re: Filering out a word from gallery and then Search gallery

Just stick a FIlter() around your Roomslists datasource.


So something like Search(Filter(RoomsLists,"UK" in Name),SearchBox1.Text,"Name")

I might not have the in statement 100% but you get the idea, just get that filter to filter out Name containing UK and you should be good.
Highlighted
Dual Super User
Dual Super User

Re: Filering out a word from gallery and then Search gallery

hI @m0le 

 

Double the search

 

Search(Search(RoomsLists,"UK","Name"),SearchBox1.Text,"Name")

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Highlighted
Impactful Individual
Impactful Individual

Re: Filering out a word from gallery and then Search gallery

Duh! That works too :).
Highlighted
Helper II
Helper II

Re: Filering out a word from gallery and then Search gallery

OMG I did not relize I can duble the search, THANKS it`s working now.

Helpful resources

Announcements
secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,854)