@zmansuri what I am supposed to replace ListName with?
This is the code that I have in gallery:
With(
{
wList:
If(
IsBlank(TextInput_lista_4.Text),
Sort(
Cerere,
Titlul || Data_crearii_cererii || Adresa || Destinatar || Numarul_de_mijloace_de_transport_solicitate,
Ascending
),
Search(
Cerere,
TextInput_lista_4.Text,
("Titlul"),
("Adresa"),
("Destinatar"),
("Numarul_de_mijloace_de_transport_solicitate")
)
)
},
If(Dropdown4_2.Selected.Value="Solved",
Filter(ListName ,Checkbox3_6.Value=true),
If(Dropdown4_2.Selected.Value="UnSolved",
Filter(ListName ,Checkbox3_6.Value=false),
If(Dropdown4_2.Selected.Value=Blank(),
ListName))),
ForAll(
Sequence(CountRows(wList)),
Patch(
Last(
FirstN(
wList,
Value
)
),
{RowNo: Value}
)
)
)