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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Subfield help

IssueCode
Critical1234,5678,9810

Hi,

The above is a mock-up of how I'm getting data.  Several codes are in one column separated with a comma.  The question is how do I make 3 rows from the above.  Thank you!

Needed Result.

IssueCode
Critical1234
IssueCode
Critical5678
IssueCode
Critical9810
6 Replies
Anonymous
Not applicable
Author

LOAD Issue,subfield(Code,',')

from...

el_aprendiz111
Specialist
Specialist

Hi,

LOAD *,
SubField(Code,',',1) AS Code1,
SubField(Code,',',2) AS Code2,
SubField(Code,',',3) AS Code3;
LOAD * Inline
[
Issue |Code
Critical | 1234,5678,9810
]
(delimiter is '|');

EXIT Script;

Not applicable
Author

Hi, how are you?

Could you try this?


LOAD

    Issue

    subfield(Code,',') as Code

From [path]

ahaahaaha
Partner - Master
Partner - Master

Hi Joseph,

May be like this

//model your source data

Table1:

LOAD * Inline

[

Issue |Code

Critical | 1234,5678,9810

](delimiter is '|');

NoConcatenate

//convert source data

FinishTable:

LOAD

Issue,

SubField(Code, ',', IterNo())

Resident Table1

While IterNo()<=SubStringCount(Code, ',')+1;

Drop Table Table1;

Result

1.jpg

Regards,

Andrey

Anil_Babu_Samineni

Are you expecting same with Sub Headers for each Row?? If not simply do with roharoha provided.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Thank you Everyone!!!