web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Merge two columns with...
Power Apps
Answered

Merge two columns with the same data type into one column

(0) ShareShare
ReportReport
Posted on by 446

I have two lists that each have a column that is the same type of data. One list is for submissions and the other is for approved submissions. I have a gallery that shows the actual data and the submissions together, but without these being in the same column I can't sort them properly.

 

Example:

List 1 - Approved submissions AKA the actual data

AAA
BBB
CCC

 

List 2 - Submissions awaiting approval that will be added to the actual data once approved

DDD
EEE
FFF

 

Desired outcome:

AAA
BBB
CCC
DDD
EEE
FFF

 

How would I go about doing this?

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @Ryan_B ,

     

    The below will work if both lists have the same column names and types:

    ClearCollect(colTotal,List1);
    Collect(colTotal, List2)

     If there's not a 100% match, you'll have to perform some manipulations.

  • Ryan_B Profile Picture
    446 on at

    @BCBuizer 

     

    Wow, I didn't think it would be that simple.

     

    Turns out the reason I wasn't able to do this was because I had imported the list from Excel and the columns were showing up as field_1, field_2, etc. I remade the lists from scratch and just copy-pasted the data into them and it worked like a charm.

     

    Thank you!

  • jwan_gain Profile Picture
    88 on at

    i have similar Problem, i hope can somebody help me: @BCBuizer 
    i want to merge two rows in the dataverse Table, because they have same Company Name, so when x Company had updated his Records, usually it looks two rows with same company name, but i want it to show in same row with update Records.. 😞 
    Screenshot 2022-08-08 at 14.14.24.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard