<?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: tJavaRow, iterate on column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJavaRow-iterate-on-column/m-p/2308386#M79723</link>
    <description>In fact I have a lot of column and for example :&lt;BR /&gt;&amp;nbsp;Id col2 jan__12 ,fev__12 .... col 14 col15 ... col20 jan__13 ... dec__13&lt;BR /&gt;i just want to keep the column that are jan .. to dec but they are in différent places and not in the row.&lt;BR /&gt;How can I iterate over the column in my tJavaRow and try if the header contains(jan ... to dec) and get the value.&lt;BR /&gt;Then I have to tunpivot to have something like : &lt;BR /&gt;-id , jan__12, value&lt;BR /&gt;-id, jan__12, value&lt;BR /&gt;...&lt;BR /&gt;-id dec__17 value&lt;BR /&gt;etc...&lt;BR /&gt;Thanks</description>
    <pubDate>Fri, 13 Nov 2015 14:05:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-13T14:05:55Z</dc:date>
    <item>
      <title>tJavaRow, iterate on column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJavaRow-iterate-on-column/m-p/2308384#M79721</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;I have a lot of files with a large number of column and i'd like to know if it's possible using a tJavaRow to iterate over the column (for each row) ?&lt;BR /&gt;Let's say I have : &lt;BR /&gt;date &amp;nbsp; &amp;nbsp;&amp;nbsp; value1 &amp;nbsp; &amp;nbsp; value2 &amp;nbsp;&amp;nbsp; value3 ... &amp;nbsp; valueN&lt;BR /&gt;&lt;BR /&gt;and in output i'd like to have :&lt;BR /&gt;date&amp;nbsp; value1&lt;BR /&gt;date value2&lt;BR /&gt;...&lt;BR /&gt;date valueN&lt;BR /&gt;Under condition to get the column ?&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 15:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJavaRow-iterate-on-column/m-p/2308384#M79721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-06T15:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: tJavaRow, iterate on column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJavaRow-iterate-on-column/m-p/2308385#M79722</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;I don't understand you said that 'Under condition to get the column', it seems you need to normalize the rows, take a look at the tNormalize component, let me know if it fits your need?
&lt;BR /&gt;
&lt;BR /&gt;BRS
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 10 Nov 2015 14:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJavaRow-iterate-on-column/m-p/2308385#M79722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-10T14:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: tJavaRow, iterate on column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJavaRow-iterate-on-column/m-p/2308386#M79723</link>
      <description>In fact I have a lot of column and for example :&lt;BR /&gt;&amp;nbsp;Id col2 jan__12 ,fev__12 .... col 14 col15 ... col20 jan__13 ... dec__13&lt;BR /&gt;i just want to keep the column that are jan .. to dec but they are in différent places and not in the row.&lt;BR /&gt;How can I iterate over the column in my tJavaRow and try if the header contains(jan ... to dec) and get the value.&lt;BR /&gt;Then I have to tunpivot to have something like : &lt;BR /&gt;-id , jan__12, value&lt;BR /&gt;-id, jan__12, value&lt;BR /&gt;...&lt;BR /&gt;-id dec__17 value&lt;BR /&gt;etc...&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 13 Nov 2015 14:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJavaRow-iterate-on-column/m-p/2308386#M79723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T14:05:55Z</dc:date>
    </item>
  </channel>
</rss>

