cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ithinkican123
Regular Visitor

Text search box

Hello I am new to PowerApps and I am having issues with the search Items box. I created a simple test list in sharpoint. I want to be able to search the name and have it display from the list below it. I am not sure if I need to make changes in the BrowseGallery1-items area or the TextSearchBox1 area. Thanks for any help!

 

 

Screen Shot 12-15-17 at 01.14 PM.PNG

 

 

 

Screen Shot 12-15-17 at 01.14 PM.PNG

25 REPLIES 25

Continue with @iAm_ManCat

This solution is perfectly working  "Sir Sancho"

 

 

Thank you so much for correcting me on my issue and clearing me what was wrong and what is the code or formula is doing. Thanks @iAm_ManCat 

I'm happy to help @Tapesh - these kinds of filters can be tricky, and they will come up very often 😺

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Is it possible for the search bar to search the list by two different criteria:

1. Name (or title)

2. reference number

Yousra_0-1615507874049.png

What would the formula look like in this case?

Hi @Yousra 

 

I think you could do something like this:

SortByColumns(
      Filter(
             ListName, 
             StartsWith(
                        Name,
                        TextSearchBox1.Text
             )
             ||
             NumberColumn = TextSearchBox1.Text
             ), 
      "Title", 
      If(
         SortDescending1,
         Descending,
         Ascending
      )
)

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Could you elaborate on this part of the function please?

||

NumberColumn = TextSearchBox1.Text

Helpful resources

Announcements
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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,692)