<?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 How to Auto-Increment in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-Auto-Increment-in-tMap/m-p/2255366#M38092</link>
    <description>Hi Guys, 
&lt;BR /&gt;Im trying to do something which I think is pretty simple but I cant get it to work. 
&lt;BR /&gt;Ive got for example, ids - a,a,a,a which increments from 1,2,3,4 using Numeric.sequence("s1 ",1,1), this is ok. 
&lt;BR /&gt;However when I move onto ids - b,b,b the increment continues to 5,6,7 while I need it to start from 1 again. Can someone please help? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Adrian</description>
    <pubDate>Sat, 16 Nov 2024 14:17:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:17:47Z</dc:date>
    <item>
      <title>How to Auto-Increment in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Auto-Increment-in-tMap/m-p/2255366#M38092</link>
      <description>Hi Guys, 
&lt;BR /&gt;Im trying to do something which I think is pretty simple but I cant get it to work. 
&lt;BR /&gt;Ive got for example, ids - a,a,a,a which increments from 1,2,3,4 using Numeric.sequence("s1 ",1,1), this is ok. 
&lt;BR /&gt;However when I move onto ids - b,b,b the increment continues to 5,6,7 while I need it to start from 1 again. Can someone please help? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Adrian</description>
      <pubDate>Sat, 16 Nov 2024 14:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Auto-Increment-in-tMap/m-p/2255366#M38092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Auto-Increment in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Auto-Increment-in-tMap/m-p/2255367#M38093</link>
      <description>Hello adrianorirl,
&lt;BR /&gt;Create a variable (var2) with this expression :
&lt;BR /&gt;Var.var2==0 || Var.var2&amp;gt;=4 ? 1 : Var.var2+1
&lt;BR /&gt;I've tested it, it works well.
&lt;BR /&gt;Regards,
&lt;BR /&gt;JC</description>
      <pubDate>Wed, 16 Jul 2008 12:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Auto-Increment-in-tMap/m-p/2255367#M38093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-16T12:41:49Z</dc:date>
    </item>
  </channel>
</rss>

