<?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: tFileOutputExcel -&amp;gt; changing column names in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333691#M102447</link>
    <description>The column names in the output file are the column names in the schema of the output component.  If your query is just select count(*) then the schema of your input and output components should just be one column with whatever name you want.</description>
    <pubDate>Fri, 19 Jul 2013 06:39:43 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2013-07-19T06:39:43Z</dc:date>
    <item>
      <title>tFileOutputExcel -&gt; changing column names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333689#M102445</link>
      <description>I have the following model/scheme : 
&lt;BR /&gt;tMysqlInput -&amp;gt; tFileOutputExcel 
&lt;BR /&gt;I'm using a table called tableeeee that looks like: 
&lt;BR /&gt;---------------------------------- 
&lt;BR /&gt;| A | B | C | D | E | 
&lt;BR /&gt;---------------------------------- 
&lt;BR /&gt;| ... | ... | ... | ... | ... | 
&lt;BR /&gt;| | | | | | 
&lt;BR /&gt;| | | | | | 
&lt;BR /&gt;A is the primary key 
&lt;BR /&gt;tMysqlInput is configured with this query: 
&lt;BR /&gt;SELECT count(A) 
&lt;BR /&gt;FROM tableeeee 
&lt;BR /&gt;WHERE B='b' 
&lt;BR /&gt;AND C='c' 
&lt;BR /&gt;AND D='d' 
&lt;BR /&gt;AND E='e'; 
&lt;BR /&gt;I configured the tFileOutputExcel component in the following manner: 
&lt;BR /&gt;- I changed the file name of the output file 
&lt;BR /&gt;- I included the headers in the output file 
&lt;BR /&gt;The result is ridiculous: 
&lt;BR /&gt;- the name of tableeeee's columns appear in the first row of the output Excel file 
&lt;BR /&gt;- the result (consisting of only one number) is put in the first column and the second row of the Excel file 
&lt;BR /&gt;Can you please tell me: 
&lt;BR /&gt;- how to modify tableeeee's column names that appear in the output file (I CANNOT change the names of tableeeee's columns because of a variety of reasons). I would like to have only one column name in the output file's first row and first column that will match the description of the result. 
&lt;BR /&gt;- how to make further modifications to the output file, such as changing the colors of the columns, writing in bold, etc... 
&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 18 Jul 2013 16:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333689#M102445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-18T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel -&gt; changing column names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333690#M102446</link>
      <description>Hi, 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;how to modify tableeeee's column names that appear in the output file (I CANNOT change the names of tableeeee's columns because of a variety of reasons). I would like to have only one column name in the output file's first row and first column that will match the description of the result.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You can use 
&lt;A href="https://help.talend.com/search/all?query=tMap&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMap&lt;/A&gt; to rename your table column name. Why don't you use "Merge cell" into your output excel file, if you want to one column instead of | A | B | C | D | E |?
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;how to make further modifications to the output file, such as changing the colors of the columns, writing in bold, etc...&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Talend is a code generator ETL which use JAVA as the underline technology generated to perform the Data Extraction, Transformation and Loading.
&lt;BR /&gt;So far, we don't support for changing the colors of the columns, writing in bold.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 19 Jul 2013 03:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333690#M102446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-19T03:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel -&gt; changing column names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333691#M102447</link>
      <description>The column names in the output file are the column names in the schema of the output component.  If your query is just select count(*) then the schema of your input and output components should just be one column with whatever name you want.</description>
      <pubDate>Fri, 19 Jul 2013 06:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333691#M102447</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-07-19T06:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel -&gt; changing column names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333692#M102448</link>
      <description>Thank you all for your help! 
&lt;BR /&gt;However, can you please tell me more specifically what I should do (what component to modify, what button to click, what window to open, etc...)? 
&lt;BR /&gt;Thx again.</description>
      <pubDate>Fri, 19 Jul 2013 10:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333692#M102448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-19T10:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel -&gt; changing column names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333693#M102449</link>
      <description>I've just solved my problem. I clicked on the 'Guess Schema' button situated in the 'Composant' tab of tMysqlInput and all the columns I had before got replaced by only one column whose name was sth like t_count_.... .&lt;BR /&gt;P.S. Since I'm a beginner, I had never used the 'Guess Schema' button before.</description>
      <pubDate>Fri, 19 Jul 2013 10:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333693#M102449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-19T10:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel -&gt; changing column names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333694#M102450</link>
      <description>You don't need Guess Schema.  Just click on the ... button next to schema and edit to your heart's content.</description>
      <pubDate>Sat, 20 Jul 2013 01:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-gt-changing-column-names/m-p/2333694#M102450</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-07-20T01:14:41Z</dc:date>
    </item>
  </channel>
</rss>

