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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Michiel_QV_Fan
Specialist
Specialist

Space in CSV

I need to load a CSV supplied by a third party.

The following issue occurs:

Using the wizard a number of column names is defined like this:

[part.description ]

There is an extra space at the end of the column name.

This extra space is then a load error thus failing the load script.

Removing that extra space in the script (= [part.description]) then loads the script without errors.


After receiving an updated file this doesn't work anymore.


2 Off the fields are not loaded when the space is removed while the other 60 fields where the space is removed are loaded.


Any suggestions are welcome.

Or is this a Qlik bug?

QV version 11.20

Labels (3)
5 Replies
rbecher
MVP
MVP

Hi Michiel,

can you attach the CSV header and some lines to try it out?

- Ralf

Astrato.io Head of R&D
Michiel_QV_Fan
Specialist
Specialist
Author

Ralf,

I used this to test myself.

ODBC is doing what is needed but that has a limitation of 255 columns (32 bit) but my file has 1.000 colunns.

rbecher
MVP
MVP

Can you not just use a text editor and cut out the first 10 rows?

Astrato.io Head of R&D
Michiel_QV_Fan
Specialist
Specialist
Author

No, file is too big

prieper
Master II
Master II

Encountered the problem with the blanks as well, guess that there is a difference in interpreting the headers in the wizard and then in the live-module. Trimming should work, do not understand, why this fails at yours.

You may also load the file without headers and add them manually.

Else load the file with fixed width and the option FIRST 100 LOAD and store the qvw here.

Peter