cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
christinadot
Frequent Visitor

(PowerApps) how can I create relationship between SharePoint files?

I can have a one to many relationship when I use SharePoint. But when it comes to PowerApps how lookup from one table to another can be succeedeed?

1 ACCEPTED SOLUTION

Accepted Solutions
Ryanmch
Power Apps
Power Apps

If you have 2 SharePoint lists where one column references a unique column in the other list, displaying the items can be done using a condition with the filter formula.

 

Say you have a gallery where the source is the first SharePoint list and a second gallery where the source should be the items related to the selected item in the first gallery. Your formula for the items of the second gallery would look like this:

 

Filter(List2, List1ID = Gallery1.Selected.ID)

 

See https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/ for more information on the filter formula.

 

Ryan McHenry [MSFT - PowerApps]

View solution in original post

1 REPLY 1
Ryanmch
Power Apps
Power Apps

If you have 2 SharePoint lists where one column references a unique column in the other list, displaying the items can be done using a condition with the filter formula.

 

Say you have a gallery where the source is the first SharePoint list and a second gallery where the source should be the items related to the selected item in the first gallery. Your formula for the items of the second gallery would look like this:

 

Filter(List2, List1ID = Gallery1.Selected.ID)

 

See https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/ for more information on the filter formula.

 

Ryan McHenry [MSFT - PowerApps]

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (3,764)