Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to load simple .CSV script

Hi,

I am new here, I have below type of .csv file, where every day a new date to be added in a coulmn in csv sheet.

Can anyone help me with a script to load this data in QVW to make charts, and when i add a date coulm everyday i just need to reload file rather than changing script again and again

----------------------------------------------------------------------------------------

user sign up8/4/20108/5/20108/6/20108/7/2010
sign up99310561192991
1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Try the approach in the attached zip:

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

11 Replies
sunil2288
Creator III
Creator III

HI Yogesh,Go to Edit script window below there is a button Table files click on that.then

in File type check on delimited and Delimiter as comma lebels as Embedded labels then finish.

Hope it will solve ur problem

Regards

Sunil

Not applicable
Author

It loads every date in script, so everytime i add a new date i need to change script!! This would not help!!

Not applicable
Author

Hi Yogesh,

I think you can do like

LOAD *

FROM

test.csv;

you can use (*) rather than specifying the field names...



sunil2288
Creator III
Creator III

hi

no yogesh you just need to do a reload to update while you add a new date..

regards

jonathandienst
Partner - Champion III
Partner - Champion III

Try the approach in the attached zip:

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thanks Jona,

Can u explain a code bit, esp. codepage is 1252 this

sunil2288
Creator III
Creator III

HI Yogesh Do as i Suggest you ..

It will solve ur problem..

Regards

sunil2288
Creator III
Creator III


LOAD [user sign up],
[sign up]
FROM

(txt, codepage is 1252, embedded labels, delimiter is ',', filters(
Transpose()
));

Not applicable
Author

If i add more rows than this code is not working 😞