<?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 Serial .... in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288145#M61661</link>
    <description>&lt;P&gt;Hi, I have an excel that has 1&amp;nbsp;column: ID&lt;/P&gt;
&lt;P&gt;I want to load it in a table that has 2 columns: ID and Serial&lt;/P&gt;
&lt;P&gt;The ID is straight forward from excel... But I want to load in the serial something like this:&lt;/P&gt;
&lt;P&gt;- If same ID has more than one entry (for example 3 entries), it should be like this:&lt;/P&gt;
&lt;P&gt;ID &amp;nbsp; &amp;nbsp;Serial&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;002&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;003&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While if the next ID is different I want to reset the serial to 001:&lt;/P&gt;
&lt;P&gt;ID &amp;nbsp; &amp;nbsp;Serial&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;002&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;003&lt;/P&gt;
&lt;P&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;002&lt;/P&gt;
&lt;P&gt;4 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;5 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;etc....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2017 15:48:27 GMT</pubDate>
    <dc:creator>Moe1</dc:creator>
    <dc:date>2017-06-21T15:48:27Z</dc:date>
    <item>
      <title>Serial ....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288145#M61661</link>
      <description>&lt;P&gt;Hi, I have an excel that has 1&amp;nbsp;column: ID&lt;/P&gt;
&lt;P&gt;I want to load it in a table that has 2 columns: ID and Serial&lt;/P&gt;
&lt;P&gt;The ID is straight forward from excel... But I want to load in the serial something like this:&lt;/P&gt;
&lt;P&gt;- If same ID has more than one entry (for example 3 entries), it should be like this:&lt;/P&gt;
&lt;P&gt;ID &amp;nbsp; &amp;nbsp;Serial&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;002&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;003&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While if the next ID is different I want to reset the serial to 001:&lt;/P&gt;
&lt;P&gt;ID &amp;nbsp; &amp;nbsp;Serial&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;002&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;003&lt;/P&gt;
&lt;P&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;002&lt;/P&gt;
&lt;P&gt;4 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;5 &amp;nbsp; &amp;nbsp; &amp;nbsp;001&lt;/P&gt;
&lt;P&gt;etc....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288145#M61661</guid>
      <dc:creator>Moe1</dc:creator>
      <dc:date>2017-06-21T15:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Serial ....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288146#M61662</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Use something like that in a tMap to fill the Serial field:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Numeric.sequence("Id", 1, 1)&lt;/PRE&gt;&lt;P&gt;This will generate as specific sequence for each value of the Id field.&lt;/P&gt;&lt;P&gt;That's what you need.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288146#M61662</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-21T16:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Serial ....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288147#M61663</link>
      <description>&lt;P&gt;Thank you, yes Im using it but how to reset it when you encounter different ID&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288147#M61663</guid>
      <dc:creator>Moe1</dc:creator>
      <dc:date>2017-06-21T16:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Serial ....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288148#M61664</link>
      <description>&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assume the flow is row1, use this:&lt;/P&gt;&lt;PRE&gt;Numeric.sequence(row1.Id, 1, 1)&lt;/PRE&gt;&lt;P&gt;The sequence name will change each time the id value change.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288148#M61664</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-21T16:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Serial ....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288149#M61665</link>
      <description>Did this answered your case?&lt;BR /&gt;If so, don't hesitate to mark this topic as solved.</description>
      <pubDate>Wed, 21 Jun 2017 21:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Serial/m-p/2288149#M61665</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-21T21:35:56Z</dc:date>
    </item>
  </channel>
</rss>

