<?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: Generate Numeric Sequence using Variable (Not Function) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222226#M15907</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;May I know the reason why internal numeric sequence is a problem for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If it is a scenario where you would like to start from last loaded sequence number (like in a DB), you can pick that value first from DB and load to a context variable. Then you can start the sequence from the loaded value instead of 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Numeric.sequence("s1",context.last_value,1)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 13:45:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-10T13:45:11Z</dc:date>
    <item>
      <title>Generate Numeric Sequence using Variable (Not Function)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222225#M15906</link>
      <description>&lt;P&gt;I need to generate Numeric seq. ( integer ) without using Numeric.Sequence() function.&lt;/P&gt; 
&lt;P&gt;for Example :&lt;/P&gt; 
&lt;P&gt;input Data : only 1 column (string ) "name" , has 5 values , A,B,C,D,E&lt;/P&gt; 
&lt;P&gt;Output :&amp;nbsp; id(int)&amp;nbsp; Name(string)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ........&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;E.&lt;/P&gt; 
&lt;P&gt;I need to use variable , expression using tMap (or other suitable components).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Subhadeep&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 13:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222225#M15906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-10T13:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Numeric Sequence using Variable (Not Function)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222226#M15907</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;May I know the reason why internal numeric sequence is a problem for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If it is a scenario where you would like to start from last loaded sequence number (like in a DB), you can pick that value first from DB and load to a context variable. Then you can start the sequence from the loaded value instead of 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Numeric.sequence("s1",context.last_value,1)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 13:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222226#M15907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-10T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Numeric Sequence using Variable (Not Function)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222227#M15908</link>
      <description>&lt;P&gt;Hi nikhilthampi,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the scenario demands to avoid the inbuilt function , can you please give me the solution using variables in expression builder ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Subhadeep&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 14:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222227#M15908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-10T14:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Numeric Sequence using Variable (Not Function)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222228#M15909</link>
      <description>&lt;P&gt;Hi Subhadeep,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Could you please me more context why the&amp;nbsp;sequence function cannot be used for your use case scenario?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If you could explain your specific scenario in detail, we can provide a better solution. All normal scenarios can be handled by above function including the sequence number generation from a specific number instead of 1.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am really interested in a scenario where this function should not be used.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 02:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-Numeric-Sequence-using-Variable-Not-Function/m-p/2222228#M15909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T02:02:08Z</dc:date>
    </item>
  </channel>
</rss>

