<?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 get the record count in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355522#M121256</link>
    <description>&lt;P&gt;Hi &lt;A href="https://community.qlik.com/s/profile/0053p000007LMyfAAG"&gt;@sindhurak&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;Find the attached mapping. Here I were creating excel file from csv file and then count the number of records in tJava ((Integer)globalMap.get("tFileOutputExcel_1_NB_LINE")).&lt;BR /&gt;&lt;BR /&gt;You can find the list of variables in the "Outline" view on the bottom left of your screen.&lt;BR /&gt;Let me know&amp;nbsp; if it helps.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lset"&gt;TLND_record_cnt.PNG&lt;/A&gt;</description>
    <pubDate>Mon, 09 Apr 2018 13:16:13 GMT</pubDate>
    <dc:creator>mks02</dc:creator>
    <dc:date>2018-04-09T13:16:13Z</dc:date>
    <item>
      <title>Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355520#M121254</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt; 
&lt;P&gt;I would like to the get the record count of processed rows, but each record will be processed one at a time. So while I try to get the count of record to some context variable, I am getting the count as 1 always. Would like to know how to get the total count.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here in the tfileOutputExcel_1, I am getting the detailed information and tfileOutputExcel_2, will have summary details (same excel will have two tabs one is summary and one is detailed).&lt;/P&gt; 
&lt;P&gt;I would like to get the total record count from detailed excel to summary excel&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 914px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtZv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131367i67B5F3335C3A8D7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtZv.png" alt="0683p000009LtZv.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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 06:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355520#M121254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-09T06:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355521#M121255</link>
      <description>Hi 
&lt;BR /&gt;I want to know why only one record is processed at a time? and how do you get the record count? Can you upload the full screenshot of your job design?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 09 Apr 2018 08:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355521#M121255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-09T08:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355522#M121256</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.qlik.com/s/profile/0053p000007LMyfAAG"&gt;@sindhurak&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;Find the attached mapping. Here I were creating excel file from csv file and then count the number of records in tJava ((Integer)globalMap.get("tFileOutputExcel_1_NB_LINE")).&lt;BR /&gt;&lt;BR /&gt;You can find the list of variables in the "Outline" view on the bottom left of your screen.&lt;BR /&gt;Let me know&amp;nbsp; if it helps.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lset"&gt;TLND_record_cnt.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 09 Apr 2018 13:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355522#M121256</guid>
      <dc:creator>mks02</dc:creator>
      <dc:date>2018-04-09T13:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355523#M121257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My excel has to read one record at a time because of some job specifications and iterating the excel to read further records. So that makes the problem when I try to count the records.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsdN"&gt;Sample.docx&lt;/A&gt;</description>
      <pubDate>Tue, 10 Apr 2018 01:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355523#M121257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-10T01:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355524#M121258</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Even after using this, I am still getting total count as 1 because it is reading one row at a time. Any other way to resolve this ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 01:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355524#M121258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-10T01:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355525#M121259</link>
      <description>Issue has been resolved after i used sequence in the column</description>
      <pubDate>Sat, 14 Apr 2018 03:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355525#M121259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-14T03:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355526#M121260</link>
      <description>Hi shong ,
&lt;BR /&gt;
&lt;BR /&gt;I want to get the record count in separate new column and divide them in 2 different category as "Single" &amp;amp; "Multiple"
&lt;BR /&gt;
&lt;BR /&gt;For Ex: If i have 1 unique serial No in my list then the new column should have name as Single . if the serial no. has multiple entry then the new column should hold only Multiple. Is this feasible?
&lt;BR /&gt;
&lt;BR /&gt;Example
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 27 May 2020 15:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355526#M121260</guid>
      <dc:creator>hangel</dc:creator>
      <dc:date>2020-05-27T15:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355527#M121261</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/0053p000007LQdSAAW"&gt;@hangel&lt;/A&gt;, define a context variable for the value of new column, populate the count of serial No, and then assign corresponding value to context variable depend on the count number, for example: 
&lt;BR /&gt;....tAggregateRow--main--tJavaRow 
&lt;BR /&gt; 
&lt;BR /&gt;tAggregateRow is used to the count of serial No, 
&lt;BR /&gt;on tJavaRow: 
&lt;BR /&gt;if(input_row.count&amp;gt;1){ 
&lt;BR /&gt;context.newColumn="Multiple"; 
&lt;BR /&gt;}else{ 
&lt;BR /&gt;context.newColumn="Single "; 
&lt;BR /&gt;} 
&lt;BR /&gt; 
&lt;BR /&gt;In next subjob, add a new column and set its value expression as: context.newColumn 
&lt;BR /&gt; 
&lt;BR /&gt;Hope it helps you! 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 28 May 2020 07:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355527#M121261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T07:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355528#M121262</link>
      <description>&lt;P&gt;Thanks for your quick response&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have attached my existing job sample along with this chat thread.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do i need to add&amp;nbsp;&lt;STRONG&gt;tAggregateRow&lt;/STRONG&gt; after tXML Mapping in my job?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tSalesforceInput -&amp;gt; tXML Map -&amp;gt; tAggregateRow -&amp;gt; tJavarow-&amp;gt; tmap&amp;gt;tFileOutputRaw -&amp;gt;tHttpRequest?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please suggest, Thanks Again.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MavK"&gt;sjob.JPG&lt;/A&gt;</description>
      <pubDate>Thu, 28 May 2020 08:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355528#M121262</guid>
      <dc:creator>hangel</dc:creator>
      <dc:date>2020-05-28T08:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355529#M121263</link>
      <description>Where does serial No come from? Can you show a screenshot of tMap?</description>
      <pubDate>Fri, 29 May 2020 07:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355529#M121263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-29T07:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get the record count</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355530#M121264</link>
      <description>&lt;P&gt;The data comes from Salesforce Component.Attached the tmap structure and highlighted the name of the column name from where i'm trying to get the count.&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/0683p000009MauX"&gt;tmap.JPG&lt;/A&gt;</description>
      <pubDate>Fri, 29 May 2020 07:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-get-the-record-count/m-p/2355530#M121264</guid>
      <dc:creator>hangel</dc:creator>
      <dc:date>2020-05-29T07:58:39Z</dc:date>
    </item>
  </channel>
</rss>

