I have a working formula for switching to one alternate view but when I try to add another view, it didn't work. I'm not sure if my formula for the second view is correct but I'm trying to filter for only those actions that are not complete. Any assistance is appreciated!
Working formula:
SortByColumns(
Switch(
Dropdown1_1.Selected.ViewName,
"My Candidates",
Filter([@'Recruitment tracker'],Recruiter.Email = User().Email),
Filter([@'Recruitment tracker'],StartsWith('Candidate Name', TextSearchBox1_1.Text))
),
"Title",
If(SortDescending1, SortOrder.Descending, SortOrder.Ascending)
)
Attempted to add View:
SortByColumns(
Switch(Dropdown1_1.Selected.ViewName, "My Candidates", Filter([@'Recruitment tracker'],Recruiter.Email = User().Email), "My Active Candidates", Filter([@'Recruitment tracker'],Recruiter.Email = User().Email && 'Action Complete' = "No", Filter([@'Recruitment tracker'], StartsWith('Candidate Name', TextSearchBox1_1.Text))), "Title", If(SortDescending1, SortOrder.Descending, SortOrder.Ascending))