I have a case in which a list has a department column (type choice). I want to filter my gallery data using the logged in user's department. However, the same user can belong to multiple departments and that has been saved in another list and the department data for the logged in user is fetched during "OnStart" and saved in variable/collection.
eg: Department column in SharePoint list has choices of [Finance, HR, Admin, Tech, Support] etc. and the logged in user belongs to [Tech, Support].
I have tried saving the user departments as a string using "Concat" and Filtered using Department.Value in departmentString and I have tried using a combination of CountRows, Filter, ForAll but I am still getting delegation issues.
How do I filter my gallery data without facing delegation issues?
Any help will be appreciated.
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
57
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1