<?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 Dynamically add new column to my file. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-add-new-column-to-my-file/m-p/2208462#M7674</link>
    <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'am facing a problem in the design of a new job.&lt;/P&gt; 
&lt;P&gt;My input file structure is :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product Price&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;I have too many files as input each file refer to one month. The price is not fixed , it change from month to month what i am asked to do is to create 1 file with this schema&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FileName1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileName2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileName3 . . .&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product 1&amp;nbsp; &amp;nbsp; PriceintheFile1&amp;nbsp; PriceintheFile2&amp;nbsp; &amp;nbsp; &amp;nbsp;PriceintheFile3 ...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product 2&amp;nbsp; &amp;nbsp; PriceintheFile1&amp;nbsp; PriceintheFile2&amp;nbsp; &amp;nbsp; &amp;nbsp;PriceintheFile3 ...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;etc&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;The File Name is the date of each month by the way.&lt;/P&gt; 
&lt;P&gt;what i have dont so far is :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TfileList=&amp;gt;TFileInputDelimited=&amp;gt;Tmap=&amp;gt;TFileInputDelimited&lt;/P&gt; 
&lt;P&gt;in the Tmap i coudnt make the column's name dynamic.&lt;/P&gt; 
&lt;P&gt;Is this can be done with Talend ?&lt;/P&gt; 
&lt;P&gt;Thanks a lot for your time.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:53:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:53:39Z</dc:date>
    <item>
      <title>Dynamically add new column to my file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-add-new-column-to-my-file/m-p/2208462#M7674</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'am facing a problem in the design of a new job.&lt;/P&gt; 
&lt;P&gt;My input file structure is :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product Price&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;I have too many files as input each file refer to one month. The price is not fixed , it change from month to month what i am asked to do is to create 1 file with this schema&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FileName1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileName2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileName3 . . .&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product 1&amp;nbsp; &amp;nbsp; PriceintheFile1&amp;nbsp; PriceintheFile2&amp;nbsp; &amp;nbsp; &amp;nbsp;PriceintheFile3 ...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Product 2&amp;nbsp; &amp;nbsp; PriceintheFile1&amp;nbsp; PriceintheFile2&amp;nbsp; &amp;nbsp; &amp;nbsp;PriceintheFile3 ...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;etc&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;The File Name is the date of each month by the way.&lt;/P&gt; 
&lt;P&gt;what i have dont so far is :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TfileList=&amp;gt;TFileInputDelimited=&amp;gt;Tmap=&amp;gt;TFileInputDelimited&lt;/P&gt; 
&lt;P&gt;in the Tmap i coudnt make the column's name dynamic.&lt;/P&gt; 
&lt;P&gt;Is this can be done with Talend ?&lt;/P&gt; 
&lt;P&gt;Thanks a lot for your time.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-add-new-column-to-my-file/m-p/2208462#M7674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add new column to my file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-add-new-column-to-my-file/m-p/2208463#M7675</link>
      <description>&lt;P&gt;Hi Rami,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is a very interesting scenario and I guess you may have to approach the issue as below:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Step :1&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;Push your output to a file where you include the filepath as one of the columns (like below)&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;file_path,prod_code,prod_price&lt;/STRONG&gt;&lt;BR /&gt;C:\filepath\month_jan.txt,1001,100&lt;BR /&gt;C:\filepath\month_jan.txt,1002,105&lt;BR /&gt;C:\filepath\month_feb.txt,1001,100&lt;BR /&gt;C:\filepath\month_feb.txt,1002,105&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Step :2&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;Use a component tUnpivotRow (you can find this component on Talend Exchange for free) this helps you convert your rows in to columns&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think this may solve your issue...good luck&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 15:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-add-new-column-to-my-file/m-p/2208463#M7675</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-08-23T15:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add new column to my file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-add-new-column-to-my-file/m-p/2208464#M7676</link>
      <description>&lt;P&gt;Thank you so much for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 12:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-add-new-column-to-my-file/m-p/2208464#M7676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-26T12:02:11Z</dc:date>
    </item>
  </channel>
</rss>

