Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vchuprina
Specialist
Specialist

How separate data in column?

Hi All,

I new in QlikView.

Now I work with csv format file and have a problem.

I don't know how to separate data from one column (48 symbols) in different columns

Length of future columns:

SALES-DATE ( 8 )

UPC ( 15 )

STORE ( 4 )

SALES-UNIT ( 8 )

SALES-DOLLARS ( 13 )

Please help.

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
1 Solution

Accepted Solutions
Colin-Albert

The file is a fixed width file not csv.  Select the file type Fixed Record and you can then specify the column widths by clicking the file preview.

fixed.JPG


View solution in original post

4 Replies
agomes1971
Specialist II
Specialist II

Hi,

LOAD @1:8,

     @9:22,

     @23:26,

     @27:35,

     @36:n

FROM

[..\data.csv]

(fix, codepage is 1252);

Regards

André Gomes

Colin-Albert

The file is a fixed width file not csv.  Select the file type Fixed Record and you can then specify the column widths by clicking the file preview.

fixed.JPG


vchuprina
Specialist
Specialist
Author

Andre, thank you for the "fish".

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
vchuprina
Specialist
Specialist
Author

Colin, thank you for the fishing rod.)

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").