Hi!
I am trying to use the SortByColumns function to sort the list in the app based on the priority of each item, but the function only allows me to sort by the title of the items.
I have no problems if I use the following function (I am also filtering the list items that area already completed):
SortByColumns(Filter(MyListName; StartsWith(Title; TextSearchBox1.Text) && Estado.Value <> "Completado" );"Title"; If(SortDescending1; Descending; Ascending))
But when I try to filter based on the Priority, it says it has an error but it doesn't specify which error it is. I only change the "Title" for "Priority".
SortByColumns(Filter(MyListName; StartsWith(Title; TextSearchBox1.Text) && Estado.Value <> "Completado" );"Priority"; If(SortDescending1; Descending; Ascending))
In my sharepointlist, the column is named "Prioridad" (it does not work with that name either), but in the sharepoint list I found that the original name of the column was Priority:
https://sitename/teams/MyListName/_layouts/15/FldEdit.aspx?List=%7B9937ACAF%2DE2C4%2D465D%2DA325%2D8EE5728BA612%7D&Field=Priority
does anyone know how to make it work with anything other than the Title?