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: 
Anonymous
Not applicable

Making changes in scipt editor to load field with changes to it

I am currently loading one of my data tables into Qlikview using the following script -

SDUE:
LOAD * FROM

(
txt, codepage is 1252, embedded labels, delimiter is ',', msq);

I would like make a change to one of the fields as it is loaded in -

   Year,'20'&right(Year,2) as AcademicYearShort,

How do I incorporate this in the LOAD script?

Thanks

Greg

1 Solution

Accepted Solutions
stabben23
Partner - Master
Partner - Master

Not very Clear, but I'll try. Just do as below

LOAD *,  '20'&right(Year,2) as AcademicYearShort FROM

(
txt, codepage is 1252, embedded labels, delimiter is ',', msq);

View solution in original post

2 Replies
stabben23
Partner - Master
Partner - Master

Not very Clear, but I'll try. Just do as below

LOAD *,  '20'&right(Year,2) as AcademicYearShort FROM

(
txt, codepage is 1252, embedded labels, delimiter is ',', msq);

trdandamudi
Master II
Master II

May be like below:


SDUE:

Load *,

'20'&right(Year,2) as AcademicYearShort;

LOAD * FROM

(
txt, codepage is 1252, embedded labels, delimiter is ',', msq);