I built a screen in my app to help me keep track of my truck stock. The data source is a sharepoint list.
For some reason when I open this screen in the mobile app it takes the app a very long time to populate the browse gallery.
Here is the "Items" formula for the browse gallery:
If(IsBlank(TextInput8), SortByColumns(Filter(TruckStockInventory, Name1 = varUser.FullName), "Title", If(SortDescending1, Ascending, Descending)),
SortByColumns(Filter(TruckStockInventory, Name1 = varUser.FullName And StartsWith(PartDescription, TextInput8.Text)
Or Name1 = varUser.FullName And StartsWith(QuantityInStockText, TextInput8.Text)
Or Name1 = varUser.FullName And PartDescription = TextInput8.Text
Or Name1 = varUser.FullName And QuantityInStockText = TextInput8.Text),
"Title", If(SortDescending1, Ascending, Descending)))
How can I reduce the time it takes to populate this browse gallery?

Report
All responses (
Answers (