Greetings!!
Please, I need a help.
I created an app and I want to filter gallery content by using a search field:

With this formula I got no error, and I can only filter values by toogle position:

SortByColumns(
Filter(Ceov_Sistema_Entrevistas;Finalizada=Toggle1.Value);
"cre47_id_pessoa";
If(SortDescending1; SortOrder.Descending; SortOrder.Ascending)
)
I tried above formula and got no error or warning, but it does not work (no filter) and throw errors on another part (when selecting an record on the gallery I am redirected to a edit form), complaining "expecting datasource compatible value"
//SortByColumns(
// Search(
// Filter(
// AddColumns(Ceov_Sistema_Entrevistas;"id_assistido";Text("cre47_id_pessoa"));
// Finalizada=Toggle1.Value);
// Campo_Busca_Entrevista.Text;
// "id_assistido");
// "id_assistido";
// If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))
I had to use Addcolumns because cre47_id_pessoa is a number field.
I'm using a dataverse table to store my data.
Thank you in advance!!