<?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: Joining same table with two different key sets in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275444#M51818</link>
    <description>karthikeyan  you can do it with help of splitting file into two output. do like below. &lt;BR /&gt;&lt;BR /&gt;your input ----------tMap------tjava------tmap-withlookup&lt;BR /&gt;                              |&lt;BR /&gt;                              |&lt;BR /&gt;                             tJava&lt;BR /&gt;                               |&lt;BR /&gt;                               tMap-with Lookup &lt;BR /&gt;&lt;BR /&gt;check in tMap if C3 has value if yes then redirect that rows to true part &lt;BR /&gt;  A.C1 = B.C1 &lt;BR /&gt;else pass to second tmap for join A.C1=B.C2 to populate C3.&lt;BR /&gt;I this will help you....</description>
    <pubDate>Mon, 21 Jan 2013 10:39:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-21T10:39:48Z</dc:date>
    <item>
      <title>Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275438#M51812</link>
      <description>Hi,&lt;BR /&gt;I have some scenario, which I am trying to find out solution in Talend.&lt;BR /&gt;two tables&lt;BR /&gt;Table A COL1 -- Main table&lt;BR /&gt;Table B COL1,COL2,COL3 -- Lookup table&lt;BR /&gt;The condition is,&lt;BR /&gt;JOIN  A.COL1 = B.COL1&lt;BR /&gt;IF COL3 IS NULL&lt;BR /&gt;THEN JOIN A.COL1 = B.COL2 POPULATE COL3 IF NOT NULL&lt;BR /&gt;I tried this scenario using one input , tmap and two lookups. the two lookups are from same table with different set of keys (B COL1, B COL3 &amp;amp; B COL2, B COL3) then joining with the source and written the same join condition in the output in the tmap.&lt;BR /&gt;But I am trying to aviod using two lookups from the same table. Trying to use only one lookup and to split the two set of outputs and to connect to same tmap.&lt;BR /&gt;Can anybody help me?&lt;BR /&gt;Thanks in Advance.</description>
      <pubDate>Fri, 18 Jan 2013 09:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275438#M51812</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-18T09:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275439#M51813</link>
      <description>Is there anybody ? please help me.</description>
      <pubDate>Fri, 18 Jan 2013 12:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275439#M51813</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-18T12:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275440#M51814</link>
      <description>Can anybody help me to resolve the issue?</description>
      <pubDate>Mon, 21 Jan 2013 07:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275440#M51814</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-21T07:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275441#M51815</link>
      <description>Could you please add a screen shot of what you have developed for better clarity?&lt;BR /&gt;Warm regards,&lt;BR /&gt;Madhao</description>
      <pubDate>Mon, 21 Jan 2013 07:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275441#M51815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-21T07:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275442#M51816</link>
      <description>Hi,&lt;BR /&gt;Table A Main table&lt;BR /&gt;C1&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;5&lt;BR /&gt;Table B Lookup table&lt;BR /&gt;C1,C2,C3&lt;BR /&gt;1,2,null&lt;BR /&gt;2,1,WORLD2&lt;BR /&gt;3,6,WORLD3&lt;BR /&gt;4,3,WORLD4&lt;BR /&gt;5,8,WORLD5&lt;BR /&gt;&lt;BR /&gt;if A.C1 = B.C1 in this condition if C3 has value then populate else A.C1=B.C2 then populate C3.&lt;BR /&gt;for example, A.C1 =1 --&amp;gt; B.C1= 1 then look for value C3, its null.. so change the condition as A.C1 =1 --&amp;gt; B.C2=1, then look for C3 value now, it has WORLD2 as value, so populate the same. so it goes on..&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthikeyan J.</description>
      <pubDate>Mon, 21 Jan 2013 08:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275442#M51816</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-21T08:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275443#M51817</link>
      <description>Hi kartik,&lt;BR /&gt;You got me wrong.I got that,i was asking if you have developed someting in tmap already.&lt;BR /&gt;Anyways,if i were you i would perfer to do this in the DB using sql insted of tMap it would be easier and faster. &lt;BR /&gt;Warm regards,&lt;BR /&gt;Madhao</description>
      <pubDate>Mon, 21 Jan 2013 09:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275443#M51817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-21T09:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275444#M51818</link>
      <description>karthikeyan  you can do it with help of splitting file into two output. do like below. &lt;BR /&gt;&lt;BR /&gt;your input ----------tMap------tjava------tmap-withlookup&lt;BR /&gt;                              |&lt;BR /&gt;                              |&lt;BR /&gt;                             tJava&lt;BR /&gt;                               |&lt;BR /&gt;                               tMap-with Lookup &lt;BR /&gt;&lt;BR /&gt;check in tMap if C3 has value if yes then redirect that rows to true part &lt;BR /&gt;  A.C1 = B.C1 &lt;BR /&gt;else pass to second tmap for join A.C1=B.C2 to populate C3.&lt;BR /&gt;I this will help you....</description>
      <pubDate>Mon, 21 Jan 2013 10:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275444#M51818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-21T10:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275445#M51819</link>
      <description>Hi Umesh,&lt;BR /&gt;Thanks for your input.&lt;BR /&gt;As per your reply, I need to use two inputs as lookup which I have tried. But my aim is to use only one input as lookup and to create two key output key sets, which would reduce the loading the same data twice in the looktup.&lt;BR /&gt;Thanks.&lt;BR /&gt;Karthikeyan J.</description>
      <pubDate>Mon, 21 Jan 2013 12:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275445#M51819</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-21T12:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275446#M51820</link>
      <description>C3 column has NULL then is it populating with some default value?</description>
      <pubDate>Mon, 21 Jan 2013 12:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275446#M51820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-21T12:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Joining same table with two different key sets</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275447#M51821</link>
      <description>Hi Kartik,&lt;BR /&gt;You can use the following&lt;BR /&gt;your input B-----tjavarow----- tmap and other flow&lt;BR /&gt;                                               |&lt;BR /&gt;                                              input A&lt;BR /&gt;In tjavarow you can create an extra column C4 where you will populate values as per your requirement(i.e. &lt;BR /&gt;if C3 has value then B.c1 else B.c2) &lt;BR /&gt;now use this column C4 as the joining key to join with A.c1&lt;BR /&gt;  &lt;BR /&gt;Hope it helps&lt;BR /&gt;Warm regards,&lt;BR /&gt;Madhao</description>
      <pubDate>Tue, 22 Jan 2013 07:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joining-same-table-with-two-different-key-sets/m-p/2275447#M51821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-22T07:02:12Z</dc:date>
    </item>
  </channel>
</rss>

