I have tried using this code that worked when I was connecting to SQL but it's not working now that I have changed the data source to Sharepoint list
can anyone help?
SortByColumns(Filter(
Search(
'[dbo].[M_qryStreetListWeb]_1',
Textinput1.Text,
""EnrollmentAreaID=cboEnrollmentArea.Selected.EnrollmentAreaID"",
),
"SI",
If(
SortDescending1,
Descending,
Ascending
)
)