<?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: IF ELSE Statement in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325681#M95255</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Katharina,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Are you looking for the following group id creation. Basically based on three attributes Col1,Col2 and Col3 group id will be created. If Any change in these three columns then group id will start from begin.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GroupSeq.PNG" style="width: 837px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt9D.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139145i4FC3F43BB8364A42/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt9D.png" alt="0683p000009Lt9D.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 16:03:20 GMT</pubDate>
    <dc:creator>vboppudi</dc:creator>
    <dc:date>2018-03-21T16:03:20Z</dc:date>
    <item>
      <title>IF ELSE Statement in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325679#M95253</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The field "revision" in the Output of the tMap component should be a counter, which depends on the three fields "T_SNR_SP", "T_SNR_SD" and "T_SNR_STAMM" from the Input. If there is a change in these three fields, the counter should begin at 1 again. It's like a groupchange.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fehlermeldung1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsrP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145602i97537721E98CE0B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsrP.png" alt="0683p000009LsrP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In Java I would do it with a cache variable like these:&lt;/P&gt; 
&lt;P&gt;String T_SNR_SP_old = "";&lt;/P&gt; 
&lt;P&gt;String T_SNR_SD_old = "";&lt;/P&gt; 
&lt;P&gt;String T_SNR_STAMM_old ="";&lt;/P&gt; 
&lt;P&gt;for (int i = 1; T_SNR_SP_old==T_SNR_SP&amp;nbsp; &amp;amp;&amp;amp; T_SNR_SD_old==T_SNR_SD &amp;amp;&amp;amp; T_SNR_STAMM_old==T_SNR_STAMM; i ++){&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; revision = i;&lt;/P&gt; 
&lt;P&gt;}&lt;/P&gt; 
&lt;P&gt;revision = 0;&lt;/P&gt; 
&lt;P&gt;T_SNR_SP_old = T_SNR_SP;&lt;/P&gt; 
&lt;P&gt;T_SNR_SD_old = T_SNR_SD;&lt;/P&gt; 
&lt;P&gt;T_SNR_STAMM_old = T_SNR_STAMM;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can I do this in the tMap componente? I know, I could do this in the tJavaRow componente, but then I can't use the tMap component anymore.&lt;/P&gt; 
&lt;P&gt;Thanks Katharina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 15:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325679#M95253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: IF ELSE Statement in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325680#M95254</link>
      <description>&lt;P&gt;Have a read of this tutorial and try to understand what is happening with the tMap variables. If you grasp this, you will easily be able to resolve your problem.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.rilhia.com/quicktips/quick-tip-compare-row-value-against-value-previous-row" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-compare-row-value-against-value-previous-row&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 15:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325680#M95254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T15:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: IF ELSE Statement in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325681#M95255</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Katharina,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Are you looking for the following group id creation. Basically based on three attributes Col1,Col2 and Col3 group id will be created. If Any change in these three columns then group id will start from begin.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GroupSeq.PNG" style="width: 837px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt9D.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139145i4FC3F43BB8364A42/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt9D.png" alt="0683p000009Lt9D.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325681#M95255</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-03-21T16:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: IF ELSE Statement in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325682#M95256</link>
      <description>&lt;P&gt;Thanks, that solved my problem &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;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 08:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-ELSE-Statement-in-tMap/m-p/2325682#M95256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T08:02:53Z</dc:date>
    </item>
  </channel>
</rss>

