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 / Collection from two so...
Power Apps
Answered

Collection from two sources, different records (rows)

(0) ShareShare
ReportReport
Posted on by

Hi team,

Question, we have two different sources from SPO List:

List 1:

NameTotal $Purchase order
John10001
Mike20002
Frank30003

 

List 2:

NamePurchase orderDivided by city
John1New York
John1San Francisco
John1Boston
Mike2Las Vegas
Mike2Seatlle
Frank3Washington

 

How to merge both list ? The collection should look like this:

 

NamePurchase orderTotal $Divided by city
John11000New York
John11000San Francisco
John11000Boston
Mike22000Las Vegas
Mike22000Seatlle
Frank33000Washington

 

Appreciate any help!

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,297 Most Valuable Professional on at

    Hi @Kepcla ,

    This should work

    AddColumns(
     List2,
     "Total"
     LookUp(
     List1 As aList
     'Purchase order' = aList.'Purchase order'
     ).Total
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Kepcla Profile Picture
    on at

    Hi Warren, yes! "AddColumns", do the job!

    I Appreciate it!

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,070

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 608

Last 30 days Overall leaderboard