Hi Everyone,
I have a SharePoint Document library in which i have a people picker field (AccessGroups) to allow multiple selection (Only Groups are added in it). Now i want to filter the library in PowerApps in such a way that if the current user is member of any one group (basically Departments) from the groups mentioned in the people picker field, those documents only should be visible to user.
For example in the below image, if the current logged user is a member of Account Group and All Company Members, then the user should only see Policy 2, Policy 3 and Policy 4. User should not be able to see Policy 1.

Can anyone please help on this?
I tried filtering like below but it is showing blank Gallery.
Filter('Test Library', User().Email in AccessGroup.Email)