Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jeckstein
Partner - Creator
Partner - Creator

Load field only up to comma

I have  a field a table that looks like this.

IDType

300

Jim,Dave,Scott
500Ron,Betty,Jeff
600Sara,Nick,Nick

When loading into Qlik I need only the charteres to the left of the first comma in the type column. The result should look like this.

IDType
300Jim
500Ron
600Sara

Any help??

Thanks in advanced.

1 Reply
sunny_talwar

May be like this:

LOAD ID,

         SubField(Type, ',', 1) as Type

FROM ....