I'm trying to figure out how to use a search box, and ascending/descending order button with different views. The below formulas work great on their own. How do I combine them?
SortByColumns(Filter([@'Recruitment tracker'], StartsWith(Title, TextSearchBox1_2.Text)), "Title", If(SortDescending1, SortOrder.Descending, SortOrder.Ascending))
Switch(Dropdown1.Selected.ViewName,"My Candidates", Filter([@'Recruitment tracker'],'Recruiter'.Email = User().Email))
That worked perfectly! Thank you so much!
That worked perfectly! Thank you so much!
Hi @IBrant ,
Please try:
SortByColumns(
Switch(
Dropdown1.Selected.ViewName,
"My Candidates",
Filter([@'Recruitment tracker'],'Recruiter'.Email = User().Email),
Filter([@'Recruitment tracker'],StartsWith(Title, TextSearchBox1_2.Text))
),
"Title",
If(SortDescending1, SortOrder.Descending, SortOrder.Ascending)
)
Best Regards,
Bof
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473