Hi all
I've inherited an app from a colleague who's left the organisation and I'm a Power apps newbie.
We've got a gallery that pulls from a Microsoft List (an asset inventory). There are over 2000 rows. I've tried pulling straight from the list and using a collection, but I can't get it to show me all the rows. If I try searching for the Title (our unique number) some of them don't appear. I'm not sure if this is because of the 2000 row limit or, as I've seen in other posts, something wrong with the code on the gallery. I know this isn't pretty, but it kind of works. The .value entries are for our drop down lists in the List:
SortByColumns
(Filter
(Assets,
StartsWith(Title, TextSearchBox1_1.Text)
Or StartsWith('Serial Number', TextSearchBox1_1.Text)
Or StartsWith(School.Value, TextSearchBox1_1.Text)
Or StartsWith('Device Name', TextSearchBox1_1.Text)
Or StartsWith(Make.Value, TextSearchBox1_1.Text)
Or StartsWith('Device Type'.Value, TextSearchBox1_1.Text)
Or StartsWith(Model, TextSearchBox1_1.Text)
Or StartsWith('Assigned To', TextSearchBox1_1.Text)
), "Title", If(SortDescending1, Descending, Ascending)
)
If anyone can point me in any direction to sort (better code or just telling me straight it can't be done) I'd appreciate it. I'd ideally like the search box to act as a "search all" box rather than just a specific column. I've tried a combo box but failed abysmally.
Thank you.