Hi folks,
Hope you all are doing well. I have created an app and work perfectly until I noticed one of the column is not sorted ascending. Here is what I have. Two drop down boxes for users to filter what they need and a gallery that displays name, rank, title, location and phone number. This is connected to the sharepoint list. The code for gallery on the Items properties are as follows:
If(DDTitle.Selected.Result = "All" And DDLocation.Selected.Result = "All", 'Emergency Call Out List',
DDTitle.Selected.Result = "All" And DDLocation.Selected.Result <> "All",
Filter('Emergency Call Out List',Location =DDLocation.Selected.Result),
DDTitle.Selected.Result<> "All" And DDLocation.Selected.Result = "All",
Filter('Emergency Call Out List',EE_Title=DDTitle.Selected.Result),
DDTitle.Selected.Result<>"All" And DDLocation.Selected.Result<>"All",
Filter('Emergency Call Out List',EE_Title=DDTitle.Selected.Result And Location =
DDLocation.Selected.Result)
The rank is number 1,2,3,4.... On my sharepoint, I have sorted it ascending and I thought it will automatically sorted on the apps but apparently, it's not. I have tried the SortbyColumns but didn't work.
Can someone help me please? Thank you.