Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
thrichter
Contributor
Contributor

combine n rows as column

I want to join every nth rows as column. Input:

colName
row1
row2
row3
row4
row5
row6
row7

 

Output:

rowCombi
row1;row2;row3
row4;row5;row6
row7
Labels (2)
1 Solution

Accepted Solutions
thrichter
Contributor
Contributor
Author

Add a column group with content: (int) (( Numeric.sequence("rowNumber",1,1) - 1) / 3)+1 and use tAggregateRow with group by column group and in operations use as function list.

View solution in original post

1 Reply
thrichter
Contributor
Contributor
Author

Add a column group with content: (int) (( Numeric.sequence("rowNumber",1,1) - 1) / 3)+1 and use tAggregateRow with group by column group and in operations use as function list.