<?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: Normalize 2 (or more) columns at the same time in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Normalize-2-or-more-columns-at-the-same-time/m-p/2317007#M87506</link>
    <description>There is no a built in function can be used to do the normalization now. For your example, you can achieve it simply with tNormalize component. If you want to normalize 2 or more column at the same time, I think you need to split the columns into multiple flows, eg:
&lt;BR /&gt;c1;c2;c3;c4==&amp;gt;flow1: c1;c2
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;flow2: c3;c4
&lt;BR /&gt;Then, do the normalization on each flow, do an inner job to merge all the columns from the two flows.</description>
    <pubDate>Mon, 07 Dec 2015 00:46:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-07T00:46:33Z</dc:date>
    <item>
      <title>Normalize 2 (or more) columns at the same time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-2-or-more-columns-at-the-same-time/m-p/2317006#M87505</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I knew that we can do the normalization for 1 column to multiple rows by using tNormalize. And we also can do do the normalization for 2 column by using tNormalize + apply java code. tNormalize 2 columns&lt;BR /&gt;My question is: Is there any way that allow me to do normalization for 2 columns (or more) at the same time (same steps). Meaning I just need to write java code to define the function and can apply it for all the columns that I want to normalize? Or Is there any provided function that can help me do that.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;My Input:&lt;BR /&gt;&lt;/STRONG&gt;row1;blue,green;1,2&lt;BR /&gt;row2;black,white,red;3,4,5&lt;BR /&gt;&lt;STRONG&gt;My expected results:&lt;/STRONG&gt;&lt;BR /&gt;row1;blue&lt;BR /&gt;row1;green&lt;BR /&gt;row1;1&lt;BR /&gt;row1;2&lt;BR /&gt;row2;black&lt;BR /&gt;row2;white&lt;BR /&gt;row2;red&lt;BR /&gt;row2;3&lt;BR /&gt;row2;4&lt;BR /&gt;row2;5&lt;BR /&gt;Thank you and Best Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 07:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-2-or-more-columns-at-the-same-time/m-p/2317006#M87505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-02T07:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize 2 (or more) columns at the same time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-2-or-more-columns-at-the-same-time/m-p/2317007#M87506</link>
      <description>There is no a built in function can be used to do the normalization now. For your example, you can achieve it simply with tNormalize component. If you want to normalize 2 or more column at the same time, I think you need to split the columns into multiple flows, eg:
&lt;BR /&gt;c1;c2;c3;c4==&amp;gt;flow1: c1;c2
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;flow2: c3;c4
&lt;BR /&gt;Then, do the normalization on each flow, do an inner job to merge all the columns from the two flows.</description>
      <pubDate>Mon, 07 Dec 2015 00:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-2-or-more-columns-at-the-same-time/m-p/2317007#M87506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-07T00:46:33Z</dc:date>
    </item>
  </channel>
</rss>

