Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

All collection items and columns into ONE field

(0) ShareShare
ReportReport
Posted on by 103
I have an app for ordering supplies. When a user clicks add on an item it sends that items info to a collection. Each item in the collection has columns for;
 
NSN
NOMEN
QTY
PRICE
 
When someone places an order, that collection is exported to a CSV through PowerAutomate. It also records the order in a sharepoint list. I would like to patch all items selected to one multi-line text column, called c_ITEMS, for that particular SP list item, so that it looks like;
 
NSN, NOMEN, QTY, PRICE
NSN, NOMEN, QTY, PRICE
etc.
etc.
 
I tried to use Concat, but I was only able to select one column from the collection. I'm unsure how to display all columns for each item.
Categories:
  • Verified answer
    WarrenBelz Profile Picture
    146,603 Most Valuable Professional on at
    All collection items and columns into ONE field
    Hi wwmn
    This would put all fields and records into the format you posted in one column
    Concat(
       CollectionName,
       NSN & "," & NOMEN & "," & QTY & "," & PRICE,
       Char(10)
    )
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • wwmn Profile Picture
    103 on at
    All collection items and columns into ONE field
    @abc 123
     
    Actually I have considered this, I was just hoping there was a more direct or "correct" way. 
  • Suggested answer
    abc 123 Profile Picture
    784 Super User 2025 Season 1 on at
    All collection items and columns into ONE field
    In the SharePoint list, and MLOT has the property called "
     
     
    So, do one patch to add the new Record, then do a ForAll( Patch() ) that writes every row in the collection to the self-appending MLOT.
     
    (This is a total hack, and I will never admit that I suggested it, but it should work.)

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,603 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard