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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
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.

Labels (1)
1 Reply
sunny_talwar
MVP
MVP

May be like this:

LOAD ID,

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

FROM ....