I am looking to use both these formulas on a gallery independently or combine them so they still operate indepently. Currently they work independently if you insert this code into the gallery items however I have yet get the gallery to accept having them both added without errors. Basically, I want it so you are using one of the filters rather than both. I hide the unused filter when one of them is being used with a variable. Any help would be appreciated.
If(!IsBlank(ComboBox2.Selected.Result), Filter('Resource-Request', 'Service Line' = ComboBox2.Selected.Result), Sort('Resource-Request', 'Work Type', Ascending))
If(!IsBlank(ComboBox3.Selected.Result), Filter('Resource-Request', Location = ComboBox3.Selected.Result), Sort('Resource-Request', 'Work Type', Ascending))