cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
m0le
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
RezaDorrani
Dual Super User
Dual Super User

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
cwebb365
Super User
Super User

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.
RezaDorrani
Dual Super User
Dual Super User

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.

Duh! That works too :).

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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,342)