In this Microsoft Power Apps tutorial, I will explain how to create Power Apps Collection from Multiple SharePoint Lists. Then, I will show you how to add a data source to the Power Apps collection.
Moreover, we will discuss how to manage two SharePoint data lists in the Power Apps collection. Last, we will cover how to display the Power Apps collection on a data table from two SharePoint lists.
Create Power Apps Collection from Multiple SharePoint Lists
We can create a Power Apps collection using multiple SharePoint Online lists and easily display the Power Apps collection on a data table control.
- Let’s take a simple scenario: I have two SharePoint Online Lists, i.e.,
- Training Courses
- Tutor of Training Courses
- The first SharePoint list (Training Courses) has the following columns with different data types.
Column Name | Data Type |
Course Name | It is a default single line of text and I renamed as “Course Name” |
Description | It is a “Multiple lines of text” |
Choose Technology | It is a “Choice” column |
Start Date | It is a “Date and time” column |
End Date | It is a “Date and time” column |
- The second SharePoint list (Tutor of Training Courses) has the following columns with different data types.
Column Name | Data Type |
Course Name | It is a default single line of text and I renamed as “Course Name” |
Tutor | It is a “Person or Group” column |

I want to create a Power Apps collection, i.e., [colCourses]. I have added data from the two SharePoint Online lists in this collection.
- For example, I want to display the collection on a data table using the first SharePoint list [Training Courses] columns and add one more column, i.e., [Tutor] from the second SharePoint list [Tutor of Training Courses] as shown below.

To work around the above scenario, follow the below two examples. Such as:
Example 1: Create Power Apps Collection from Multiple SharePoint Lists [Using Patch() Function]
Here, we will discuss how to create a Power Apps collection from multiple SharePoint lists using the Patch() function. To achieve it, follow the below steps.
- Open your Power Apps with your credentials -> Create a Canvas app where you want to add a collection -> Add data from SharePoint lists like the one below.

- Then, rename the default screen (MultipleCollectionScreen) -> Insert a Button control (Collection from multiple SharePoint lists) -> Set its OnSelect property as:
OnSelect = Collect(
colCourses,
ForAll(
'Training Courses' As _item,
Patch(
_item,
{
Tutor_Found: LookUp(
'Tutor of Training Courses',
Title = _item.Title,
Tutor
)
}
)
)
)
Where,
- colCourses = Collection name
- ‘Training Courses’ = Name of the 1st SharePoint list
- Tutor_Found = It is a column that we want to add to the collection
- Patch = This Patch () function to modify records in complex situation
- ‘Tutor of Training Courses’ = Name of the 2nd SharePoint list

- Now, insert a Data table and set its Items property as:
Items = colCourses

- To display the collection fields in the data table control, click the Edit fields option and add fields as needed.

- Now, click on the button control [Collection from multiple SharePoint lists] to display all columns along with the “Tutor” column on a data table.

This is how to create a Power Apps collection from SharePoint lists using the Patch() function.
Example 2: Create Power Apps Collection from Multiple SharePoint Lists [Using LookUp Function]
Let us discuss how to create a collection using the lookup function. To do so, follow the below steps.
- On the Power Apps Screen -> Insert a Button control [Create Collection with Two SP Lists] -> Set its OnSelect property code like below.
OnSelect = With(
{
CourseTutor: RenameColumns(
'Tutor of Training Courses',
"Title",
"CourseName"
)
},
ClearCollect(
colCourseTutor,
AddColumns(
'Training Courses',
"Tutor",
LookUp(
CourseTutor,
CourseName = Title
).Tutor
)
)
)
Where,
- CourseTutor = It is the scope of the formula to define the collection
- ‘Tutor of Training Courses’ = Second SharePoint Online List
- “Title”, “CourseName” = these are the rename columns
- colCourseTutor = Collection name
- ‘Training Courses’ = First SharePoint Online List
- “Tutor” = Lookup column
- LookUp = By using this function to evaluate the records of the table based on a single condition

- Then, insert a Data table and set its Items Property as:
Items = colCourseTutor
- To display the collection fields in the data table control, click the Edit fields option and add fields as needed.

- Now, click on the button to display the Power Apps collection with all the columns as shown below.

This is how to create a Power Apps collection from multiple SharePoint lists using the LookUp() function.
Also, you may like some more Power Apps tutorials:
- How to Create a Collection OnStart of a Power Apps?
- Remove Items from a Power Apps Collection
- Power Apps Collection GroupBy
- Remove a Column From Power Apps Collection
- Power Apps Filter Gallery By Date
Conclusion
Whenever you want to create a Power Apps collection using multiple SharePoint Online lists, you can add SharePoint lists as values in the Power Apps collection.
From this Power Apps tutorial, I have explained all about creating a Power Apps collection from multiple SharePoint Online lists.
Also, we covered how to add data sources [SharePoint Lists] to the Power Apps collection and how to manage the two SharePoint lists in the Power Apps collection. And finally, we saw how to display the collection on a data table control.

Preeti Sahu is an expert in Power Apps and has more than 6 years of experience working with SharePoint and the Power Platform. As a Power Platform expert for Power BI, Power Apps, Power Automate, Power Virtual Agents, and Power Pages, she is currently employed with TSinfo Technologies. She is the author of the book Microsoft Power Platform A Deep Dive. She also made a big technical contribution to SharePointDotNet.com in the form of articles on the Power Platform. She enjoys traveling and spending time with her family in her spare time.