Hi Community,
Been banging my head against the wall with this one, and so far haven't come across anyone else who's either built something similar or come across the same issue from all the forum posts and YouTube videos I've watched.
I'm trying to create a Gallery search option using buttons that are grouped as: [A-C], [D-F], [G-I], [J-M], [N-P], [Q-Z]
Each button has an OnSelect = Set(Var1,["A","B","C"]), or Set(Var1,["D","E","F"]) or Set(Var1,["G","H","I"]) ... you get the idea.
OnSelect = Set(Var1,["A","B","C"])
In my Gallery I have the following code:
Items = Sort(
Filter(
Office365Users.SearchUser(),AccountEnabled=true,
Left(
DisplayName,
1
) in Var1.Value
),
DisplayName,
Ascending
)
However my Search results return some results from A-B... no C.
When I click the D-F button... nothing. No users returned.
When I click G-I button, 2 random users are returned. I know I have more users in my organisation between G and I.
I'm really stumped and very confused why no results / random 1-2 results are coming back for the other buttons.
Any ideas, oh wise wizards of the community?