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 / Concat from one SP lis...
Power Apps
Answered

Concat from one SP list to another

(0) ShareShare
ReportReport
Posted on by

I'm trying to concat specific inputs to a SharePoint list.

This is what I have now:

Patch( ExpenseMaster, LookUp (ExpenseMaster, ID=Form1.LastSubmit.ID), { 'Air Wing': Concat( ExpenseDetails ,FlyUnit, "," ) } ) 

This is to get the desired record to patch to the master and be associated with the same ID 

 

When I do this I get the whole record in my SP list. Is there a way to have specific parts of the record concat?

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @kingy61422 ,

     

    Could you please share more details about your scenario? Could you share the data structures of the two lists, as well as some sample data to help us understand the scenario? What do you mean by get the whole record? Concat function will concatenate all the column values with the separator. So what specific purpose would you like to achieve?

     

    Based on your formula, I think there is a FlyUnit column in the ExpenseDetails list, what you want is to get corresponding FlyUnit value and populate it in the 'Air Wing' column of ExpenseMaster list. But what is the relationship between ExpenseMaster and ExpenseDetails lists? 

     

    Maybe you can try below formula first, if there is a MasterID LookUp column (look up the ID column of the Master list) in the ExpenseDetails list:

    Patch(
     ExpenseMaster, 
     LookUp(
     ExpenseMaster, 
     ID=Form1.LastSubmit.ID
     ), 
     //MasterID column is a LookUp column
     {'Air Wing': Concat(Filter(ExpenseDetails, MasterID.Value = Form1.LastSubmit.ID),FlyUnit, "," )}
     //MasterID column is a Text column
     {'Air Wing': Concat(Filter(ExpenseDetails, MasterID = Form1.LastSubmit.ID),FlyUnit, "," )}
    ) 

     

    Best regards,

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard