So i want to write 2 formulas in my gallery,one to sort it after a variable ,and another to filter it from a text input .The formulas work by themselves,but when i want to combine them they dont work.How can i combine them so they work?
-Filter(FlooringEstimates,StartsWith(Name,cauta.Text))
-If(!IsBlank(pret), SortByColumns(FlooringEstimates,"Price",If(pret=true ,Ascending ,Descending)),FlooringEstimates)