Skip to main content
Solved

How to Transpose columns in a plan?

  • September 13, 2024
  • 2 replies
  • 67 views

Forum|alt.badge.img

I have been given a list of emails that I want to transpose—converting the data from rows to separate columns—and then concatenate these columns into a single row. How can I do that in the IDE?

 

Original Data
 
After Transpose

 

Final Output

 

Note: All the emails will be unique, so I don’t want them to be grouped. Could you please suggest how I can transpose these rows into columns and later merge them into one single row?

Thank you.

Regards,
Dhaval

Best answer by may_kwok

You should be able to use an aggregation step (e.g. Group Aggregator, or Representative Creator), and use the expression concatenate().

You can see my input of 5 lines, through the Group Aggregator to concatenate the column str together.

I use Group By 1, just to allow all records to be concatenated together, using comma as delimiter.

Does this help?

View original
Did this topic help you find an answer to your question?

may_kwok
Star Blazer L3
Forum|alt.badge.img+4
  • Star Blazer L3
  • September 13, 2024

You should be able to use an aggregation step (e.g. Group Aggregator, or Representative Creator), and use the expression concatenate().

You can see my input of 5 lines, through the Group Aggregator to concatenate the column str together.

I use Group By 1, just to allow all records to be concatenated together, using comma as delimiter.

Does this help?


Cansu
Community Manager
Forum|alt.badge.img+3
  • Community Manager
  • September 16, 2024

Thanks for the solution @maykwok_hamilton 🙌


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings