Hi @TobiasSQA ,
Probably something like this:
If(!IsBlank(txtsearch.Text),
SortByColumns(
Filter(
PotentielleKunder2,
txtsearch.Text in Title & Postnummber),
"Title",Descending)
,
If(
!IsBlank(KategoriFilter.Selected.Value),
SortByColumns(
Filter(
PotentielleKunder2,
KategoriFilter.Selected.Value = Kategori.Value
),"Title",Descending),
SortByColumns(PotentielleKunder2,"Title",Descending)
)
)
_____________________________________________________________________________________
Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!