web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

Search all Letters

(0) ShareShare
ReportReport
Posted on by 151
Hey,
 
I would like to be able to search for components in my cell of a table in my search field.
So for example: Now it's like this, I want to search for "keyboard MNB123" and enter "keyboard MNB" in the search field, then it shows me all the relevant keyboards. BUT, if I just search for MNB, it doesn't find anything.
The Product and the Product number are in the same cell in the table and with 13,000 rows it is not an option to put the model in a separate column.
 
That's why I need a deligable formula that searches everything in the cell and not just if the beginning is correct.
 
IMPORTANT! It must be deligable with over 2500 data sets. I've been using this deligable formula so far:
 
Filter(
    SharepoitList;
    StartsWith(
        Product;
        tbSearchInput_1.Text
    ) Or StartsWith(
        Manufacture;
        tbSearchInput_1.Text
    ) Or StartsWith(
        Size;
        tbSearchInput_1.Text
    ) 
)
 
Best regards.
Categories:
I have the same question (0)
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Hey, 
     
    what you are trying to do is not possible with only power apps. The starts with function always searches for the Start. 
    There are two workArounds that come to my mind. One would be to create a table with all  the different products. Example: {Value:"Keyboard"},{Value:"Mouse"}, {Vakue:"Screen"}
     
    This is only possible if you don't have too many products but many different models of the same product. 
     
    then you woul dneed to collect in a for all loop all the Rows from your Datasource. 
     
    Another way that I would recomend is using a flow to do it. 
     
    Basically you send the string to Power automate. There the search is performed and then you create a table and send it Back to power apps. It should be quite fast but depends a bit on your datasource of course. 
     
  • MiniMax92 Profile Picture
    151 on at
    Ok, the flow thing sounds good. Unfortunately I haven't worked with it yet.
    Which elements do I need to add and how do I define them? The flow should access my search field and send the results to my gallery.
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Here is a Link that explains how you can achieve this.
    Let me know if you need further assistance.
     
    If this Helped you solve your problem don't forget to mark it as solution. 
     
  • MiniMax92 Profile Picture
    151 on at
    Ok thats look good.
     
    I have one Problem with my formular in my Search field. 
     
    He tells me that "Run" is an unsupported function. Why?
     
    ClearCollect(
        colbestInventory;
        ForAll(
            Table(ParseJSON(SPList.Run(tbSearchInput_1.Text).searchresults));
            {
                ID: Value(Value.ID);
                Artikel: Value(Value.Artikel);
                Artikelbezeichnung: Text(Value.Artikelbezeichnung);
                Hersteller: Text(Value.Hersteller)
            }
        )
    )
    This formular is written in OnChange from my searchfield.
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Sometimes there is a little bug. If the Flow is connected to the App already and you change something in the flow they lose connection. 
     
    You need to remove it once from the app and add it again then it should work fine.
     
    If my Answer helped please mark it as a solution to your question. 
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard