I admit defeat! I've spent about 7 hours (no exaggeration) trying to solve this myself by using various sources online and I just can't.
I'm creating a computer asset management "system" in Power Apps and all the asset data is held in a SharePoint list with various column formatting.
I've got my gallery setup but I'm now trying to create a search bar. I want to use all 3 of the formulas below:
SortByColumns(Assets_Computer,"Computer_x0020_Name")
Search(Assets_Computer,SearchBox.Text,"Computer_x0020_Name","Title","ServiceTag")
Filter( Assets_Computer, StartsWith(Model.Value,SearchBox.Text)||StartsWith('Assigned to'.DisplayName,SearchBox.Text))
By process of elimination I know all of these formulas work individually but I'm unable to get them all to work together, I have tried every conceivable combination so I'm obviously missing something (I'm still relatively new to Power Apps)
I'm not sure if I'm using the correct functions for each and think other issue's will arise but I will try to provide as much info as I can:
Computer_x0020_Name, Title and ServiceTag are single line text I believe.
Model is being pulled in to Assets_Computer from another SharePoint List (I didn't set this up so not sure why)
Assigned to is a person column.
I'm not sure if it should be filtered or searched first as the model is going to have a lot more of the same entries where as title and service tag are all going to be unique along with persons for the most part.
Thanks in advance and hopefully I make sense.