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 Automate / TextSearchBox not find...
Power Automate
Answered

TextSearchBox not finding items in data source

(0) ShareShare
ReportReport
Posted on by 2

Hi:

  I need some help to figure out why the TextSearchBox feature in my mobile PowerApp is not working correctly.

 

  In my BrowseScreen, I have a BrowseGallery that display City, State, Zip and TextSearchBox on top of the screen.

  The TexSearchBox search works fine for filtering what is displayed in the BrowseScreen.   

However it does not search the entire data source for records to return into the BrowseScreen.

 

So a very simplified example:

a) DataSource name of "Locations" has these columns : City, State, Zip

                            Los Angeles, CA, 12344

                            Santa Monica, CA, 12355

                            Long Beach, CA, 12366

                            Anchorage, AK, 22233

                            Fairbanks, AK, 22244

                           

b) TextSearch box is set to search on City or Zip

    This is the formula i have for the BrowserGallery Data Item option:

      SortByColumns(

          Search(Locations, TextSearchBox1.Text, "City","Zip"),"City",

      If(SortDescending1, Descending,Ascending))

 

b) Let's say I browse to display the cities in the state of California.

                            Los Angeles, CA, 12344

                            Santa Monica, CA, 12355

                            Long Beach, CA, 12366

    When using the TextSearchBox:

    If I search for "Monica" it will correctly filter the results to only display Santa Monica

    If I search for "344" it will correctly filter the results to only display Los Angeles.

    If I search for "Anchorage" it will return nothing to the browse screen

  

The mobile PowerApp was created using the "Start from Data" template, and the data source is an excel file on a OneDrive for Business folder.

 

thanks in advance for any help or guidance.

  • tmoey Profile Picture
    2 on at

    Upon further analysis, this turned out to be a datasource refresh issue.

    There was nothing wrong with the Search or Sort formulas.

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @tmoey,

     

    Are you sure you post your question in the expected community?

    I don't see MS Flow related information from the content you provided.

    This seems to be related to PowerApps, please consider posting your question in the PowerApps community, perhaps there is a suitable workaround.

    Also if you have questions about Flow, please provide more details, we would provide proper workaround for you.

     

    Best Regards,

  • MithaliGupta Profile Picture
    242 on at

    You have just prefered search in specific field apply the same on all and return should be values you want and not only city

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard