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
Tapesh
Continued Contributor
Continued Contributor

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (75,910)