Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
mapping:
mapping
LOAD Distinct
Managercode ,
Managername
FROM [lib://DataFiles/t_employee.csv]
(txt, utf8, embedded labels, delimiter is ',', msq);
emp:
LOAD
Managercode,
Employeeid,
Employeecode,
Name,
Emailid,
Gender,
applymap(Managername,Managercode)
FROM [lib://DataFiles/t_employee.csv]
(txt, utf8, embedded labels, delimiter is ',', msq);
exit script;
It should be like:
applymap('mapping', Managercode) as Managername
Although according to the Load of your mapping table you already have both Managercode and Managername in t_employee.csv. So I'm not sure why are you mapping anything.
-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com
yes It worked now,Actually i was trying to use map on dummy data.
It should be like:
applymap('mapping', Managercode) as Managername
Although according to the Load of your mapping table you already have both Managercode and Managername in t_employee.csv. So I'm not sure why are you mapping anything.
-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com
yes It worked now,Actually i was trying to use map on dummy data.