Hi,
I have an app with a gallery that downloads from a sharepoint list with 5 different fields
Status, ITEMID, Lat, Long & ITEM2ID
I have a Status dropdown with four items in it ["Default","Pending","Finished","Started"] and all the rows have either status as Started, Pending or Finished, First I would like the gallery to filter by a dropdown and when the app loads the "Default" option i would like it to filter by Started at the Top and Pending underneath and pending to be sorted by ITEMID ascending.
The Gallery currently has this as the item code
SortByColumns(
Search(
Filter(
colData,
Status = ddStatusFilter.Selected.Value),
TextSearchBox.Text,
"ITEMID"),
"ITEMID",
If(SortDescending1, Descending, Ascending))
Ive tried many things to get it too filter by if statments of started and pending but cannot figure it out.
Could someone help with the code

Report
All responses (
Answers (