Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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?

  • jwan_gain Profile Picture
    88 on at
    Re: Merge two columns with the same data type into one column

    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

  • Ryan_B Profile Picture
    446 on at
    Re: Merge two columns with the same data type into one column

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

  • Verified answer
    BCBuizer Profile Picture
    21,973 Super User 2025 Season 1 on at
    Re: Merge two columns with the same data type into one column

    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.

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard