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: 
Senor_Dai
Partner - Creator II
Partner - Creator II

Import CSV with \, delimeter?

HI,  Im trying to import a csv where the delimiter is \, eg:

 

Unit\,User\,Profits\,

When importing using the wizard I can only select \ or , as a delimiter.  Is it possible to select both?

Many thanks,

Senor Dai

Labels (1)
1 Solution

Accepted Solutions
Taoufiq_Zarra

@Senor_Dai  you can keep one delimiter like ','  and do :

LOAD left("Unit\",len("Unit\")-1) as Unit,
 
     left("User\",len("User\")-1) as User,
     left("Profits\",len("Profits\")-1) as Profits
FROM
C:\Users\t.zarra\Desktop\TEMP.csv
(txt, utf8, embedded labels, delimiter is ',', msq);

 

from this file:

Taoufiq_Zarra_0-1614679199841.png

the output:

Taoufiq_Zarra_1-1614679220196.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

1 Reply
Taoufiq_Zarra

@Senor_Dai  you can keep one delimiter like ','  and do :

LOAD left("Unit\",len("Unit\")-1) as Unit,
 
     left("User\",len("User\")-1) as User,
     left("Profits\",len("Profits\")-1) as Profits
FROM
C:\Users\t.zarra\Desktop\TEMP.csv
(txt, utf8, embedded labels, delimiter is ',', msq);

 

from this file:

Taoufiq_Zarra_0-1614679199841.png

the output:

Taoufiq_Zarra_1-1614679220196.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉