Hi,
I have a gallery that uses a Sharepoint database, in the database there is a column called "Status" with New and Done values, I have two buttons to filter by new and done, but I also want to include a text box to filter by other columns "Customers", "References".
this is my code:
SortByColumns(Filter('Solicitudes Expres';
StartsWith(Estatus;EstIng2)); "Estatus"; If(SortDescending3;Descending;Ascending))
You already have a column called Cliente. You can't add a column with the same name.
Please make it a different name:
SortByColumns(
Filter(
AddColumns('Solicitudes Expres'; "Buscar"; Cliente & Referencia);
StartsWith(Estatus;EstIng2) &&
TextSearchBox1.Text in Nuscar
);
"Estatus";
If(SortDescending3;Descending;Ascending)
)
I don't know where the code error is.
SortByColumns(Filter(AddColumns('Solicitudes Expres';"Cliente"; Cliente & Referencia);
StartsWith(Estatus;EstIng2) && TextSearchBox1.Text in Cliente); "Estatus"; If(SortDescending3;Descending;Ascending))
Give this formula a try:
SortByColumns(
Filter(
AddColumns('Solicitudes Expres'; "SearchText"; Customers & References);
StartsWith(Estatus;EstIng2) &&
yourTextInput.Text in SearchText
);
"Estatus";
If(SortDescending3;Descending;Ascending)
)
Substitute the name of your Text box in the "yourTextInput" in the formula and it should give you what you are looking for.
I hope this is helpful for you.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional