<?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 [resolved] tmap join and treplace in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323279#M93142</link>
    <description>I have two questions.&lt;BR /&gt;1- I connect to sql server and i have a table with two column where if a value is set to null, I join table with second column otherwise I join with first column.&lt;BR /&gt;ex.     first column - second column&lt;BR /&gt;      1    X                         null                              join with first column&lt;BR /&gt;      2    XX                       null                              join with first column&lt;BR /&gt;      3    null                       Y                                join with second column&lt;BR /&gt;      4    XXX                     null                              join with first column&lt;BR /&gt;2- I want substitute the table cell that contain a value in another value but i want substitute entire cell and not only match.&lt;BR /&gt;ex.             column              substitute bye in 1 and all other in 2      ----&amp;gt;       column&lt;BR /&gt;           1      XXbye                                                                                          1&lt;BR /&gt;           2      other                                                                                            2&lt;BR /&gt;           3      YbyeX                                                                                           1&lt;BR /&gt;           4       null                                                                                              2</description>
    <pubDate>Wed, 02 Jul 2014 17:57:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-02T17:57:55Z</dc:date>
    <item>
      <title>[resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323279#M93142</link>
      <description>I have two questions.&lt;BR /&gt;1- I connect to sql server and i have a table with two column where if a value is set to null, I join table with second column otherwise I join with first column.&lt;BR /&gt;ex.     first column - second column&lt;BR /&gt;      1    X                         null                              join with first column&lt;BR /&gt;      2    XX                       null                              join with first column&lt;BR /&gt;      3    null                       Y                                join with second column&lt;BR /&gt;      4    XXX                     null                              join with first column&lt;BR /&gt;2- I want substitute the table cell that contain a value in another value but i want substitute entire cell and not only match.&lt;BR /&gt;ex.             column              substitute bye in 1 and all other in 2      ----&amp;gt;       column&lt;BR /&gt;           1      XXbye                                                                                          1&lt;BR /&gt;           2      other                                                                                            2&lt;BR /&gt;           3      YbyeX                                                                                           1&lt;BR /&gt;           4       null                                                                                              2</description>
      <pubDate>Wed, 02 Jul 2014 17:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323279#M93142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-02T17:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323280#M93143</link>
      <description>Can you pl show your existing job design?&lt;BR /&gt;Vaibhav</description>
      <pubDate>Thu, 03 Jul 2014 13:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323280#M93143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T13:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323281#M93144</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Can you pl show your existing job design?&lt;BR /&gt;Vaibhav&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;These are the screenshots: 
&lt;BR /&gt;in treplace i want substitute all cell table value and not only match 
&lt;BR /&gt;in tmap join with uri_b2c when value is not null otherwise join with uri_b2b. In the output I write product_id 
&lt;BR /&gt;in treplace the column is referer and not product_id, sorry 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEUB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144674iA9733A53EB80EAAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEUB.png" alt="0683p000009MEUB.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME1R.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152957iBD9B93A4CDBC63C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME1R.png" alt="0683p000009ME1R.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEUG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128285iAC4ECE1F3B20CD9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEUG.png" alt="0683p000009MEUG.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323281#M93144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T14:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323282#M93145</link>
      <description>If you enable Advance mode in tReplace, you could do more complex processing... try that
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Thu, 03 Jul 2014 14:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323282#M93145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323283#M93146</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;If you enable Advance mode in tReplace, you could do more complex processing... try that&lt;BR /&gt;Vaibhav&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;I have already tried it, is to replace only the string that matches. I want substitute all table cell.
&lt;BR /&gt;Ex.
&lt;BR /&gt;
&lt;A href="http://www.facebook.com" target="_blank" rel="nofollow noopener noreferrer"&gt;www.facebook.com&lt;/A&gt; matches with facebook but result is 
&lt;A href="http://www.1.com" target="_blank" rel="nofollow noopener noreferrer"&gt;www.1.com&lt;/A&gt; and not 1.
&lt;BR /&gt;My goal is substitute all matches with facebook with 1.
&lt;BR /&gt;Ex.
&lt;BR /&gt;
&lt;A href="http://www.facebook.com" target="_blank" rel="nofollow noopener noreferrer"&gt;www.facebook.com&lt;/A&gt; -&amp;gt; 1
&lt;BR /&gt;
&lt;A href="http://m.facebook.it" rel="nofollow noopener noreferrer"&gt;http://m.facebook.it&lt;/A&gt; -&amp;gt; 1
&lt;BR /&gt;facebook.it/search:? -&amp;gt; 1</description>
      <pubDate>Thu, 03 Jul 2014 15:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323283#M93146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T15:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323284#M93147</link>
      <description>hi cicas, 
&lt;BR /&gt;Answer for your second question : 
&lt;BR /&gt; There is no need to use treplace component to replace. i suggest you to do like follows: 
&lt;BR /&gt;remove component treplace_1 and tconvertType_1 from your job, instead of that two componet add tmap_2. something like this: 
&lt;BR /&gt;tgetproduct---(getting full string)-----&amp;gt; tmap_2---lookup (data type integer)---&amp;gt; tMap_1 
&lt;BR /&gt;in tmap_2 just write this statement in expression builder: 
&lt;BR /&gt;(row1.patternCheck.toLowerCase().indexOf("bye") &amp;gt;= 0)?1:2 
&lt;BR /&gt;then you will get as your requirement. "row1.patternCheck" is your row from table 
&lt;BR /&gt;"bye" present -----&amp;gt; 1 
&lt;BR /&gt;"bye" not present -----&amp;gt; 2 
&lt;BR /&gt;hope this will solve your second question. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Akki</description>
      <pubDate>Thu, 03 Jul 2014 16:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323284#M93147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T16:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323285#M93148</link>
      <description>just for your information "tgetproduct" what i mentioned in my flow is not a component, its a mysql component name which you have given in that snap shot.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Akki</description>
      <pubDate>Thu, 03 Jul 2014 16:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323285#M93148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T16:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323286#M93149</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;hi cicas,&lt;BR /&gt;Answer for your second question :&lt;BR /&gt; There is no need to use treplace component to replace. i suggest you to do like follows:&lt;BR /&gt;remove component treplace_1 and tconvertType_1 from your job, instead of that two componet add tmap_2. something like this:&lt;BR /&gt;tgetproduct---(getting full string)-----&amp;gt; tmap_2---lookup (data type integer)---&amp;gt; tMap_1&lt;BR /&gt;in tmap_2 just write this statement in expression builder:&lt;BR /&gt;(row1.patternCheck.toLowerCase().indexOf("bye") &amp;gt;= 0)?1:2 &lt;BR /&gt;then you will get as your requirement. "row1.patternCheck" is your row from table&lt;BR /&gt;"bye" present -----&amp;gt; 1&lt;BR /&gt;"bye" not present -----&amp;gt; 2&lt;BR /&gt;hope this will solve your second question.&lt;BR /&gt;Regards,&lt;BR /&gt;Akki&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks for answer but not works. After first row, it shows error NullPointerException. 
&lt;BR /&gt;The same for row1.referer.contains("bye")?1 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;row1.referer.contains("hello")?2:3)</description>
      <pubDate>Thu, 03 Jul 2014 18:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323286#M93149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T18:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323287#M93150</link>
      <description>hi cicas, 
&lt;BR /&gt; You have to handle null values as well. 
&lt;BR /&gt;row1.patternCheck.equals("")?2 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;(row1.patternCheck.toLowerCase().indexOf("bye") &amp;gt;= 0)?1:2) 
&lt;BR /&gt;if null value put 2 directly or may be 3(Saparate for null). If value is there then check your conditions. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Akki</description>
      <pubDate>Fri, 04 Jul 2014 05:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323287#M93150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T05:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323288#M93151</link>
      <description>sorry... that become smile in my previous post.
&lt;BR /&gt;row1.patternCheck.equals("")?2: (row1.patternCheck.toLowerCase().indexOf("bye") &amp;gt;= 0)?1:2)</description>
      <pubDate>Fri, 04 Jul 2014 05:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323288#M93151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T05:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323289#M93152</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;sorry... that become smile in my previous post.&lt;BR /&gt;row1.patternCheck.equals("")?2: (row1.patternCheck.toLowerCase().indexOf("bye") &amp;gt;= 0)?1:2)&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thank you for answer but the problem is iterate for each row. 
&lt;BR /&gt;It works only with 
&lt;BR /&gt;ex. row1.patternCheck == "NULL"?1:2 and not row1.patternCheck.equals("NULL")?1:2 or .contains or .indexOf 
&lt;BR /&gt; 
&lt;BR /&gt;In these case it works only for first row and then I have a NullPointerException 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEGP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130403iAFFE00A56CB37C89/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEGP.png" alt="0683p000009MEGP.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEKi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153992i111459D5E1B1C4B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEKi.png" alt="0683p000009MEKi.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEUL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157461i60B54943C93B1EE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEUL.png" alt="0683p000009MEUL.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 04 Jul 2014 08:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323289#M93152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T08:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323290#M93153</link>
      <description>I solved with routine&lt;BR /&gt;ex.    public static int refererConverter(String referer) {&lt;BR /&gt;    	&lt;BR /&gt;        if(referer == null)&lt;BR /&gt;        	 return 1;&lt;BR /&gt;        else if (referer.contains("facebook"))&lt;BR /&gt;        	 return 2;&lt;BR /&gt;       else  return 3;&lt;BR /&gt;       }</description>
      <pubDate>Fri, 04 Jul 2014 09:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323290#M93153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T09:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323291#M93154</link>
      <description>hi all, 
&lt;BR /&gt; 
&lt;BR /&gt;you've got a null pointer exception , so you've to manage null value. 
&lt;BR /&gt;null is NOT a String in Java so =="NULL" or equals ("NULL") could not work ! 
&lt;BR /&gt;in ternary expression it could be something like : 
&lt;BR /&gt; 
&lt;PRE&gt;referree == null ? 1 :&lt;BR /&gt;referer.contains("facebook") ? 2 :&lt;BR /&gt;3&lt;/PRE&gt; 
&lt;BR /&gt;I didn't test the code but it should work 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Be aware that you sould test if not null before anything else because if it is null, java will try something like 
&lt;BR /&gt; 
&lt;PRE&gt;null.contains("facebook") /* source of your null pointer exception : null don't have a 'contains method' */&lt;/PRE&gt; 
&lt;BR /&gt;it could be a better way to put your code in routine than directly in tMap or other component 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Fri, 04 Jul 2014 10:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323291#M93154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323292#M93155</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;hi all,&lt;BR /&gt;&lt;BR /&gt;you've got a null pointer exception , so you've to manage null value.&lt;BR /&gt;null is NOT a String in Java so =="NULL" or equals ("NULL") could not work !&lt;BR /&gt;in ternary expression it could be something like :&lt;BR /&gt;&lt;PRE&gt;referree == null ? 1 :&lt;BR /&gt;referer.contains("facebook") ? 2 :&lt;BR /&gt;3&lt;/PRE&gt;&lt;BR /&gt;I didn't test the code but it should work &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Be aware that you sould test if not null before anything else because if it is null, java will try something like&lt;BR /&gt;&lt;PRE&gt;null.contains("facebook") /* source of your null pointer exception : null don't have a 'contains method' */&lt;/PRE&gt;&lt;BR /&gt;it could be a better way to put your code in routine than directly in tMap or other component &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;BR /&gt;regards&lt;BR /&gt;laurent&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks Kzone, I have another question: 
&lt;BR /&gt;How can I or join betwen string1 and (string21 or string22)? 
&lt;BR /&gt;ex. id1 string1 id2 string21 string22 result id1 id2 
&lt;BR /&gt; 1 bye X null dad 1 W 
&lt;BR /&gt; 2 null Y null mam 2 null 
&lt;BR /&gt; 3 good W bye null 3 null 
&lt;BR /&gt; 4 hello Z null hello 4 Z 
&lt;BR /&gt;My goal is join with string21 but if it is null then join with string22</description>
      <pubDate>Fri, 04 Jul 2014 10:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323292#M93155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T10:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap join and treplace</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323293#M93156</link>
      <description>you cannot make a join on 2 different column in a same tmap or tjoin i think. 
&lt;BR /&gt;So do it in 2 times 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;something like @screenshoot 
&lt;BR /&gt;first join filter null &amp;amp; not null value , then map not null string21 (left outer join) , then read rejected filter row that you have store in hash component and map again on string22. 
&lt;BR /&gt;Depending on String21 , 22 value write result in a single flow. 
&lt;BR /&gt;hope it help 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEIQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132894i00257AA298F8364F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEIQ.png" alt="0683p000009MEIQ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEUQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140936i3F241C55956D8FD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEUQ.png" alt="0683p000009MEUQ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 04 Jul 2014 11:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-join-and-treplace/m-p/2323293#M93156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T11:37:05Z</dc:date>
    </item>
  </channel>
</rss>

