<?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: Split Column Into Multiple Rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293578#M66530</link>
    <description>Hi, 
&lt;BR /&gt;The component you're looking for to perform the Split from Column into Multiple rows is named : tNormalize. 
&lt;BR /&gt;Please see an example into the attached screenshot. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/6/tNormalize.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDfS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148267iB012010F38747C3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDfS.png" alt="0683p000009MDfS.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Best Regards</description>
    <pubDate>Mon, 18 May 2015 21:06:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-18T21:06:09Z</dc:date>
    <item>
      <title>Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293574#M66526</link>
      <description>Hello,
&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Here's the scenario.&amp;nbsp; I have a string column which I need to parse(split) into potentially 0 -n parts and make each part a separate output row.&amp;nbsp; So, for one input row, I may split my string column into 3 peices.&amp;nbsp; The next row might not have what I'm looking in the string column, thus no output row.&amp;nbsp; The parsing/splitting is not the problem I'm having trouble with.&amp;nbsp; I can use the RegEx components or use Java string methods.&amp;nbsp; It's the dynamic number of parts and forcing a separate output row for each.
&lt;BR /&gt;Thanks for any help&amp;nbsp;</description>
      <pubDate>Thu, 14 May 2015 20:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293574#M66526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-14T20:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293575#M66527</link>
      <description>It sounds like you need to use the tNormalize component. If you place a regular separator in your string (for example a pipe "|" or semicolon ";") then you can use the tNormalize to create a new row for every value separated by that separator.&lt;BR /&gt;So......&lt;BR /&gt;"1,2,3,4,56,7,8,9" with a separator of "," becomes....&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;56&lt;BR /&gt;7&lt;BR /&gt;8&lt;BR /&gt;9&lt;BR /&gt;Is that what you are looking for?</description>
      <pubDate>Thu, 14 May 2015 22:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293575#M66527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-14T22:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293576#M66528</link>
      <description>My strings to normalize aren't delimited/formatted as nicely. In the examples, below, I would want just the DataIDs returned.&lt;BR /&gt;  ]&lt;BR /&gt;should produce&lt;BR /&gt;1356381&lt;BR /&gt;1356382&lt;BR /&gt;1356383&lt;BR /&gt;or I could get&lt;BR /&gt;&lt;BR /&gt;(null list)&lt;BR /&gt;but with some extra processing and experimentation, I might be able to make tNormalize work.&lt;BR /&gt;Thanks for the suggestion!</description>
      <pubDate>Mon, 18 May 2015 16:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293576#M66528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T16:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293577#M66529</link>
      <description>If the String is in the format you have given below and it is consistent, you can use some code like below to put just the IDs into a String with a useful separator.&lt;BR /&gt;I am assuming the following is the format....&lt;BR /&gt;  ]&lt;BR /&gt;Put the following code into a tJavaRow and it will output a String like below....&lt;BR /&gt;1356381,1356382,1356383,&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;String value = input_row.data;&lt;BR /&gt;String[] values = value.split("\\[");&lt;BR /&gt;String returnVal = "";&lt;BR /&gt;for(int i = 0; i&amp;lt;values.length;i++){&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if(values&lt;I&gt;.trim().length()&amp;gt;7){&lt;BR /&gt;&amp;nbsp;&amp;nbsp; values&lt;I&gt; = values&lt;I&gt;.substring(7, values&lt;I&gt;.indexOf(" "));&lt;BR /&gt;&amp;nbsp;&amp;nbsp; returnVal = returnVal + values&lt;I&gt; + ",";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;output_row.data = returnVal;&lt;BR /&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 May 2015 17:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293577#M66529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293578#M66530</link>
      <description>Hi, 
&lt;BR /&gt;The component you're looking for to perform the Split from Column into Multiple rows is named : tNormalize. 
&lt;BR /&gt;Please see an example into the attached screenshot. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/6/tNormalize.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDfS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148267iB012010F38747C3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDfS.png" alt="0683p000009MDfS.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Best Regards</description>
      <pubDate>Mon, 18 May 2015 21:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293578#M66530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T21:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293579#M66531</link>
      <description>Thanks rhall !&amp;nbsp; That's exactly the type of extra processing I was envisioning.</description>
      <pubDate>Mon, 18 May 2015 21:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293579#M66531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T21:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293580#M66532</link>
      <description>I want to store the output of tnormalise component. So, rather than logging it can i store it as a context variable?</description>
      <pubDate>Tue, 11 Sep 2018 05:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293580#M66532</guid>
      <dc:creator>KarthikGs</dc:creator>
      <dc:date>2018-09-11T05:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293581#M66533</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLyyAAG"&gt;@KarthikGs&lt;/A&gt;,you can store it variables using tSetvariables, or you can load it to table also.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 08:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293581#M66533</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-09-11T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Split Column Into Multiple Rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293582#M66534</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a scenario , which contains comma separated values in 2 cells , I need to normalize both Fields .Like ,&amp;nbsp;&lt;/P&gt; 
&lt;TABLE&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;ID&lt;/TD&gt; 
   &lt;TD&gt;Name&lt;/TD&gt; 
   &lt;TD&gt;Product&lt;/TD&gt; 
   &lt;TD&gt;Qty&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;1&lt;/TD&gt; 
   &lt;TD&gt;John&lt;/TD&gt; 
   &lt;TD&gt;p1,p2,p3&lt;/TD&gt; 
   &lt;TD&gt;q1,q2,q3&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;2&lt;/TD&gt; 
   &lt;TD&gt;Shane&lt;/TD&gt; 
   &lt;TD&gt;p11,p22,p33&lt;/TD&gt; 
   &lt;TD&gt;q11,q22,q33&lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I need the output as :&lt;/P&gt; 
&lt;TABLE&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;1&lt;/TD&gt; 
   &lt;TD&gt;deep&lt;/TD&gt; 
   &lt;TD&gt;p1&lt;/TD&gt; 
   &lt;TD&gt;q1&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;1&lt;/TD&gt; 
   &lt;TD&gt;deep&lt;/TD&gt; 
   &lt;TD&gt;p2&lt;/TD&gt; 
   &lt;TD&gt;q2&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;1&lt;/TD&gt; 
   &lt;TD&gt;deep&lt;/TD&gt; 
   &lt;TD&gt;p3&lt;/TD&gt; 
   &lt;TD&gt;q3&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;2&lt;/TD&gt; 
   &lt;TD&gt;Subha&lt;/TD&gt; 
   &lt;TD&gt;p11&lt;/TD&gt; 
   &lt;TD&gt;q11&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;2&lt;/TD&gt; 
   &lt;TD&gt;Subha&lt;/TD&gt; 
   &lt;TD&gt;p22&lt;/TD&gt; 
   &lt;TD&gt;q12&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;2&lt;/TD&gt; 
   &lt;TD&gt;Subha&lt;/TD&gt; 
   &lt;TD&gt;p33&lt;/TD&gt; 
   &lt;TD&gt;q13&lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;# I tried with tNormalize ( 2times for Product , Qty Fields) but rows are getting repeated with that.&lt;/P&gt; 
&lt;P&gt;Please give me a solution for that.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Subhadeep&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 12:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-Column-Into-Multiple-Rows/m-p/2293582#M66534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-07T12:25:42Z</dc:date>
    </item>
  </channel>
</rss>

