<?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: Need to generate surrogate key from starting when ever group ends in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-to-generate-surrogate-key-from-starting-when-ever-group/m-p/2211197#M9323</link>
    <description>Hi 
&lt;BR /&gt;You can call built-in function Numeric.sequence("s1",1,1) to generate a sequence number for each date, eg:
&lt;BR /&gt;Numeric.sequence(row1.DateColumnWithStringtype,1,1)</description>
    <pubDate>Mon, 24 Feb 2020 03:33:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-24T03:33:59Z</dc:date>
    <item>
      <title>Need to generate surrogate key from starting when ever group ends</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-generate-surrogate-key-from-starting-when-ever-group/m-p/2211196#M9322</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;I have input as below.&lt;/P&gt;&lt;P&gt;2016-10-01|1243.5&lt;/P&gt;&lt;P&gt;2016-10-01|1106.8&lt;/P&gt;&lt;P&gt;2017-11-01|12309.0&lt;/P&gt;&lt;P&gt;2017-11-01|13467.9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output need as :-&lt;/P&gt;&lt;P&gt;date|sales|key_value&lt;/P&gt;&lt;P&gt;2016-10-01|1243.5|1&lt;/P&gt;&lt;P&gt;2016-10-01|1106.8|2&lt;/P&gt;&lt;P&gt;2017-11-01|12309.0|1&lt;/P&gt;&lt;P&gt;2017-11-01|13467.9|2&lt;/P&gt;&lt;P&gt;when ever date change happen, we need to create key from starting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can some advice how to do it in tmap and tjavarow by using custom coding&lt;/P&gt;&lt;P&gt;Thanks In Advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-generate-surrogate-key-from-starting-when-ever-group/m-p/2211196#M9322</guid>
      <dc:creator>Venkata_Sivaji1</dc:creator>
      <dc:date>2024-11-16T03:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to generate surrogate key from starting when ever group ends</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-generate-surrogate-key-from-starting-when-ever-group/m-p/2211197#M9323</link>
      <description>Hi 
&lt;BR /&gt;You can call built-in function Numeric.sequence("s1",1,1) to generate a sequence number for each date, eg:
&lt;BR /&gt;Numeric.sequence(row1.DateColumnWithStringtype,1,1)</description>
      <pubDate>Mon, 24 Feb 2020 03:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-generate-surrogate-key-from-starting-when-ever-group/m-p/2211197#M9323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-24T03:33:59Z</dc:date>
    </item>
  </channel>
</rss>

