Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Filter Power Apps gallery based on logged User member of a group given in the People or Group field.

(0) ShareShare
ReportReport
Posted on by 18

Hi ,

 

I have a Person or group field called "AccessGroup" where I record multiple group names. now I want to filter gallery in PowerApps to check whether the logged User is a member of any one group from the groups given in the "AccessGroup" field. 

 
Can someone give me a filter function where I can filter the gallery as required?
 
Thanks in Advance.
  • Hari_Ree27 Profile Picture
    Hari_Ree27 18 on at
    Re: Filter Power Apps gallery based on logged User member of a group given in the People or Group field.

    @ShaheerAhmad I am really sorry for the delay reply. Got stuck with other urgent works.

     

    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 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. 

    Hari_Ree27_0-1709266042036.png

    I hope I made you understand the scenario.

    Please help me on this struggling from many days.

     

  • Shaheer Ahmad Profile Picture
    Shaheer Ahmad 2,194 on at
    Re: Filter Power Apps gallery based on logged User member of a group given in the People or Group field.

    Can you show an example of the data please?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard