Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

chadgambone
New Contributor II

Importing multiple files into a single table

I have a directory with 15 or so CSV files that all have the exact same field names and structure.  When I use the code:

CLReviewData:

LOAD * FROM directory\*.csv (txt, codepage is 1253, embedded labels, delimiter is ',', msq);

It works for most of the tables, but it doesn't work for 2 of the files.  Instead, it will import them into CLReviewData-1 and CLReviewData-2. 

Any thoughts on what can be causing that?

1 Solution

Accepted Solutions
chadgambone
New Contributor II

Re: Importing multiple files into a single table

I found it --- annoying type mismatch where some of the files had year as a number and some had it stored as text.

1 Reply
chadgambone
New Contributor II

Re: Importing multiple files into a single table

I found it --- annoying type mismatch where some of the files had year as a number and some had it stored as text.

Community Browser