<?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 logic in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tmap-logic/m-p/2204511#M5361</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; An easy way is to assign is to first provide a sequence number for each row and store the output in hash output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Then read the hash both as main and lookup and left join the row number in main column with row number -1 in lookup flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;In this way, you will be able to match with both flows and get the output based on NULL check conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Another way is to do it through tjavarow where you can store the data from current record to context variables and compare the data in context variables and main flow using if-else conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;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 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jan 2019 05:36:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-21T05:36:45Z</dc:date>
    <item>
      <title>tmap logic</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-logic/m-p/2204510#M5360</link>
      <description>&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;could any one help me below logic.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; &amp;nbsp;I have two columns a &amp;amp; b.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;input : -&lt;/P&gt;&lt;P&gt;&amp;nbsp;a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hello&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;null&lt;/P&gt;&lt;P&gt;null&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; world&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output :-&lt;/P&gt;&lt;P&gt;a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hello&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;world&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to achieve this output using tmap?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-logic/m-p/2204510#M5360</guid>
      <dc:creator>mahesh_Dev</dc:creator>
      <dc:date>2024-11-16T06:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: tmap logic</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-logic/m-p/2204511#M5361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; An easy way is to assign is to first provide a sequence number for each row and store the output in hash output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Then read the hash both as main and lookup and left join the row number in main column with row number -1 in lookup flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;In this way, you will be able to match with both flows and get the output based on NULL check conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Another way is to do it through tjavarow where you can store the data from current record to context variables and compare the data in context variables and main flow using if-else conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;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 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 05:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-logic/m-p/2204511#M5361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-21T05:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: tmap logic</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-logic/m-p/2204512#M5362</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you're combining 2 rows into 1 and taking the non-null values to form the new row, you could use the tAggregateRow component, with the Aggregate rules for the 2 columns set as "First" and the "Ignore Null Values" option ticked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 17:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-logic/m-p/2204512#M5362</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2019-01-21T17:12:39Z</dc:date>
    </item>
  </channel>
</rss>

