Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mwscott1
Creator
Creator

How to load rows of data as separate columns?

I am working with a .CSV file with one column of user information. Each user has 3 rows of information. I need to load those rows as separate columns.

MailboxOwnerId : ID1
Name           : JohnDoe@email.com
ForwardTo      : JD@gmail.com
MailboxOwnerId : ID2
Name           : JaneSmith@email.com
ForwardTo      : JS@outlook.com

MailboxOwnerId :Name           :ForwardTo      :
ID1JohnDoe@email.comJD@gmail.com
ID2JaneSmith@email.comJS@outlook.com

Is this possible?

2 Replies
Not applicable

Hi Melvin,

In what format is this data?

You can use the Enable Transformation Step to do this. When you select import Table Data and click next you get this option. You can then decide how to import the data.

Regards,

Marius

jerem1234
Specialist II
Specialist II

As Marius Koekemoer mentions, you can transform the data you load in. You will want to use the Transpose function in the filters of the specifications like:

Test:

LOAD @1 as Field1,

     @2 as Field2,

     @3 as Field3

FROM

Test1.csv

(txt, codepage is 1252, no labels, delimiter is ',', msq, filters(

Transpose()

));

If not, maybe you can use the Generic Load which is described here: http://community.qlik.com/blogs/qlikviewdesignblog/2014/03/31/generic

Hope this helps!