<?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: Transposing data and merging two files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Transposing-data-and-merging-two-files/m-p/2341233#M109209</link>
    <description>Hi&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Vishakha&lt;/FONT&gt;&lt;/FONT&gt;,&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 03 Mar 2017 03:40:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-03T03:40:26Z</dc:date>
    <item>
      <title>Transposing data and merging two files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Transposing-data-and-merging-two-files/m-p/2341232#M109208</link>
      <description>&lt;P&gt;My requirement is to transpose rows to columns. I am using tPivotToColumnsDelimited. But this currently allows aggregation of one column.&amp;nbsp; I have to transpose the row data&amp;nbsp;of three columns, where one column is the common pivot column for the other two columns.&lt;BR /&gt;So I have&amp;nbsp;used this component twice, in the hope to merge the two resultant files (CSV)&amp;nbsp;into one output later.&lt;BR /&gt;Ideally I could use tMap component to merge the two CSV files.&amp;nbsp; But I do not have a predefine schema, as the data in the files is not static.&amp;nbsp; So I am unable to define a schema for input source to tMap.&amp;nbsp;&lt;BR /&gt;Can someone please suggest a way forward? I’ll be grateful for your help.&lt;BR /&gt;Regards,&lt;BR /&gt;Vishakha&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 23:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Transposing-data-and-merging-two-files/m-p/2341232#M109208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-02T23:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Transposing data and merging two files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Transposing-data-and-merging-two-files/m-p/2341233#M109209</link>
      <description>Hi&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Vishakha&lt;/FONT&gt;&lt;/FONT&gt;,&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 03 Mar 2017 03:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Transposing-data-and-merging-two-files/m-p/2341233#M109209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T03:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Transposing data and merging two files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Transposing-data-and-merging-two-files/m-p/2341234#M109210</link>
      <description>Hello Sabrina.&lt;BR /&gt;Thanks for getting back to me.&lt;BR /&gt;We use the community version of TOS.&lt;BR /&gt;&lt;BR /&gt;My requirement is to transpose the following input:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;ID&amp;nbsp;TEXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMMENT&lt;/B&gt;&lt;BR /&gt;1&amp;nbsp;&amp;nbsp; Text A1&amp;nbsp; Comment A1&lt;BR /&gt;2&amp;nbsp;&amp;nbsp; Text B1&amp;nbsp; Comment B1&lt;BR /&gt;3&amp;nbsp;&amp;nbsp; Text C1&amp;nbsp; Comment C1&lt;BR /&gt;4&amp;nbsp;&amp;nbsp; Text D1&amp;nbsp; Comment D1&lt;BR /&gt;5&amp;nbsp;&amp;nbsp; Text E1&amp;nbsp; Comment E1&lt;BR /&gt;&lt;BR /&gt;To the following output:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;ID1 Text&amp;nbsp;&amp;nbsp; ID 1 Comment&amp;nbsp;&amp;nbsp;&amp;nbsp; ID 2 Text&amp;nbsp;&amp;nbsp;&amp;nbsp; ID 2 Comment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID 3 Text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID 3 Comment&amp;nbsp;&amp;nbsp;&amp;nbsp; ID 4 Text&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;ID 4 Comment&amp;nbsp;&amp;nbsp;&amp;nbsp; ......&lt;BR /&gt;&lt;/B&gt;Text A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Comment A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text B1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Comment B1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text C1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Comment C1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text D1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Comment D1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .......&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My approach is to use tPivotToColumnsDelimited. But there is a limitation of only one aggregation column. Due to this I will need to use it twice and then somehow merge the files into one output.&lt;BR /&gt;This is what I have done so far.&amp;nbsp; I have used tPivotToColumnsDelimited, first using pivot column as “ID” and aggregate column as “Text”. Then using pivot column as “ID” and aggregate column as “Comment”. There is a bunch of “group by columns” as well.&lt;BR /&gt;This has resulted in two similar delimited files (csv).&amp;nbsp;&lt;BR /&gt;Ideally I could use tMap component to merge the two CSV files.&amp;nbsp; But I do not have a predefine schema as the data in the files is not static.&amp;nbsp; So I am unable to define a schema for input source to tMap.&amp;nbsp;&lt;BR /&gt;Can someone please suggest a way forward?&lt;BR /&gt;I’ll be grateful for your help.&lt;BR /&gt;Regards,&lt;BR /&gt;Vishakha</description>
      <pubDate>Fri, 03 Mar 2017 10:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Transposing-data-and-merging-two-files/m-p/2341234#M109210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T10:21:46Z</dc:date>
    </item>
  </channel>
</rss>

