The application connects to SQL server and I do not know how to filter this numeric data.
SortByColumns(Search('[dbo].[datos]'; box1.Text; "CI";"Fecha"); "CI"; If(SortDescending1; Descending; Ascending))
"Fecha" is date
"CI" is int

The application connects to SQL server and I do not know how to filter this numeric data.
SortByColumns(Search('[dbo].[datos]'; box1.Text; "CI";"Fecha"); "CI"; If(SortDescending1; Descending; Ascending))
"Fecha" is date
"CI" is int
As you noticed, Search only works for text columns. For other types of column, you can use the Filter function, with which you can use other operators, like in the example below.
SortByColumns( Filter( '[dbo].[datos]'; CI = Value(box1.Text) Or Fecha = DateValue(box1.Text)); "CI"; If(SortDescending1; Descending; Ascending))