web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering Gallery Base...
Power Apps
Unanswered

Filtering Gallery Based On Variable Created From User Logged-In ID and Access List - User Has Multiple Access Rows In SharePoint

(0) ShareShare
ReportReport
Posted on by 151

I have this sharepoint list called FCIIA:

Wolfmeyn_1-1671204720059.png

 

The Column AreaDD is a Choices column with allowed multiple selection. 

This list will contain people names and unique Glogin which is their ID. 

I want people to be able to only see areas on a galleryview which are based on the AreaDD, so this TEST person should be able to see all records that have are KYC and Sanction in the gallery view. 

 

I was trying to write something like this but not working 

OnStart:

 

Set(gblLoggedUserID,Office365Users.MyProfileV2().mailNickname);  THIS LINE WORKS

Set(vUserGroup, Filter(FCIIA, Glogin = gblLoggedUserID).AreaDD);   THIS LINE DOES NOT WORK

 

in the gallery view i want to then filter on the vUserGroup so that it only shows records where Area is equal to the logged in user. 

 

Can you help me out ? 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,344 Most Valuable Professional on at

    Hi @Wolfmeyn ,

    Try this instead - Filter will get a record - LookUp (as below) get as single field value

    Set(
     vUserGroup, 
     LookUp(
     FCIIA, 
     Glogin = gblLoggedUserID
     ).AreaDD
    ); 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard