<?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: TMAP: join one table with 2 tables and catch rejects in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TMAP-join-one-table-with-2-tables-and-catch-rejects/m-p/2365136#M128776</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can't implement it with only one tMap, because it uses the &lt;B&gt;AND&lt;/B&gt; operation and cannot be set &lt;B&gt;or&lt;/B&gt; operation if there are multiple conditions. I think you need to do the join two times, one for CODE code and another for CAP code, then, do an inner join between the two results based on ID column to merge the all columns (ID, country, city), filter the rows using tFilterRow with the condition the city or the country&amp;nbsp;is not empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 08:03:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-12-01T08:03:00Z</dc:date>
    <item>
      <title>TMAP: join one table with 2 tables and catch rejects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMAP-join-one-table-with-2-tables-and-catch-rejects/m-p/2365135#M128775</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have this table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000tECksAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138737iAE9F84C42ABC38DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000tECksAAG.png" alt="0695b00000tECksAAG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to join this tables with 2 other tables: one will give me the country, the other will give me the city. They look like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000tEChBAAW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145281iAB5963EBBD61728B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000tEChBAAW.png" alt="0695b00000tEChBAAW.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000tECofAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153746i852899CC93A477C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000tECofAAG.png" alt="0695b00000tECofAAG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want:&lt;/P&gt;&lt;P&gt;I use tmap to make the joins&lt;/P&gt;&lt;P&gt;I want 2 outputs in tmap :&lt;/P&gt;&lt;P&gt;The first output is : as long as I have a country &lt;B&gt;or &lt;/B&gt;a city, i want to have a table with the id, the country, the city&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2nd output is : if I don't have &lt;B&gt;the city and the country&lt;/B&gt; i want to have a table with the CODE and the CAP code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck because I d'ont know know to configure the tmap, I tried with catch lookup inner join reject = true, but my first outpu will awalys catch rows where I have country &lt;B&gt;and &lt;/B&gt;a city but I want country &lt;B&gt;or &lt;/B&gt;a city&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000tEBKCAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151970i2B4ABEC65A7BD02A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000tEBKCAA4.png" alt="0695b00000tEBKCAA4.png" /&gt;&lt;/span&gt; can you help me?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMAP-join-one-table-with-2-tables-and-catch-rejects/m-p/2365135#M128775</guid>
      <dc:creator>android1686764069</dc:creator>
      <dc:date>2024-11-15T21:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: TMAP: join one table with 2 tables and catch rejects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMAP-join-one-table-with-2-tables-and-catch-rejects/m-p/2365136#M128776</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can't implement it with only one tMap, because it uses the &lt;B&gt;AND&lt;/B&gt; operation and cannot be set &lt;B&gt;or&lt;/B&gt; operation if there are multiple conditions. I think you need to do the join two times, one for CODE code and another for CAP code, then, do an inner join between the two results based on ID column to merge the all columns (ID, country, city), filter the rows using tFilterRow with the condition the city or the country&amp;nbsp;is not empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 08:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMAP-join-one-table-with-2-tables-and-catch-rejects/m-p/2365136#M128776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-01T08:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: TMAP: join one table with 2 tables and catch rejects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMAP-join-one-table-with-2-tables-and-catch-rejects/m-p/2365137#M128777</link>
      <description>&lt;P&gt;ok i understand, thank you&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 09:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMAP-join-one-table-with-2-tables-and-catch-rejects/m-p/2365137#M128777</guid>
      <dc:creator>android1686764069</dc:creator>
      <dc:date>2023-12-04T09:13:25Z</dc:date>
    </item>
  </channel>
</rss>

