Hi All,
I have a gallery that I am using as a 'Filter Buttons' for my main gallery which was setup to filter records depending if a switch was on or off within a persons record.
I need to change this to incorporate some choice fields that are within the records. As an example:
Choice Fields from a dropdown field:
- Group1
- Group2
- Group3
Code I was using for far is:
With(
{WMST: 'NC MST Tracker'}, Sort(
Filter(
WMST,
Or(IsBlank(TextInput1.Text),
TextInput1.Text in 'Employee Name',
StartsWith(
'Employee Name',
TextInput1.Text
)) && Switch(
Gallery1_1.Selected.Value,
"Mentor",
Mentor,
"AET",
'AET Instructor',
"MST",
'MST Assessor',
true
)
),'Employee Name',If(Sort, Descending,Ascending))
)
Anyone able to advise me with this?
Thanks