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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to update data based on certain rules

Hi All,

 

I have a doubt where i have my source file and destination file

source files contains set of details as follow

 

Source file

0683p000009M2Yr.png

 

now i have one rule in source file Cause is Accident but when i need to write in Destination file it

should write as ACR

 

Ex:below is set od change i need to do

 

0683p000009M2Yw.png

 

 

Finally my destination file should be like this below

 

0683p000009M22S.png

 

 

Kindly tell me feasible solution. any help is much appreciated

 

Regards,

Abisha

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

    Please try like below.

0683p000009M2Za.png

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

4 Replies
nmodi
Creator
Creator

0683p000009M2Z1.png

this should be very simple, you can use above job logic,

 

use tFileInputdelimited to read csv file, use tMap with rulefile (tFileInputdelimited) as lookup join & you can generate output (tFileOutputdelimited)based on join logic.

akumar2301
Specialist II
Specialist II

look like simple inner join of two table. you could use tmap as suggested above ot tjoin. both will work.
Anonymous
Not applicable
Author

Hi 

i m unable to get it please find my tMap settings

again i am getting the same Cause in my end file 

i need to get ACR instead of Account and RPR instead of repair

can you pleas explain in more detail it will be helpful for me Thanks in advance

 

 

 

0683p000009M2ZQ.png

 

 

 

0683p000009M2ZV.png

Anonymous
Not applicable
Author

Hi,

 

    Please try like below.

0683p000009M2Za.png

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂