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 / How to create a collec...
Power Apps
Answered

How to create a collection with columns in different sharePoint Lists

(0) ShareShare
ReportReport
Posted on by 11

Hi, I want to bind SharePoint lists and create a collection from SharePoint Lists columns. I have 4 lists
List A

A_IDD_IDA_DueDateA_Status
1103-03-2021New
2203-15-2021Approved

 

List B

B_IDB_Name

1

Alex
2Tony

 

 

List C

C_IDC_CountryC_PostCode
1USA12345
2UK23456

 

List D

D_IDB_IDC_IDD_Value
111125
222256


The New Collection that I want to create will look like-

A_IDA_DueDateB_Name & C_CountryC_PostCodeD_ValueA_Status
103-03-2021Alex, USA12345125New
203-15-2021Tony, UK23456256Approved

 

Is it possible to create a collection to fetch data from different SharePoint List?
with my information I mentioned all queries If you want to know more please reply.
Thanks

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Dips97 

    Consider the following formula for what you need:

    With({_listA: ListA, //Possibly you want to filter your List here
     _listB: ListB, // same as above
     _listC: ListC // same as above
     _listD: ListD // same as above
     },
    
     ForAll(_listA As _listAitem,
     With({_listBitem: LookUp(_listB, B_ID = _listAitem.A_ID),
     _listCitem: LookUp(_listC, C_ID = _listAitem.A_ID),
     _listDitem: LookUp(_listD, D_ID = _listAitem.A_ID)},
    
     {A_ID: _listAitem.A_ID,
     A_DueDate: _listAitem.A_DueDate,
     'B_Name C_Country' : _listBitem.B_Name & ", " & _listCitem.C_Country,
     C_PostCode : _listCitem.C_PostCode,
     D_Value: _listDitem.D_Value,
     A_Status: _listAitem.A_Status
     }
     )
    )

     

    This will return a table based on your information and requirement.

     

    I hope this is helpful for you.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard