cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KUNGFUPANDA559
Level: Powered On

Merge two collections without blank spaces

I'm having an issue combining two collections and getting the the results i'm looking for.

 

Col1=HeaderValue1: TestValue1

Col2=HeaderValue2: TestValue2

 

Collect(FinalCollection,col1,col2)

 

FinalCollection yields the following results

 

HeaderValue1      HeaderValue2

                             TestValue2

TestValue1

 

 

When I'm looking for the following:

 

HeaderValue1     HeaderValue2

TestValue1           TestValue2

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Merge two collections without blank spaces

Hi @KUNGFUPANDA559 ,

 

Try to use below formula instead:

 

ClearCollect(FinalCollection,Ungroup(AddColumns(col1,"Table",col2),"Table")

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Merge two collections without blank spaces

Hi @KUNGFUPANDA559 ,

 

Try to use below formula instead:

 

ClearCollect(FinalCollection,Ungroup(AddColumns(col1,"Table",col2),"Table")

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,301)