<?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 Pivot and aggregate rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pivot-and-aggregate-rows/m-p/2323585#M93402</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've 3 tMysqlInput components in a job which return these datas :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;n°1 :&lt;/P&gt;&lt;P&gt;CustomerID|Pack_1&lt;/P&gt;&lt;P&gt;1|Yes&lt;/P&gt;&lt;P&gt;2|Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;n°2 :&lt;/P&gt;&lt;P&gt;CustomerID|Pack_2&lt;/P&gt;&lt;P&gt;1|Yes&lt;/P&gt;&lt;P&gt;3|Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;n°3 :&lt;/P&gt;&lt;P&gt;CustomerID|Pack_3&lt;/P&gt;&lt;P&gt;1|Yes&lt;/P&gt;&lt;P&gt;4|Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i'm trying to get this kind of result :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CustomerID|Pack_1|Pack_2|Pack_3&lt;/P&gt;&lt;P&gt;1|Yes|Yes|Yes&lt;/P&gt;&lt;P&gt;2|Yes||&lt;/P&gt;&lt;P&gt;3||Yes|&lt;/P&gt;&lt;P&gt;4|||Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried whith tMap component whitout success,&amp;nbsp; any idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JCP&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2018 17:34:50 GMT</pubDate>
    <dc:creator>jcpreaux</dc:creator>
    <dc:date>2018-01-25T17:34:50Z</dc:date>
    <item>
      <title>Pivot and aggregate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pivot-and-aggregate-rows/m-p/2323585#M93402</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've 3 tMysqlInput components in a job which return these datas :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;n°1 :&lt;/P&gt;&lt;P&gt;CustomerID|Pack_1&lt;/P&gt;&lt;P&gt;1|Yes&lt;/P&gt;&lt;P&gt;2|Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;n°2 :&lt;/P&gt;&lt;P&gt;CustomerID|Pack_2&lt;/P&gt;&lt;P&gt;1|Yes&lt;/P&gt;&lt;P&gt;3|Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;n°3 :&lt;/P&gt;&lt;P&gt;CustomerID|Pack_3&lt;/P&gt;&lt;P&gt;1|Yes&lt;/P&gt;&lt;P&gt;4|Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i'm trying to get this kind of result :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CustomerID|Pack_1|Pack_2|Pack_3&lt;/P&gt;&lt;P&gt;1|Yes|Yes|Yes&lt;/P&gt;&lt;P&gt;2|Yes||&lt;/P&gt;&lt;P&gt;3||Yes|&lt;/P&gt;&lt;P&gt;4|||Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried whith tMap component whitout success,&amp;nbsp; any idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JCP&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 17:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pivot-and-aggregate-rows/m-p/2323585#M93402</guid>
      <dc:creator>jcpreaux</dc:creator>
      <dc:date>2018-01-25T17:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot and aggregate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pivot-and-aggregate-rows/m-p/2323586#M93403</link>
      <description>&lt;P&gt;Hi jcpreaux&lt;/P&gt; 
&lt;P&gt;First, use a tunite to merge the three input data, and then use a tDenormalize to denormalize the second column with a delimiter, finally, extract data&amp;nbsp;from the second coumn to multiple fields with tExtractDelimitedFields, the job looks like:&lt;/P&gt; 
&lt;P&gt;tMysqlInput1----tUnite--tDenormalize---&amp;gt;&lt;SPAN&gt;tExtractDelimitedFields--&amp;gt;&lt;/SPAN&gt;tLogRow&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tMysqlInput2----&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tMysqlInput3----&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Let me know if it works!&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Shong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 10:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pivot-and-aggregate-rows/m-p/2323586#M93403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-26T10:26:05Z</dc:date>
    </item>
  </channel>
</rss>

