<?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 Group the records in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328305#M97600</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a input file like below&lt;/P&gt;&lt;P&gt;col1;col2;col3;……col10&lt;/P&gt;&lt;P&gt;1;a;1&lt;/P&gt;&lt;P&gt;1;b;5;&lt;/P&gt;&lt;P&gt;2;c;10&lt;/P&gt;&lt;P&gt;1;d;3&lt;/P&gt;&lt;P&gt;2;e;9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to group the records based on col1 and sort with col3&lt;/P&gt;&lt;P&gt;the output should be like&lt;/P&gt;&lt;P&gt;col1;col2;col3;…….col10&lt;/P&gt;&lt;P&gt;1;a;1;&lt;/P&gt;&lt;P&gt;1;d;3;&lt;/P&gt;&lt;P&gt;1;b;5;&lt;/P&gt;&lt;P&gt;2;e;9;&lt;/P&gt;&lt;P&gt;2;c;10;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rest of the other records in the file should remain same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please anyone have any suggestions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;lmit&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 11:06:05 GMT</pubDate>
    <dc:creator>lmit</dc:creator>
    <dc:date>2022-10-18T11:06:05Z</dc:date>
    <item>
      <title>Group the records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328305#M97600</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a input file like below&lt;/P&gt;&lt;P&gt;col1;col2;col3;……col10&lt;/P&gt;&lt;P&gt;1;a;1&lt;/P&gt;&lt;P&gt;1;b;5;&lt;/P&gt;&lt;P&gt;2;c;10&lt;/P&gt;&lt;P&gt;1;d;3&lt;/P&gt;&lt;P&gt;2;e;9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to group the records based on col1 and sort with col3&lt;/P&gt;&lt;P&gt;the output should be like&lt;/P&gt;&lt;P&gt;col1;col2;col3;…….col10&lt;/P&gt;&lt;P&gt;1;a;1;&lt;/P&gt;&lt;P&gt;1;d;3;&lt;/P&gt;&lt;P&gt;1;b;5;&lt;/P&gt;&lt;P&gt;2;e;9;&lt;/P&gt;&lt;P&gt;2;c;10;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rest of the other records in the file should remain same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please anyone have any suggestions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;lmit&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 11:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328305#M97600</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2022-10-18T11:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Group the records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328306#M97601</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I think just use a tSortRow to sort the rows by col1 and col3 columns can fit your needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 02:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328306#M97601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-19T02:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Group the records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328307#M97602</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply , yes sort worked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i have to separate the records which are having only date , lets say my input is like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000YCKweAAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155466i676BE5450A7C1AE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000YCKweAAH.png" alt="0695b00000YCKweAAH.png" /&gt;&lt;/span&gt;and my output should have 2 flows like&lt;/P&gt;&lt;P&gt;first flow should records like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000YCKzEAAX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150649iD861EC6868EA0AC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000YCKzEAAX.png" alt="0695b00000YCKzEAAX.png" /&gt;&lt;/span&gt;and second flow should be like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000YCL0vAAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135395iBCD3E9A3530F4597/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000YCL0vAAH.png" alt="0695b00000YCL0vAAH.png" /&gt;&lt;/span&gt;the first flow is because it has only one date and one records in the whole file &lt;/P&gt;&lt;P&gt;the second flow will have other records in sorted ordered&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried using taggregatrow component with count function but got error message like "cannot be processed because of incompatible input and/or out columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would really apricate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;lmit   &lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 16:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328307#M97602</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2022-10-20T16:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Group the records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328308#M97603</link>
      <description>&lt;P&gt;I guess you don't use the tAggregaterow  component correctly. In this example, you need to store the output into memory using tHashOutput after tSortRow for used in next subjob, for example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000YCUJrAAP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135080i05B52913FEEA41B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000YCUJrAAP.png" alt="0695b00000YCUJrAAP.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000YCUK6AAP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153390i616E9B140557CC07/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000YCUK6AAP.png" alt="0695b00000YCUK6AAP.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000YCUKBAA5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145452i20C50177B4EBE4DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000YCUKBAA5.png" alt="0695b00000YCUKBAA5.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000YCUKGAA5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149031i89A1145FB476A218/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000YCUKGAA5.png" alt="0695b00000YCUKGAA5.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tHashInput1 link with tHashOutput1, and has the same schema as tHashOutput1;&lt;/P&gt;&lt;P&gt;tHashInput1 link with tHashOutput2, and has the same schema as tHashOutput2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 03:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Group-the-records/m-p/2328308#M97603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-21T03:04:46Z</dc:date>
    </item>
  </channel>
</rss>

