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 / Merge Columns in Colle...
Power Apps
Answered

Merge Columns in Collection

(0) ShareShare
ReportReport
Posted on by 64

Hi Fam,

I'm struggling how to merge column with conditional into a new column from the same Collection.

 

CollectionA

Column1Column2Column3ID
OtherABC 1
Apple  2
Orange  3
  Vegetable4
  Meat5


Output of the CollectionA should look like this:

Column1Column2Column3MergedColumnID
OtherABC ABC1
Apple  Apple2
Orange  Orange3
  VegetableVegetable4
  MeatMeat5

 

This is my formula to collect specific column based on the selected dropdown

ClearCollect(CollectionA, 
 ShowColumns(Filter(SharePointList, Category = CategoryDropdown.Selected.Value)
 
 //SharePoint Columns
 , "Column1"
 , "Column2"
 , "Column3"
 , "ID")
)

 

How do I merge the Column1 and Column2 and Column 3 into a New Column?

 

Here is the logic

If Columns 3 isblank then Column1 but if Column 1 = other then grab Column2 else Column 1

 

Thanks

Categories:
  • Verified answer
    Spaceballs Profile Picture
    64 on at

    Never mind I think I figured it out

     

    UpdateIf(CollectionA, IsBlank(Column3), 
     {
     Column3: Column1 
     }
    );
    UpdateIf(CollectionA, Column3 = "Other", 
     {
     Column3: Column2 
     }
    )

     

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard