Announcements
Hey All,
Hoping for Help.
I have 2 SharePoint lists:
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
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' } ) )
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 ) )
Sorry Neither options worked
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 483
WarrenBelz 399 Most Valuable Professional
11manish 327