Hi, I need help filtering a Gallery of users with an A-Z sequence and all records in the gallery from a person field combo box.
The filter I have works except it only filters the person with the last name selected in the A-Z gallery.
I need this filter on the people picker to filter all gallery records so they can see any person regardless of their last name.
DdPersonPP.Selected
I tried to set the Default of the 'GalleryA-Z' to blank {}, but then no records at all show when the page loads and I need some people to show up, so the first item A in the gallery works.
Any suggestions are appreciated. Let me know if you need clarification.
__________________________________________________________________________________
SortByColumns(
Filter(
Employees,
StartsWith(
Person0,
'GalleryA-Z'.Selected.LabelLetter.Text
) && (Category.Value = DdEmployee.Selected.Value || DdEmployee.Selected.Value = Blank()) && (Status.Value = DdStatus.Selected.Value || DdStatus.Selected.Value = Blank()) && ('AD Id'.DisplayName = DdPersonPP.Selected.DisplayName || DdPersonPP.Selected.DisplayName = Blank())
),
"Person0",
SortOrder.Ascending
)