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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
everest226
Creator III
Creator III

Table with new column

hi i have a chart which has data in 3 column , now the requirement to add a new column which has TEST in column.i need to add expression which will add test column with test type data

Table i have is

Name ,  address,  amount,

sam ,,, Texas, 501

Steve,  Cal, 201

etc

Added column that i want is ( test)

Name ,  address,  amount, Test

sam ,,, Texas, 501, test

Steve,  Cal, 201, test

etc

3 Replies
mdmukramali
Specialist III
Specialist III

Hi,

Simply Add the column like.

'test' as Test

// in the load script.

sunny_talwar

You can just do this

LOAD Name,

    address,

    amount,

    'test' as Test

FROM ...

mdmukramali
Specialist III
Specialist III

Hi,

Load *,

'test' as Test

inline

[

Name , address, amount

sam,Texas, 501

Steve, Cal, 201

];

or in the script.

in the load statement

'test' as Test,