<?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 Working with sequences in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Working-with-sequences/m-p/2339313#M107467</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I needed to do in a previous task : for each row where the entity is 070 (because these rows are stored in a different table from the others), put 0 when the date (column REP_DATRO) is found for the first time otherwise 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code to have the HIST_INDICATOR column :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwNqAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144918iD48B93A025816E58/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwNqAAK.png" alt="0695b00000bDwNqAAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwQaAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137263iF0C0E5B1B0AA8771/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwQaAAK.png" alt="0695b00000bDwQaAAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I want to do now in a new column :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwQfAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150426i7CFE750AFE6E286C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwQfAAK.png" alt="0695b00000bDwQfAAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's quite difficult, I don't have a deep knowledge of existing methods in JAVA to help me accomplish this. Here is what I have tried so far&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwREAA0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143761iCE525EB82A38EE40/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwREAA0.png" alt="0695b00000bDwREAA0.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwR4AAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132829i81CD148CC45792F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwR4AAK.png" alt="0695b00000bDwR4AAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwRsAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148572iA2DE22EA1B7B7471/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwRsAAK.png" alt="0695b00000bDwRsAAK.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:15:26 GMT</pubDate>
    <dc:creator>stephbzr</dc:creator>
    <dc:date>2024-11-15T22:15:26Z</dc:date>
    <item>
      <title>Working with sequences</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-sequences/m-p/2339313#M107467</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I needed to do in a previous task : for each row where the entity is 070 (because these rows are stored in a different table from the others), put 0 when the date (column REP_DATRO) is found for the first time otherwise 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code to have the HIST_INDICATOR column :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwNqAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144918iD48B93A025816E58/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwNqAAK.png" alt="0695b00000bDwNqAAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwQaAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137263iF0C0E5B1B0AA8771/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwQaAAK.png" alt="0695b00000bDwQaAAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I want to do now in a new column :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwQfAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150426i7CFE750AFE6E286C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwQfAAK.png" alt="0695b00000bDwQfAAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's quite difficult, I don't have a deep knowledge of existing methods in JAVA to help me accomplish this. Here is what I have tried so far&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwREAA0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143761iCE525EB82A38EE40/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwREAA0.png" alt="0695b00000bDwREAA0.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwR4AAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132829i81CD148CC45792F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwR4AAK.png" alt="0695b00000bDwR4AAK.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bDwRsAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148572iA2DE22EA1B7B7471/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bDwRsAAK.png" alt="0695b00000bDwRsAAK.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-sequences/m-p/2339313#M107467</guid>
      <dc:creator>stephbzr</dc:creator>
      <dc:date>2024-11-15T22:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Working with sequences</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-sequences/m-p/2339314#M107468</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I don't understand why the HIST_INDICATOR column has empty value in your second image, with the expression shown in the first image, there should be 1 or 0?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bEBnPAAW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151360iABF9152B9BA8A226/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bEBnPAAW.png" alt="0695b00000bEBnPAAW.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 02:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-sequences/m-p/2339314#M107468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-22T02:52:58Z</dc:date>
    </item>
  </channel>
</rss>

