Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
Below script work fine :-
MAP_NAME:
mapping LOAD RAW,
NAME
FROM
[MAP_A.xlsx]
(ooxml, embedded labels, table is MAP_A);
For Each i in 'A','B'
LOAD
COY,
SALESMAN,
'$(i)' as SOURCE,
ApplyMap('MAP_NAME',[SALESMAN],'OTHERS') as [SALESMANE_],
SALES
FROM
COY_$(i).xlsx (ooxml, embedded labels, table is COY_$(i));
NEXT i;
Above script generate below table :-
Noe the highlight red color line not able recode SOURCE = B
Hope some one can advise me.
Below is my Map Table for SOURCE A.
This looks like it's working correctly? There are no mapping values associated with the latter two values, so they are assigned OTHERS.
Hi All
Above is the sample file i created , hope you can advise me.
Paul