I am making a powerapp thats filters a sharepoint list based on a "Shared With" column. Its a nested gallery where the parentDashboard gallery groups the Dashboard Categories, adnt he child gallery displays the reports associated to that dashboard but only shows the reports that the current user is part of the shared with column in sharepoint. The Shared With column is people and groups in Sharepoint, and we use with with inidividual users along with AD groups. What I am trying to do in Powerapps is Filter the list based on If the User().email is in the Shared With columns email, but also need the capability to determine if the current user is a part of any AD groups in that column as well. I got the first portion to filter based on this:
Filter('Power BI Permissions',DashboardString = ThisItem.DashboardString && User().Email in 'Shared With'.Email) How do I add the capability for searching if current user is a member of any AD groups that are listed int he Shared With Column?