<?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: Calculate subtotal in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Calculate-subtotal/m-p/2369962#M133060</link>
    <description>Hi 
&lt;BR /&gt;There is a global variable defined on tFileInputDelimtied counts the total number of lines read from the source file, you can use this variable in the next subjob and append the record to an existing Excel file. eg: 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tFileInputDelimited-----&amp;gt; tAggregateRow ------&amp;gt; tFileOutputExcel1&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp; &amp;nbsp; |&lt;BR /&gt;onsubjobok&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tFixedFlowInput--main--tFileOutputExcel2&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;on tFixedFlowInput, define two columns: country and calls, and set their values to:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;country: "Total"&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;calls:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;((Integer)globalMap.get("tFileInputDelimited_1_NB_LINE"))&lt;/FONT&gt;[/font] 
&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;tFileOutputExcel2: check 'append existing file' and 'append existing sheet' box.&lt;/FONT&gt;[/font] 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;Regards&lt;/FONT&gt;[/font] 
&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;Shong&lt;/FONT&gt;[/font]</description>
    <pubDate>Thu, 12 May 2016 01:50:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-12T01:50:20Z</dc:date>
    <item>
      <title>Calculate subtotal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Calculate-subtotal/m-p/2369961#M133059</link>
      <description>&lt;P&gt;Hi everybody&lt;BR /&gt;I want to calculate subtotal of my input like that&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHHB.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147145i18AD28FFF054A462/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHHB.jpg" alt="0683p000009MHHB.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I use tFileInputDelimited-----&amp;gt; tAggregateRow ------&amp;gt; tFileOutputExcel&lt;BR /&gt;I group by Country and i count with Date&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 10:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Calculate-subtotal/m-p/2369961#M133059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-11T10:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate subtotal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Calculate-subtotal/m-p/2369962#M133060</link>
      <description>Hi 
&lt;BR /&gt;There is a global variable defined on tFileInputDelimtied counts the total number of lines read from the source file, you can use this variable in the next subjob and append the record to an existing Excel file. eg: 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tFileInputDelimited-----&amp;gt; tAggregateRow ------&amp;gt; tFileOutputExcel1&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp; &amp;nbsp; |&lt;BR /&gt;onsubjobok&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tFixedFlowInput--main--tFileOutputExcel2&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;on tFixedFlowInput, define two columns: country and calls, and set their values to:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;country: "Total"&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;calls:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;((Integer)globalMap.get("tFileInputDelimited_1_NB_LINE"))&lt;/FONT&gt;[/font] 
&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;tFileOutputExcel2: check 'append existing file' and 'append existing sheet' box.&lt;/FONT&gt;[/font] 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;Regards&lt;/FONT&gt;[/font] 
&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif] 
&lt;FONT size="2"&gt;Shong&lt;/FONT&gt;[/font]</description>
      <pubDate>Thu, 12 May 2016 01:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Calculate-subtotal/m-p/2369962#M133060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-12T01:50:20Z</dc:date>
    </item>
  </channel>
</rss>

