<?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 Create rows from columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-rows-from-columns/m-p/2290942#M64173</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get rows from some columns. In my TOS DI is nothing like unpivot.&lt;/P&gt;&lt;P&gt;My data is stored in an excel spreadsheet and the structure looks like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;order_nr&amp;nbsp; | name | ali_1 | ali_2 | ali_3 | ali_4 | ali_4&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1234&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | test&amp;nbsp;&amp;nbsp;&amp;nbsp; | 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 100&amp;nbsp; | 200&lt;/P&gt;&lt;P&gt;5678&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | test-2 | 100&amp;nbsp;&amp;nbsp;&amp;nbsp; | 200&amp;nbsp; | 300 | 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output should be the following&lt;/P&gt;&lt;P&gt;1234-1 | test | 10&lt;/P&gt;&lt;P&gt;1234-2 | test | 100&lt;/P&gt;&lt;P&gt;1234-3 | test | 200&lt;/P&gt;&lt;P&gt;5678-1 | test-2| 100&lt;/P&gt;&lt;P&gt;5678-2 | test-2| 200&lt;/P&gt;&lt;P&gt;5678-3 | test-2| 300&lt;/P&gt;&lt;P&gt;5678-4 | test-2| 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I achive this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2017 15:13:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-11T15:13:54Z</dc:date>
    <item>
      <title>Create rows from columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-rows-from-columns/m-p/2290942#M64173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get rows from some columns. In my TOS DI is nothing like unpivot.&lt;/P&gt;&lt;P&gt;My data is stored in an excel spreadsheet and the structure looks like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;order_nr&amp;nbsp; | name | ali_1 | ali_2 | ali_3 | ali_4 | ali_4&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1234&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | test&amp;nbsp;&amp;nbsp;&amp;nbsp; | 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 100&amp;nbsp; | 200&lt;/P&gt;&lt;P&gt;5678&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | test-2 | 100&amp;nbsp;&amp;nbsp;&amp;nbsp; | 200&amp;nbsp; | 300 | 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output should be the following&lt;/P&gt;&lt;P&gt;1234-1 | test | 10&lt;/P&gt;&lt;P&gt;1234-2 | test | 100&lt;/P&gt;&lt;P&gt;1234-3 | test | 200&lt;/P&gt;&lt;P&gt;5678-1 | test-2| 100&lt;/P&gt;&lt;P&gt;5678-2 | test-2| 200&lt;/P&gt;&lt;P&gt;5678-3 | test-2| 300&lt;/P&gt;&lt;P&gt;5678-4 | test-2| 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I achive this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 15:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-rows-from-columns/m-p/2290942#M64173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T15:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create rows from columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-rows-from-columns/m-p/2290943#M64174</link>
      <description>tsplitsrow would help in this case.</description>
      <pubDate>Wed, 11 Oct 2017 15:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-rows-from-columns/m-p/2290943#M64174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create rows from columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-rows-from-columns/m-p/2290944#M64175</link>
      <description>&lt;P&gt;You can do this with a combination of tSplitRow&amp;nbsp;and tFilterRow as follows:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Results.png" style="width: 694px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrMU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131199iE1EA64B565F53A3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrMU.png" alt="0683p000009LrMU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tSplitRow has an output schema of just the three fields:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSplitRowSchema.png" style="width: 838px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lr1T.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152938i27939C037F036FBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lr1T.png" alt="0683p000009Lr1T.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And is configured to produce a line for each of the value columns:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSplitRow.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrMe.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139651i49B9D2DE2BA141A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrMe.png" alt="0683p000009LrMe.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You then just filter out the ones with empty values using&amp;nbsp; tFilterRow:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFilterRow.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lr2c.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146526iC9A3F69291D96C8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lr2c.png" alt="0683p000009Lr2c.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 16:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-rows-from-columns/m-p/2290944#M64175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T16:18:17Z</dc:date>
    </item>
  </channel>
</rss>

