cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
olsen9
Helper I
Helper I

Using SharePoint Lists to display Parent/Child Relationships via a lookup ID in Powerapps

List A shows items in powerapps, would like a Tab at the top that shows the 1 to many relationship in List B when clicking the Tab it opens List B items that have the same Lookup ID from List A.  I've seen someone do this with a 1 to 1 but not sure on the new form to show List B when selecting the Tab what would be the syntax to show all items related.

1 ACCEPTED SOLUTION

Accepted Solutions
mrleetyler
Resolver I
Resolver I

Screen 1:

Gallery1 - linked to main Data Source

 

Screen2

Gallery 2 - "Items" - filter(<data source>, LinkedID = Gallery1.selected.ID)

 

 

View solution in original post

5 REPLIES 5
mrleetyler
Resolver I
Resolver I

Screen 1:

Gallery1 - linked to main Data Source

 

Screen2

Gallery 2 - "Items" - filter(<data source>, LinkedID = Gallery1.selected.ID)

 

 

View solution in original post

olsen9
Helper I
Helper I

Is this the information I add to the button that will look like a tab?

olsen9
Helper I
Helper I

It doesn't work since my list A is not a Gallery, just a SharePointForm1

olsen9
Helper I
Helper I

so the filter is now working in my new gallery, the only piece I need to update is the button to show this filtered gallery.  I've tried Launch(browsegallery1) but not working

olsen9
Helper I
Helper I

figured it out with the navigate option.  thanks for the help on the filters.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,243)