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 / Filter PowerApps galle...
Power Apps
Answered

Filter PowerApps gallery from SharePoint list with lookup from another list

(0) ShareShare
ReportReport
Posted on by 8

I have 2 SharePoint list

List1

================

User email

CustomID

Details

 

List2

===============\

CustomID

Column1

Column2

Column3

 

Now if the logged in user().email found in list1 user email field take the customID column value and lookup in List2 and display those in PowerApps gallery

 

 

 

Categories:
I have the same question (0)
  • Silvester. Akakpo Profile Picture
    783 on at

    Hello @jayakumark ,
    try this

    Set(VarID, LookUp(List1, 'User email'=User().Email, ColumnID));Filter(List2,ColumnID=VarID)

    Please accept as a solution if it works for you.

  • jayakumark Profile Picture
    8 on at

    This is half way working(returning only 1 line in gallery) as the first lookup returning array values i mean multiple customID matching to the user().email ,so we need to filter an array of values.

  • Silvester. Akakpo Profile Picture
    783 on at

    Oh okay,

    ClearCollect(ColID,Filter(List1,'User email'=User().Email).ColumnID);
    ForAll(ColID,Filter(List2,ColID in ColumnID))

    Let me know how it goes...

  • jayakumark Profile Picture
    8 on at

    Thanks,

    How can i use this filter in gallery?i couldnt validate as the source is showing as collection now. 

     

    ForAll(ColID,Filter(List2,ColID in ColumnID))

     

  • Verified answer
    WarrenBelz Profile Picture
    154,393 Most Valuable Professional on at

    Hi @jayakumark ,

    Try this as the Gallery Items

    With(
     {
     wUser:
     Filter(
     List1,
     'User email' = User().Email,
     )
     },
     Ungroup(
     ForAll(
     wUser As aUser,
     Filter(
     List2,
     CustomID = aUser.CustomID
     )
     ),
     "Value"
     )
    )

     

    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.

    Visit my blog Practical Power Apps

     

  • jayakumark Profile Picture
    8 on at

    Wow. It worked. Thanks A lot

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard