Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Read a CSV Column into an Inline table

Does anyone know how to read a CSV column into an inline table?

I have the following inline table created:

load *  Inline [ResSel,

success

Success

PLANNING

SALES

REPAIR

PRODUCT MANAGEMENT

TPL VENDOR MANAGEMENT

CUSTOMER / PARTNER

OM

SSCD

CUSTOMER

IT

MANUFACTURING

TAC/OM

TPL CONFIG TEAM

TSTR

TAC

]

However the field values are manually taken from the distinct contents of a CSV file column "ResSel" . I would like to be able to read the inline data from the CSV column "ResSel" and populate the inline field with the distinct data when I load. That takes are of a situation where a new field value shows up in the data and so will automatically get added to the inline data.

Any ideas would be appreciated.

Jim.

1 Solution

Accepted Solutions
Nicole-Smith

Why not just load the distinct values of that column from the .csv all of the time?  (Get rid of the inline table that you currently have, and just use the .csv file.)

Table:

LOAD DISTINCT ResSel

FROM File.csv;

View solution in original post

2 Replies
Nicole-Smith

Why not just load the distinct values of that column from the .csv all of the time?  (Get rid of the inline table that you currently have, and just use the .csv file.)

Table:

LOAD DISTINCT ResSel

FROM File.csv;

Not applicable
Author

Duh - yes I just realized that I could load the field a second time to make it an island - I need it as an island - i.e. not joined to the rest of the data - thanks Nicole