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 / Combining Data from 2 ...
Power Apps
Answered

Combining Data from 2 Sharepoint Lists with Matching Columns

(0) ShareShare
ReportReport
Posted on by 46

Hey All, 

 

Hoping for Help.

I have 2 SharePoint lists:

4wordsback_0-1710179607616.png

I want to Have the Columns in Order history moved into the Columns in master item list.

Would prefer to do a bulk update.

Please help

 

Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    Hi @4wordsback 

     

    Can you try this?

    ForAll(
     Filter(
     'Order History',
     'Monthly Units' > 0
     ),
     Patch(
     'Master Item List',
     LookUp(
     'Master Item List',
     Item = Item
     ),
     {
     'Last Ordered': 'Last Ordered',
     'Monthly Units': 'Monthly Units'
     }
     )
    )
  • BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    There is no direct join functions available in PowerApps but you can workaround this. Try with below logic

     

    ClearCollect(
     collectionC,
     AddColumns(
     MasterItemList As masterListData,
     "LastOrdered",
     LookUp(OrderHistory, item = masterListData.item).LastOrdered,
     "MonthlyUnit",
     LookUp(OrderHistory, item = masterListData.item).MonthlyUnit
     )
    )
  • 4wordsback Profile Picture
    46 on at

    Sorry Neither options worked

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @4wordsback,

    I think @DJ_Jamba 's direction is correct, however, we may need a fine-tuning for column reference if you have totally same columns in both lists.

    ForAll(
     'Order History' As Tem,
     Patch(
     'Master Item List',
     LookUp(
     'Master Item List',
     Item = Tem.Item
     ),
     {
     'Last Ordered': Tem.'Last Ordered',
     'Monthly Units': Tem.'Monthly Units'
     }
     )
    )

    Note that you must ensure that the Item column is the primary key in both lists so that we could map records in both.

     

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 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard