<?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: tNormalize with index or sorting number in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353216#M119458</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If key is unique then you can use key value to generate index value in tMap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this : in tMap create variable port index=&amp;nbsp;Numeric.sequence(Key,1,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For every key value it will generate sequence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;key | index | value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01 | 1 | value1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01 | 2 | value2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01 | 3 | value3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 1 | value1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 2 | value2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 3 | value3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 4 | value4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 14:55:18 GMT</pubDate>
    <dc:creator>vboppudi</dc:creator>
    <dc:date>2018-05-29T14:55:18Z</dc:date>
    <item>
      <title>tNormalize with index or sorting number</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353215#M119457</link>
      <description>&lt;P&gt;-- Info: I noticed that I added this to the wrong board, but it seems I can neither delete this post, nor move it to another board - for whatever reason. Sorry. Could an admin please move this to the correct board? --&lt;BR /&gt;&lt;BR /&gt;Hi Community-members!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a very small problem with the tNormalize component, I was not yet able to resolve.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there a way to provide some kind of index number of the splitted elements, that tNormalize turns into rows?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;e.g.&lt;BR /&gt;Input:&lt;BR /&gt;key | string&lt;BR /&gt;01 | value1,value2,value3&lt;BR /&gt;02 | value1,value2,value3,value4&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt;key | index | value&lt;BR /&gt;01 | 1 | value1&lt;BR /&gt;01 | 2 | value2&lt;BR /&gt;01 | 3 | value3&lt;BR /&gt;02 | 1 | value1&lt;BR /&gt;&lt;SPAN&gt;02 | 2 | value2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 3 | value3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 4 | value4&lt;BR /&gt;&lt;BR /&gt;Currently I have added a tMap component, that adds a sequence-number to the generated rows, but for some reason, the number skips from time to time (e.g. from row 81 to row 82, the index jumps from 81 to 382) and I am not able to see what the problem is. And in addition: this would add a number over all records, not in a "window-behavior" reset the number for each "block".&lt;BR /&gt;&lt;BR /&gt;Any ideas? Has anyone else had the same problem?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Freddy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 14:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353215#M119457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-29T14:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: tNormalize with index or sorting number</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353216#M119458</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If key is unique then you can use key value to generate index value in tMap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this : in tMap create variable port index=&amp;nbsp;Numeric.sequence(Key,1,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For every key value it will generate sequence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;key | index | value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01 | 1 | value1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01 | 2 | value2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01 | 3 | value3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 1 | value1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 2 | value2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 3 | value3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;02 | 4 | value4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 14:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353216#M119458</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-05-29T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: tNormalize with index or sorting number</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353217#M119459</link>
      <description>It works thanks for showing that, Initially I did not get it to work as I was getting index from 1 to XX but then I had not appened my tmap row. to the key&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing</description>
      <pubDate>Tue, 29 May 2018 21:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353217#M119459</guid>
      <dc:creator>Shettydatta</dc:creator>
      <dc:date>2018-05-29T21:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: tNormalize with index or sorting number</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353218#M119460</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Veeru, you are my hero! This is brilliant. Never thought of using the key variable itself as the sequence identifier.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thank you very much, it works like a charm.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Here is the complete workflow, if someone needs a working example:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="workflow_1.PNG" style="width: 861px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyfF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154314i1CCE2426DC887597/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyfF.png" alt="0683p000009LyfF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="workflow_2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyja.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157110i6EB050EF5F74BAFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyja.png" alt="0683p000009Lyja.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 05:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-with-index-or-sorting-number/m-p/2353218#M119460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T05:50:35Z</dc:date>
    </item>
  </channel>
</rss>

