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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Convert Comma Separated column value to rows

Hello,


I have a table Sample with data stored like below in excel spreadsheet. 

Capture.PNG

I need to process the data and store it in the QVD file for further calculations.  Appreciate any inputs.

3 Replies
sunny_talwar

Try using subfield function here:

LOAD Id,

          SubField(String, ',') as processedrows

FROM Source;

Anil_Babu_Samineni

Try


Subfield(processdrow,',',chr(10))

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
sunny_talwar

Check out the sample

Table:

LOAD Id,

  SubField(String, ',') as processedrows;

LOAD * INLINE [

    Id, String

    1, "abc,def,ghi"

    2, "jkl,mno,pqr"

];


Capture.PNG