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 / Create new table from ...
Power Apps
Answered

Create new table from several columns in existing collection

(0) ShareShare
ReportReport
Posted on by 1,207

I want to take several columns from a data source and put them in a new collection under a single column. For example the three items in column A, B, C would become three data items under a new column in the new collection.

 

colSourceCollection

           URL1                 URL2                     URL3

www.url-one.com | www.url-two.com | www.url-three.com

 

colNewCollection

 

URL

---------------

www.url-one.com

www.url-two.com

www.url-three.com

 

I've tried using GroupBy and AddColumns but can't get the result I'm looking for.

 

 

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    You'll use AddColumns() and then Concatenate() to create the string.
  • Digital Profile Picture
    1,207 on at

    @Anonymous ,

     

    Thanks for the reply.

     

    So I should use AddColumns to concatenate the contents of each URL column. How would I then built a collection from the contents of the added column? Split perhaps?

     

    I'm surprised there isn't a simpler way of taking data from several columns and putting into a single column table/collection.

     

    Cheers

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Digital 

     

    Can you try to use the below expression:

    Clear(colNewCollection);ForAll(colSourceCollection,Collect(colNewCollection,{Value:Url1},{Value:Url2},{Value:Url3}))

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard