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 / Join two lists in a co...
Power Apps
Answered

Join two lists in a collection

(0) ShareShare
ReportReport
Posted on by 271
Hi,
 
Below are two SharePoint list structures.
 
ID Name
A1 ABC
A2 ABCD
and 
Name Account Amount
     
 
I need a query to join these two lists in a collection so that the output is like 
Name Account Amount ID
ABC     A1
ABCD     A2
 
Regards
Categories:
I have the same question (0)
  • Verified answer
    jpespena Profile Picture
    335 on at
    Hi,
     
    Use this code:
     
    ForAll(
       SharepointList1 As List1,
       Collect(
          colCombinedList,
          {
             Name: List1.Name,
             Account: LookUp(SharepointList2, Name = List1.Name).Account,
             Amount: LookUp(SharepointList2, Name = List1.Name).Amount,
             ID: List1.ID
           }
       )
    )
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard