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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
qliklearnervir
Creator
Creator

Filed not found error but script is correct

Hi,

i am using below given scrip to load csv file from folder location.....

LOAD  UID,

     Title,

     firstName,

     lastName,

     gender,

     birthDate,

     addressLine1,

     addressLine2,

     addressLine3,

     zip,

     country,

     email,

     mobile,

     phone,

     villagepreference,

     "subscribe-mail",

     "subscribe-email",

     "subscribe-sms"

FROM

$(vCSVFileLocation)$(vGuestFileName)

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

but i am getting field UID not found error.

please suggest.

csv file attached .

Labels (1)
10 Replies
Anil_Babu_Samineni
MVP
MVP

I don't think so, But you may do like this

You should do this by reload with these options and change direct from here. Then you will achieve

Capture.PNG

LOAD ["UID] as UID,

     [""Title""] as Title,

     [""firstName""] as firstName,

     [""lastName""] as lastName,

     [""gender""] as gender,

     [""birthDate""] as birthDate,

     [""addressLine1""] as addressLine1,

     [""addressLine2""] as addressLine2,

     [""addressLine3""] as addressLine3,

     [""zip""] as zip,

     [""country""] as country,

     [""email""] as email,

     [""mobile""] as mobile,

     [""phone""] as phone,

     [""villagepreference""] as villagepreference,

     [""subscribe-mail""] as [subscribe-mail],

     [""subscribe-email""] as [subscribe-email],

     [""subscribe-sms"""] as [subscribe-sms]

FROM

(txt, codepage is 1252, embedded labels, delimiter is '|', no quotes);


Note: I would recommend to remove there directly, I mean this Store in CSV without double quotes

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful