Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Map commend for Flag hot selling items

Hi All

Now i manually tick on my excel file column Hot = 1 for those items is hot selling.

I want to replace by load script , using map command for doing this .

So i create a map script :-

HotMap:

mapping LOAD * INLINE [

OldCode,NewCode

TS1070,1

TS1070i,1

TS1100,1

TS1100i,1

];

In my Tab = TS , i add below script :-

  ApplyMap('HOTMAP', Model,'','1') AS HOT_MAP,

I get error msg , parameter need 2 to 3....

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try removing extra single quotes like:

ApplyMap('HOTMAP', Model,'1') AS HOT_MAP,

View solution in original post

2 Replies
tresesco
MVP
MVP

Try removing extra single quotes like:

ApplyMap('HOTMAP', Model,'1') AS HOT_MAP,

Not applicable
Author

Thank Tres