Hello all. I'm still a beginner and would appreciate if someone can help me to solve this problem.
I have a search function that will display list of people by typing the department name. It works fine but I noticed that the number of people it shows does not same with the actual number. Anyway, I have 4000+ rows in GBS data source.
I got a Delegation warning: This part "Filter" of this formula might not work correctly on large data sets starting from IsBlank line until before SortPriority line. Does this delegation affect the number of records retrieved?
If(
Len(TextSearchBox.Text) > 0,
SortByColumns(
Filter(
GBS,
IsBlank(
Find(
"0",
Concat(
Filter(
Split(
TextSearchBox.Text,
" "
),
!IsBlank(Result)
),
If(
TrimEnds(Result) in department,
"1",
"0"
)
)
)
)
),
SortPriority, If(SortDescending, Ascending, Descending))
)
I'm not sure how to fix this. Hope someone could help me to solve this.