web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 301 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 297 Most Valuable Professional

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard