Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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.