<?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: Iterate csv file and store column value in variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267075#M46079</link>
    <description>Try tAggregateRow and normalize the output.</description>
    <pubDate>Fri, 15 Jun 2012 07:56:22 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2012-06-15T07:56:22Z</dc:date>
    <item>
      <title>Iterate csv file and store column value in variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267074#M46078</link>
      <description>Hello Talend Team,&lt;BR /&gt;I have list of csv file which contain transaction details and I want to find distinct accountid from all of them for second subjob.&lt;BR /&gt;for example my csv file contain data like&lt;BR /&gt;Tractionfile 1&lt;BR /&gt;AccountId TranctionId BalanceAmt&lt;BR /&gt;1                112          100.00&lt;BR /&gt;2                201          100.00&lt;BR /&gt;4                113          200.00&lt;BR /&gt;1                114          400.00&lt;BR /&gt;Tractionfile 2&lt;BR /&gt;AccountId TranctionId BalanceAmt&lt;BR /&gt;2                202          200.00&lt;BR /&gt;3                564          800.00&lt;BR /&gt;1                205          555.00&lt;BR /&gt;I want to store only distinct AccountId separated by comma in context variable to use in another subjob. &lt;BR /&gt;like &lt;BR /&gt;context.variable = "1,2,4,3";&lt;BR /&gt;my job desing&lt;BR /&gt;tfileList-------iterate----&amp;gt;tFileInputeDelimeter----------&amp;gt;tMap-----tLogRow------&amp;gt;&lt;BR /&gt;                                (want to calcualte context.variable                         (want to use context.variable value here)&lt;BR /&gt;                                 value here )&lt;BR /&gt;&lt;BR /&gt;Please suggest me how to find distinct account id and store it in context variable.&lt;BR /&gt;Thank you,&lt;BR /&gt;Nitin</description>
      <pubDate>Sat, 16 Nov 2024 12:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267074#M46078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate csv file and store column value in variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267075#M46079</link>
      <description>Try tAggregateRow and normalize the output.</description>
      <pubDate>Fri, 15 Jun 2012 07:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267075#M46079</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-06-15T07:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate csv file and store column value in variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267076#M46080</link>
      <description>Hi dentiston&lt;BR /&gt;can you please explain me how do I get my output through tAggregateRow and tnormalize.</description>
      <pubDate>Tue, 19 Jun 2012 09:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267076#M46080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-19T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate csv file and store column value in variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267077#M46081</link>
      <description>Hi
&lt;BR /&gt;Try this:
&lt;BR /&gt;tFileList -&amp;gt; tFileInputDelimited -&amp;gt; tUnite -&amp;gt; tFilterColumns -&amp;gt; tDenormalize -&amp;gt; Output
&lt;BR /&gt;The tUnite unites the iterations into a single flow (much like writing all of the inputs to a single interim file, then reading the interim file again). 
&lt;BR /&gt;Make sure the tDenormalize has "Merge same value" checked - this will get rid of duplicate account ids.
&lt;BR /&gt;JB</description>
      <pubDate>Mon, 16 Jul 2012 16:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-csv-file-and-store-column-value-in-variable/m-p/2267077#M46081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-16T16:58:27Z</dc:date>
    </item>
  </channel>
</rss>

