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 / PowerApps gallery with...
Power Apps
Answered

PowerApps gallery with 2 Sharepoint Lists with lookups & filters

(0) ShareShare
ReportReport
Posted on by 51

Hello! I'm stuck & would greatly appreciate some guidance please.

 

I have a PowerApps Canvas app with 2 Sharepoint Lists as the data sources: Projects & Contacts

 

Contacts has columns:

     ContactName: Single select (People Picker)

     ProjectTie: lookup column tied to the ID column in Projects

     PrimaryContact: Yes/No

 

In the canvas app with gallery called galProjects

I have a bunch of other filters already that work great, but I need to be able to filter so the output looks like this:

 

Projects.Title 

// Other Filtered Projects Columns here...

Contacts.ContactName (where Contacts.ProjectTie = Project.ID && Contacts.PrimaryContact = Yes)

 

***I can't use AddColumns because I store the selected record in a variable & use it in logic for other screens (unless there's no other way & I'd have to DropColumns on gallery item select??)

 

Thanks in advance!!

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,763 Most Valuable Professional on at

    Hi @ImaKickUrAsh ,

    A Label in the Gallery with this should show the value

    LookUp(
     Contacts,
     ProjectTie = ThisItem.ID &&
     PrimaryContact = "Yes"
    ).ContactName

    If however you need the value in the Gallery Items, then yes, you would need to use AddColumns.

     

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard