<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Replace CSV Values with Database Values passing by transformation File in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283887#M57700</link>
    <description>&lt;P&gt;Hello !&lt;/P&gt; 
&lt;P&gt;Okay so I checked with more details all the examples you provided. Very helpful for me to understand your problem.&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LQF5AAO"&gt;@Antoine01&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;P&gt;So we need 3 columns in output but we don't know how to do this.&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Is it possible to do this with only one Dictionary or should we create a Dictionary for every Column that we want to translate and in this is the case, how can we do it properly ?&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;It is possible with only one dictionary : I don't think so. For me Talend cannot do that &lt;STRONG&gt;natively, &lt;/STRONG&gt;maybe with some custom java's class you can achieve this point, but I don't see, or I don't know, how to do that with only one dictionary.&lt;/P&gt; 
&lt;P&gt;With your examples I made a job which uses 3 lookup, one for each column. Here's the screenshot below.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary_OK.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Ml.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157371iF512BF1D8207575D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Ml.png" alt="0683p000009M7Ml.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;How does it works :&lt;/P&gt; 
&lt;P&gt;Reading your input csv, lookup the 3 columns from your dictionary. In the tMap I'm just using the same as you did before, inner join with the value and return the ID.&lt;/P&gt; 
&lt;P&gt;The only added a few java code to "match" if your Priority or Criticite in the input file, is present in the "Valeur" column of your dictionary.&lt;/P&gt; 
&lt;P&gt;Here's the second screenshot :&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary_tmap_OK.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7bT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136642i478056F7271EE0A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7bT.png" alt="0683p000009M7bT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Details of the "Var" column :&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;varPriority&lt;/STRONG&gt; : row2.VALEUR.contains(row3.Priority)?row2.ID:null&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;varCriticte&lt;/STRONG&gt; : row8.VALEUR.contains(row3.Criticite)?row8.ID:null&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I didn't use a var for "IssueType" because it matched perfectly between the input and your dictionary.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The result of that is not optimized, and honestly I don't know how to do it better.&lt;/P&gt; 
&lt;P&gt;I'm using a UniqRow, because in the tMap there is no key on the left, so I have a big cartesian product between the 2 columns and the input file. (lines_nb_dictionary_priority * lines_nb_dictionary_criticite * lines_nb_nput_files)&lt;/P&gt; 
&lt;P&gt;Then I've added a tFilter, many lines contained "null" values, because of the cartesian product, so I squizzed them.&lt;/P&gt; 
&lt;P&gt;The final screenshot with the result :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary_result.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7bY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154192i501D75D393475589/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7bY.png" alt="0683p000009M7bY.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;4 - 11 - 2 : High - Improvement - Low (CHAMP -&amp;gt; PRIORITY)&lt;/P&gt; 
&lt;P&gt;4 - 11 - 7 : High - Improvement - Low (CHAMP -&amp;gt; CRITICITY)&lt;/P&gt; 
&lt;P&gt;It might be a bug, I don't know if I had to deal with the column "CHAMP".&lt;/P&gt; 
&lt;P&gt;Find in attachment the job, so you can import it into your Talend, It may help, keep my in touch&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYz"&gt;csv_dictionnary.zip&lt;/A&gt;</description>
    <pubDate>Tue, 13 Aug 2019 20:33:20 GMT</pubDate>
    <dc:creator>jeoste</dc:creator>
    <dc:date>2019-08-13T20:33:20Z</dc:date>
    <item>
      <title>Replace CSV Values with Database Values passing by transformation File</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283884#M57697</link>
      <description>&lt;P&gt;From a CSV File, using a tFileInputdelimited, I want to transform a column’s elements to then send them to a database. The data has to be transformed before reaching the database by using a “dictionnary” file containing the terms to replace.&lt;/P&gt; 
&lt;P&gt;Context&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;My initial CSV file looks like this&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 208px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Wi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149461i6FCA5F15527EB8B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Wi.png" alt="0683p000009M7Wi.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I want to change the “State” and “Criticity” value to an id (integer) defined like this in my dictionnary&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 325px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Wn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133327i42987825CEE74B77/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Wn.png" alt="0683p000009M7Wn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The id set is a reference to a parameter table in my database that will indicate me what it means:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 519px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6vS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148819iA55183D18BFCC1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6vS.png" alt="0683p000009M6vS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In my mapping, the term «&amp;nbsp;faible&amp;nbsp;» should take id “2” so that it is translated as «&amp;nbsp;Low&amp;nbsp;» in my database. I simplified the case for the example but I got more or less 20 ids to define.&lt;/P&gt; 
&lt;P&gt;How could I succeed creating this job in Talend&amp;nbsp;?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thx for your help !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 10:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283884#M57697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-12T10:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replace CSV Values with Database Values passing by transformation File</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283885#M57698</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt; 
&lt;P&gt;How you can succeed to do this ? It's not hard, here's the solution I made with your example :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Yj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157673i372702E4B3084EB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Yj.png" alt="0683p000009M7Yj.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;First tFileInputDelimited is your input with the following data.&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LQF5AAO"&gt;@Antoine01&lt;/A&gt; 
 &lt;P&gt;My initial CSV file looks like this&amp;nbsp;:&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 208px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Wi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149461i6FCA5F15527EB8B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Wi.png" alt="0683p000009M7Wi.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;I'm adding a first Log just to see the result of reading this file. Then you put a tMap, and add a second tFileOutDelimited.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary_tmap.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Yo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141166i9B785E56EF969387/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Yo.png" alt="0683p000009M7Yo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Above this is the tMap. Row3 corresponding to the first input, row2 is your dictionnary. You drag&amp;amp;drop the column with Priority of your input, to the column "Criticity" which is the "key" between theses two files ("faible" in your example). Then you just want to keep this id, so drag&amp;amp;drop the ID to your output 'out_mapping'.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The result is 2 when Talend sees 2 times "faible" or 5 when "haute" etc... Else null (look at the console).&lt;/P&gt; 
&lt;P&gt;And that's all !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Check the attachments, the two files I used are available&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;EDIT : syntax error&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYG"&gt;dictionnary.csv&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYL"&gt;in.csv&lt;/A&gt;</description>
      <pubDate>Mon, 12 Aug 2019 22:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283885#M57698</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2019-08-12T22:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replace CSV Values with Database Values passing by transformation File</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283886#M57699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Thanks for your answer ! I apologize because our situation is more complex than the example that I created and your answer doesn't work with our case.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In fact we want to do that with many column at the same time.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My CSV file contains many columns with values that I want to translate into an ID:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a4.PNG" style="width: 241px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Vq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153789i5F78958D80B686E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Vq.png" alt="0683p000009M7Vq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My real dictionary look like :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a2.png" style="width: 159px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7ZX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149216i1B068061D2DFFACC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7ZX.png" alt="0683p000009M7ZX.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to translate many column at the same time with only one dictionary.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My tMap look like (State is not use in this example) :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a3.png" style="width: 547px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Zc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149295iB7FAFA5421D3260A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Zc.png" alt="0683p000009M7Zc.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My output has to look like :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a5.PNG" style="width: 262px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Zw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152299i9EE4699E69E88CF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Zw.png" alt="0683p000009M7Zw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;So we need 3 columns in output but we don't know how to do this.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it possible to do this with only one Dictionary or should we create a Dictionary for every Column that we want to translate and in this is the case, how can we do it properly ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We found a subject who look like our situation :&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrILCA0" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/One-Lookup-table-data-read-multiple-times-tp-apply-different/td-p/114780&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your help !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 09:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283886#M57699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T09:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace CSV Values with Database Values passing by transformation File</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283887#M57700</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt; 
&lt;P&gt;Okay so I checked with more details all the examples you provided. Very helpful for me to understand your problem.&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LQF5AAO"&gt;@Antoine01&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;P&gt;So we need 3 columns in output but we don't know how to do this.&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Is it possible to do this with only one Dictionary or should we create a Dictionary for every Column that we want to translate and in this is the case, how can we do it properly ?&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;It is possible with only one dictionary : I don't think so. For me Talend cannot do that &lt;STRONG&gt;natively, &lt;/STRONG&gt;maybe with some custom java's class you can achieve this point, but I don't see, or I don't know, how to do that with only one dictionary.&lt;/P&gt; 
&lt;P&gt;With your examples I made a job which uses 3 lookup, one for each column. Here's the screenshot below.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary_OK.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Ml.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157371iF512BF1D8207575D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Ml.png" alt="0683p000009M7Ml.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;How does it works :&lt;/P&gt; 
&lt;P&gt;Reading your input csv, lookup the 3 columns from your dictionary. In the tMap I'm just using the same as you did before, inner join with the value and return the ID.&lt;/P&gt; 
&lt;P&gt;The only added a few java code to "match" if your Priority or Criticite in the input file, is present in the "Valeur" column of your dictionary.&lt;/P&gt; 
&lt;P&gt;Here's the second screenshot :&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary_tmap_OK.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7bT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136642i478056F7271EE0A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7bT.png" alt="0683p000009M7bT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Details of the "Var" column :&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;varPriority&lt;/STRONG&gt; : row2.VALEUR.contains(row3.Priority)?row2.ID:null&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;varCriticte&lt;/STRONG&gt; : row8.VALEUR.contains(row3.Criticite)?row8.ID:null&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I didn't use a var for "IssueType" because it matched perfectly between the input and your dictionary.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The result of that is not optimized, and honestly I don't know how to do it better.&lt;/P&gt; 
&lt;P&gt;I'm using a UniqRow, because in the tMap there is no key on the left, so I have a big cartesian product between the 2 columns and the input file. (lines_nb_dictionary_priority * lines_nb_dictionary_criticite * lines_nb_nput_files)&lt;/P&gt; 
&lt;P&gt;Then I've added a tFilter, many lines contained "null" values, because of the cartesian product, so I squizzed them.&lt;/P&gt; 
&lt;P&gt;The final screenshot with the result :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="csv_dictionnary_result.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7bY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154192i501D75D393475589/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7bY.png" alt="0683p000009M7bY.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;4 - 11 - 2 : High - Improvement - Low (CHAMP -&amp;gt; PRIORITY)&lt;/P&gt; 
&lt;P&gt;4 - 11 - 7 : High - Improvement - Low (CHAMP -&amp;gt; CRITICITY)&lt;/P&gt; 
&lt;P&gt;It might be a bug, I don't know if I had to deal with the column "CHAMP".&lt;/P&gt; 
&lt;P&gt;Find in attachment the job, so you can import it into your Talend, It may help, keep my in touch&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYz"&gt;csv_dictionnary.zip&lt;/A&gt;</description>
      <pubDate>Tue, 13 Aug 2019 20:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283887#M57700</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2019-08-13T20:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace CSV Values with Database Values passing by transformation File</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283888#M57701</link>
      <description>Hello !&lt;BR /&gt;Thank you very much for your fast and precise answer, I think it's the best solutions and we decided to follow this ways.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 14 Aug 2019 08:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-CSV-Values-with-Database-Values-passing-by/m-p/2283888#M57701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-14T08:25:10Z</dc:date>
    </item>
  </channel>
</rss>

