Hi All,
I am trying to add a drop down to an existing filter. The filter is already filtering a lot of fields and I'm having a problem placing the new drop down choice without breaking the filter.
My existing filter is:
With(
{WMST: 'NC MST Tracker'}, Sort(
Filter(
WMST,
(IsBlank(TextInput1.Text) ||
(TextInput1.Text in 'Employee Name' || TextInput1.Text in Cohort || TextInput1.Text in 'Payroll Number' || TextInput1.Text in iPadAsset))
&& Switch(
Gallery1_1.Selected.Value,
"Mentor",
Mentor,
"AET",
'AET Instructor',
"MST",
'MST Assessor',
"All",
All,
true
&& Grade.Value = Gallery1_1.Selected.Value) && Active.Value= "Yes"
),'Employee Name',If(SortDescending1, Descending,Ascending))
I have populated a drop down using the following:
Ungroup(
Table(
{MyTables: Table({Result: "All"})},
{
MyTables: SortByColumns(
Distinct(
'NC MST Tracker',
MSTLocality.Value
),
"Result"
)
}
),
"MyTables"
)
Now I want to add dropdown2 to my existing filter, anyone have any advice?