I've got another version that incorporates a radio control and combobox, for filtering the Gallery. I need the same resolution; If user is a 'Manager' they should see all their requests and those of their subordinates. Everyone else should see the entire list, by Date 'Descending'.
Here is the current code -
If("Contractor" in JobTitle.Text,
Switch(CategoryRadioCntrl.Selected.Value,
"Status",
SortbyColumns(Filter('SPList1',Status.Value =
SearchComboBox.Selected.Value),"Date",Descending),
"Created By",
SortbyColumns(Filter('SPList1','Created By'.DisplayName.Value =
SearchComboBox.Selected.Value),"Date",Descending),
"Meeting Subject",
SortbyColumns(Filter('SPList1','Meeting Subject'.Value =
SearchComboBox.Selected.Value),"Date",Descending),
If("Manager" in JobTitle.Text,
Switch(CategoryRadioCntrl.Selected.Value,
"Status",
SortbyColumns(Filter('SPList1',Status.Value =
SearchComboBox.Selected.Value),"Date",Descending),
"Created By",
SortbyColumns(Filter('SPList1','Created By'.DisplayName.Value =
SearchComboBox.Selected.Value),"Date",Descending),
"Meeting Subject",
SortbyColumns(Filter('SPList1','Meeting Subject'.Value =
SearchComboBox.Selected.Value),"Date",Descending),