Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
jeckstein
Partner
Partner

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 ....