<?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: Separate Values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Separate-Values/m-p/2300999#M73170</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPahAAG"&gt;@AngelTrejo1208&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is possible in both static and dynamic way.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you have definite number of distinct value you can create those many flows from tMap and separate the flows using expression filters.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If number of distinct value is not known, please follow the below steps:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. get the distinct value from the database as "select distinct colname from tabname"&lt;/P&gt; 
&lt;P&gt;2. connect tFlowToIterate to the DB output.&lt;/P&gt; 
&lt;P&gt;3. In tFlowToIterate -&amp;gt; iterate output -&amp;gt; connect the same DB again with full query like "select * from tabname where colname = '"+((String)globalMap.get("yourtFlowToIterateKey"))+"'"&lt;/P&gt; 
&lt;P&gt;4. This Output can be put into a file and each file name can have the suffix of your tFlowToIterateKey as &amp;lt;FileName&amp;gt;_"+((String)globalMap.get("yourtFlowToIterateKey"))+".txt&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This way you can dynamically split into as many files as there are number of distinct value for your column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and Regards,&lt;/P&gt; 
&lt;P&gt;Subhadip&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2019 16:47:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-25T16:47:23Z</dc:date>
    <item>
      <title>Separate Values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Separate-Values/m-p/2300997#M73168</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with a database and one column has three values 'A - 00000', 'F - 00000' and 'NC - 00000', I need separate each value to the others, it´s possible separate with tFilterRow or need other element to do it?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Separate-Values/m-p/2300997#M73168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Separate-Values/m-p/2300998#M73169</link>
      <description>If number of districts value is known and pre-sefine
&lt;BR /&gt;
&lt;BR /&gt;You could you tmap and create 3 output for each diff value.</description>
      <pubDate>Tue, 25 Jun 2019 07:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Separate-Values/m-p/2300998#M73169</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-06-25T07:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Separate-Values/m-p/2300999#M73170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPahAAG"&gt;@AngelTrejo1208&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is possible in both static and dynamic way.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you have definite number of distinct value you can create those many flows from tMap and separate the flows using expression filters.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If number of distinct value is not known, please follow the below steps:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. get the distinct value from the database as "select distinct colname from tabname"&lt;/P&gt; 
&lt;P&gt;2. connect tFlowToIterate to the DB output.&lt;/P&gt; 
&lt;P&gt;3. In tFlowToIterate -&amp;gt; iterate output -&amp;gt; connect the same DB again with full query like "select * from tabname where colname = '"+((String)globalMap.get("yourtFlowToIterateKey"))+"'"&lt;/P&gt; 
&lt;P&gt;4. This Output can be put into a file and each file name can have the suffix of your tFlowToIterateKey as &amp;lt;FileName&amp;gt;_"+((String)globalMap.get("yourtFlowToIterateKey"))+".txt&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This way you can dynamically split into as many files as there are number of distinct value for your column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and Regards,&lt;/P&gt; 
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 16:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Separate-Values/m-p/2300999#M73170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-25T16:47:23Z</dc:date>
    </item>
  </channel>
</rss>

