Hi, could anyone help with how to format the below so I don’t get errors? I am trying to do the following to my gallery:
Search bar filter
Combobox filter x 2
Filter what can be seen so admin can see all but users can only see their own department.
Sort the gallery to the newest items are at the top.
Below is copied from the items part of my gallery:
Sort(
Filter(
'0301 HQSW G6 BC App Reg',
varReset && (StartsWith(Title,SearchbarOPBC_1.Text) && (Len(ComboBoxSystem2_1.Selected.Value) = 0 || System.Value = ComboBoxSystem2_1.Selected.Value) && (Len(ComboBoxStatus2_1.Selected.Value) = 0 || Status.Value = ComboBoxStatus2_1.Selected.Value) && (VarUserAdmin= true || Unit.Value = VarUserUnit.Value)
),
Modified,
SortOrder.Descending)
Thanks