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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multiple rows to single row

Hi,

i have callno and partno and many other fields also which i have loaded in straight table. for a single call no we have multiple partnos which i want to load in a single column and row with inserting a separator how can this be done?

sample:

callno - 2349

partnos-

XXX

rtgh

UUUU

result i want it as :

callno      |   partnos

2349       |    XXX, rtgh, UUUU

Regards,

Grace

1 Solution

Accepted Solutions
Not applicable
Author

Load callno, concat(partnos,',') as Allpartnos from tablename

group by callno;

since u've other fields also, u need to group by those fields also

or u can only use this part in a separate load and link to the main table.

depends on which cols u need in ur stght table

View solution in original post

4 Replies
Not applicable
Author

Load callno, concat(partnos,',') as Allpartnos from tablename

group by callno;

since u've other fields also, u need to group by those fields also

or u can only use this part in a separate load and link to the main table.

depends on which cols u need in ur stght table

Not applicable
Author

Thanks, how to do vice versa...

partno

XXX, rtgh, UUUU

i want to load one below the other...

Not applicable
Author

what do u mean by one below the other, aren't they already one below the other ?

nagaiank
Specialist III
Specialist III

Use SubField() as shown below:

LOAD SubField(partno,',') as IndividualPartNo

from/resident whatever...