<?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: group records and create file for each record in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374916#M137436</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;Attached job will help you to parse the data. You will have to change the formatting of the date according to your need.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz07.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130586i80FB3942BCE69E25/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz07.png" alt="0683p000009Lz07.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The job will identify all the distinct values of the file and store them in a hash value.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Then based on this control values from hash input, the file will be read multiple times to fetch the necessary data.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; One the&amp;nbsp;data&amp;nbsp;is separated, they will be moved to multiple directories based on column 3 and the file name will be concatenation of column 2 and column 15 (screenshots below). You can change the file and directory structure according to your needs.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyln.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155736iB6595564E3334024/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyln.png" alt="0683p000009Lyln.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyjR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137738i21F08C530BD6BA74/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyjR.png" alt="0683p000009LyjR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz0H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147955i499D3F1AC030985D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz0H.png" alt="0683p000009Lz0H.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output of file B is as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz0M.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130547i20649AA29A0AD6ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz0M.png" alt="0683p000009Lz0M.png" /&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; 
&lt;P&gt;Note:- 1) Since multiple reads will be happening on same input file, test the performance if you are planning for huge data volumes and make necessary changes.&lt;/P&gt; 
&lt;P&gt;2) If you want to process multiple input files, add a tfilelist at the beginning of first subjob.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the idea has helped you, could you please mark the topic as solution provided.It will help in enriching the Talend community.&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;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lt33"&gt;invoice_input.xlsx&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtLJ"&gt;invoice_reader.zip&lt;/A&gt;</description>
    <pubDate>Mon, 30 Jul 2018 15:30:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-30T15:30:54Z</dc:date>
    <item>
      <title>group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374913#M137433</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I currently have a Excel macro enables workbook which reads the data in file then groups the data based on certain criteria, say for example Name and timesheet data. It then creates an individual workbook for each of these groups and names the workbook based on the name and the&amp;nbsp;timesheet&amp;nbsp;value column. It sorts the data first then inserts new line after each group, then copies this data and paste into another&amp;nbsp;workbook, save and closes the file (current workbook), now read the next set of data in the original file and copies and paste&amp;nbsp;the next set of group data and puts in new book and so on utill it reaches end of file with no data and closes the application.&lt;/P&gt; 
&lt;P&gt;I have been asked to rewrite this job in Talend as the timesheet data we longer receive in excel. The timesheet data comes in a pipe text file. I have been able to create a excel file from the pipe text file.&lt;/P&gt; 
&lt;P&gt;However, the problem I am having now is I need to read the output file which has been produced from the pipe text file and group this data and create a individual file for each set of group data. I have searched&amp;nbsp;and cannot find any that meet my requirements. Please see screen shots. I will be ignoring Column 0 = "I". Lucky the data is already sorted for me this time, however&amp;nbsp; might not be next time.&lt;/P&gt; 
&lt;P&gt;Now I want to group the data by the name and date, and produce&amp;nbsp;individual output (excel file) where it will need to name these file based on certain column names.&lt;/P&gt; 
&lt;P&gt;I am using talend 6.5 therefore do not have tMatchgroup and cannot use tXLMAP as this requires joins. I just want the job extract the data from the pipe file then convert &amp;nbsp;the file, &amp;nbsp;then&amp;nbsp;group the data and produce individual files&amp;nbsp;using one single output component as I do not know how many rows the text file would have. I thought I had found a way but the final output file is blank.&lt;/P&gt; 
&lt;P&gt;Please any help would be appreciated.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374913#M137433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374914#M137434</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;Could you please share some sample input data for analysis and the expected output file format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; There are lo of solutions we can do but let us try to do solutioning based on current data structure.&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>Mon, 30 Jul 2018 11:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374914#M137434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T11:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374915#M137435</link>
      <description>&lt;P&gt;&lt;A&gt;@nthampi&lt;/A&gt;&amp;nbsp;thank you for your quick response, much appreciated. I did add screen shot but seems like it did not attach.&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;So Once the pipe text file is converted to excel, data should like this. Currently already grouped. I this data is read, it needs to&amp;nbsp;ignore&amp;nbsp; column 0= "I"&lt;/P&gt; 
  &lt;TABLE&gt; 
   &lt;TBODY&gt; 
    &lt;TR&gt; 
     &lt;TD&gt;&lt;P&gt;Column0&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column1&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column2&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column3&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column4&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column5&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column6&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column7&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column8&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column9&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column10&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column11&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column12&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column13&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column14&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column15&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;Column16&lt;/P&gt;&lt;/TD&gt; 
    &lt;/TR&gt; 
    &lt;TR&gt; 
     &lt;TD&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt; 
     &lt;TD&gt;&lt;P&gt;14001141&lt;/P&gt;&lt;/TD&gt;  
    &lt;/TR&gt; 
   &lt;/TBODY&gt; 
  &lt;/TABLE&gt;
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdGA"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdGA"&gt;OriginalPost.pdf&lt;/A&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374915#M137435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T14:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374916#M137436</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;Attached job will help you to parse the data. You will have to change the formatting of the date according to your need.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz07.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130586i80FB3942BCE69E25/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz07.png" alt="0683p000009Lz07.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The job will identify all the distinct values of the file and store them in a hash value.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Then based on this control values from hash input, the file will be read multiple times to fetch the necessary data.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; One the&amp;nbsp;data&amp;nbsp;is separated, they will be moved to multiple directories based on column 3 and the file name will be concatenation of column 2 and column 15 (screenshots below). You can change the file and directory structure according to your needs.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyln.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155736iB6595564E3334024/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyln.png" alt="0683p000009Lyln.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyjR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137738i21F08C530BD6BA74/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyjR.png" alt="0683p000009LyjR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz0H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147955i499D3F1AC030985D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz0H.png" alt="0683p000009Lz0H.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output of file B is as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz0M.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130547i20649AA29A0AD6ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz0M.png" alt="0683p000009Lz0M.png" /&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; 
&lt;P&gt;Note:- 1) Since multiple reads will be happening on same input file, test the performance if you are planning for huge data volumes and make necessary changes.&lt;/P&gt; 
&lt;P&gt;2) If you want to process multiple input files, add a tfilelist at the beginning of first subjob.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the idea has helped you, could you please mark the topic as solution provided.It will help in enriching the Talend community.&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;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lt33"&gt;invoice_input.xlsx&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtLJ"&gt;invoice_reader.zip&lt;/A&gt;</description>
      <pubDate>Mon, 30 Jul 2018 15:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374916#M137436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T15:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374917#M137437</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;Much appreciated. I will have a look at attached and let you know how I get on. Once , again thank you so much.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 15:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374917#M137437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T15:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374918#M137438</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Much appreciated. I will have a look at attached and let you know how I get on. Once , again thank you so much.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 15:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374918#M137438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T15:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374919#M137439</link>
      <description>I am unable to import the project due to version compatibility. I am working on Talend 6.5, and generally able to import jobs but 6.5 is not allowing me due to the latest version used by yourself.</description>
      <pubDate>Mon, 30 Jul 2018 15:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374919#M137439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T15:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374920#M137440</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I created the job in Talend Version 7. Could you please download TOS version 7&amp;nbsp;for importing the data?&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>Mon, 30 Jul 2018 16:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374920#M137440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T16:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374921#M137441</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Have used talend Open Studio big data 7. the the job runs with little changes made to it however nothing is created in the output file for each person, also it is created each line rather than grouping the data in one sheet. So instead of having say 10 files, I have 314 files. The last tmap is showing 0 rows. Also the file name is not showing the correct columns, it showing the firstname the date and rate, rather than, firstname, surnanme and date.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtM2"&gt;FinalTMap.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lt3L"&gt;EmptyFile.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lswz"&gt;FilesCreated.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtMC"&gt;OverallJob.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 01 Aug 2018 08:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374921#M137441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T08:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374922#M137442</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;Between first subjob and second subjob, you are using On component ok instead of ideal way of doing (ie On Subjob OK).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Also it seems your aggregation component has not configured correctly. Please refer the columns I have used for aggregation ( I have used the User name, Type and Date for the grouping).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lysi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140995iD90647843AE16DFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lysi.png" alt="0683p000009Lysi.png" /&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; 
&lt;P&gt;In my job, the input data got grouped to 2 after aggregation layer but it seems your grouping has resulted in almost same values.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A good idea to debug the job is always to see output using a tlogrow to make sure that your getting the expected values after adding the component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please use my job as a reference point but always make necessary changes according to your exact project requirement.&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>Wed, 01 Aug 2018 09:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374922#M137442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T09:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374923#M137443</link>
      <description>I figured out the incorrect naming convention, the aggregated component (input outcome) i had different columns selected.</description>
      <pubDate>Wed, 01 Aug 2018 09:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374923#M137443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T09:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374924#M137444</link>
      <description>&lt;P&gt;Fantastic job &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A good idea will be to always have unique names for your components rather than Column1, Column2 etc. This will help in easy debugging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please mark the topic as solution provided as the issue has been resolved now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will help the Talend community for future reference.&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>Wed, 01 Aug 2018 09:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374924#M137444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T09:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374925#M137445</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On Sub Job OK was not available to me through the fileinput, I have now used "on sub job ok" from tfilelist.&lt;BR /&gt;With regards to the aggregated component, I have renames the fields and used the same columns as your job to create the grouping but the&amp;nbsp;grouping is not working and not outputing any data in the text file.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtMH"&gt;LogRowMapping.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtMM"&gt;Issue.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtMR"&gt;Aggreated.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 01 Aug 2018 09:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374925#M137445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374926#M137446</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;On SubJob Ok will eb available only for the first component in a Subjob.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The data fetch is happening correctly in the sample job I had given. So the issue could be some minor mistakes when you recoded it at your end. Please try tlogrow to see the results after connecting each component to verify the effect of your changes.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 09:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374926#M137446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T09:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374927#M137447</link>
      <description>&lt;P&gt;I think the issue maybe the input file which I using for mapping for the end result. I have used a variable for file path assuming it will go back to tfilelist_1, but I don't think it works that way, is that correct?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lt9i"&gt;FielPath.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 01 Aug 2018 09:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374927#M137447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T09:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374928#M137448</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I have attached the excel file which I used based on the data you shared in the post. Could you please compare all the files you are having is having same format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Once you connect a tfilelist -&amp;gt; tfileInputExcel , you will have to use the variable&amp;nbsp;((String)globalMap.get("tFileList_1_CURRENT_FILE")) to get the file name from file list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note:- Change the value of number after tfilelist in the variable based on the component actual name.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 09:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374928#M137448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T09:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374929#M137449</link>
      <description>&lt;P&gt;I convert the pipe text file to excel, then use this file to read the data and produce excel file based on aggregation. I do not need to exclude "I" as the extraction ignore this column due to the data type.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtMb"&gt;SAP.txt&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtMl"&gt;SAP.txt&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtNP"&gt;TEST.zip&lt;/A&gt;</description>
      <pubDate>Wed, 01 Aug 2018 10:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374929#M137449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T10:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374930#M137450</link>
      <description>&lt;P&gt;Please see my below reply where I have attached my project and text file. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 11:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374930#M137450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T11:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374931#M137451</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; Once you read the distinct values, you need to pick them from all of your input files. So you will need another tfilelist in your second subjob.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; In between, it is a good practice to arrange the components in straight line rather than in zig-zag manner for better readability.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have added tFilelist_2 intentionally in U shape so that it is is easily noticeable. Once you understand the flow,please&amp;nbsp;make the flow as a straight line.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz2I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142594i72D97EA46F12096B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz2I.png" alt="0683p000009Lz2I.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Since&amp;nbsp; you have got the solution for your original query, could you please mark the topic as solution provided? It will help to enrich the Talend community for later references.&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&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374931#M137451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: group records and create file for each record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374932#M137452</link>
      <description>Apologies, I had some other components which was deactivated. the job flow has been straighten for readability. I have also marked original query as "Accept as Solution".&lt;BR /&gt;I have used the the project you craeted and just reset the fields to the "alias" and that does not work in grouping the data. The issue is on grouping.</description>
      <pubDate>Wed, 01 Aug 2018 14:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/group-records-and-create-file-for-each-record/m-p/2374932#M137452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T14:59:23Z</dc:date>
    </item>
  </channel>
</rss>

