Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Extracting first row within the row from a column

Hi,

How to load data from a column when we have multiple rows with in a row.

Example:

Header 1
Name
Steven
Joseph
Cruz
Alex
Yoh
Chang
Yan
Screw
Saw

Output should be:

Header 1
Name
Steven
Alex
Screw

Please help me on this example.

12 Replies
tresesco
MVP
MVP

Use chr(10) for new line like:

LOAD

SubField(Name,chr(10),1) as FirstName

FROM <>;

PFA.

Anonymous
Not applicable
Author

Hi,

It worked well.

Many thanks.

tresesco
MVP
MVP

Please close the thread then, by marking the right post as answered. It would help others as well.