Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
dunnalahk123
Creator III
Creator III

Mapping Load

Hi,

Can some one help me here for mapping load and apply map

i am writing script as below,


MAP:

mapping LOAD

[PSA Project pse Project ID],
[HOLD Closure date2]  
 
FROM
[$(QVD_Path)\GSD_HOLDClosuredate2.qvd]
(qvd);


HOLD:

LOAD

     [PSA Project pse Project ID],
     [HOLD Closure date],
    Applymap('MAP', [PSA Project pse Project ID],[HOLD Closure date2]) as T

FROM
[$(QVD_Path)\GSD_HOLDClosuredate.qvd]
(qvd);

out put i got as below,

but here one Project ID  can have multiple dates, but when i wrote apply map for "T" column  2 rows dates are coming same which it should not be. it should come one date as 08/16/2017 and second date as 09/29/2017. as shown in second snapshot.

can some one help me here.

Joinnew.PNG

Test.PNG

22 Replies
dunnalahk123
Creator III
Creator III
Author

Hi Sunny,

Really you are superb always  . Thanks a lot .   🙂

Best Regards,

HK

Anonymous
Not applicable

Hi Sunny,

Can you let me know why 1 is appended in Mapping and 2 in the Hold?

Anonymous
Not applicable

Hi Sunny,

Can you throw some light what went wrong in the above script and what is the purpose of adding 1 and 2 at the end ?