<?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 the Table into multiple Files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263264#M43479</link>
    <description>&lt;P&gt;Thanks. But the year is 1960-2019. I have to insert nearly 50 output delimited components to split the file. Is there any other option to simplify this?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 08:13:13 GMT</pubDate>
    <dc:creator>McJingles</dc:creator>
    <dc:date>2019-11-20T08:13:13Z</dc:date>
    <item>
      <title>Split the Table into multiple Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263262#M43477</link>
      <description>&lt;P&gt;Hi! In the table, there are 16,000 records in it. In the Year column, it has the values from 1960-2019. I want to split the data into multiple files by the Year basis. Any suggestions? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 07:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263262#M43477</guid>
      <dc:creator>McJingles</dc:creator>
      <dc:date>2019-11-20T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Split the Table into multiple Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263263#M43478</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;You can use &lt;STRONG&gt;tMap&lt;/STRONG&gt; component for this. The input will be your table data and you can have multiple output rows depending on your requirement of the values. For this you can use, expression filter available in tMap to filter out the year ranges according to your requirements. Each "output" row can then be connected to different file.&lt;/P&gt; 
&lt;P&gt;Here is a sample example of what I'm trying to say..&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="tMap_MultiSplit.PNG" style="width: 484px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8C2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140173iACA6CE2AAFB08166/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8C2.png" alt="0683p000009M8C2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this helps.&lt;/P&gt; 
&lt;P&gt;Don't forget to give kudos if this helps and accept it as solution if it works as per your needs.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Bhagwat&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263263#M43478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-20T08:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Split the Table into multiple Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263264#M43479</link>
      <description>&lt;P&gt;Thanks. But the year is 1960-2019. I have to insert nearly 50 output delimited components to split the file. Is there any other option to simplify this?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263264#M43479</guid>
      <dc:creator>McJingles</dc:creator>
      <dc:date>2019-11-20T08:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Split the Table into multiple Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263265#M43480</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQU8AAO"&gt;@McJingles&lt;/A&gt;&amp;nbsp;, Please check the below way.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) read the unique years from table or file and iterate those using tFlowtoIterate&amp;nbsp; as shown in below.&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="Untitled.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7xV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146560iC54D5E0ADB78526A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7xV.png" alt="0683p000009M7xV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263265#M43480</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-11-20T08:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Split the Table into multiple Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263266#M43481</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQU8AAO"&gt;@McJingles&lt;/A&gt;&amp;nbsp;,&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please find out the distinct years available in the table and iterate the years one after the other as the filter in the tDBinput component and just iterate the flow .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It will be like this,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;step1:-&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;tDBinput component -- tfileoutput (Find the distinct years and store in tfileoutput)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;step2:-&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;tfileinput--&amp;gt; Flow to iterate --&amp;gt; tDBinputcomponent(use filter condition and pass the year value from iterate component) --&amp;gt;tMap -- tfileoutput(in this use the year name as filename parameter and pass the same year value from iterate component, so that multiple files are generated)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is very simple process than creating so many outputs in tmap and you end up creating 100 outputs if you have 100 distinct years .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please try the two steps which i mentioned.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Let me know if you need any help.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Maheswar Reddy.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Give Kudos if you like it , and accept as solution if it suits your question.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263266#M43481</guid>
      <dc:creator>MaheswarReddy</dc:creator>
      <dc:date>2019-11-20T08:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Split the Table into multiple Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263267#M43482</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;But, Can you please show me the component section?&lt;/P&gt;
&lt;P&gt;What is in the input delimited 2 component?&lt;/P&gt;
&lt;P&gt;And I don't know how to use the flow to iterate. can you briefly explain this process?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 09:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263267#M43482</guid>
      <dc:creator>McJingles</dc:creator>
      <dc:date>2019-11-20T09:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Split the Table into multiple Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263268#M43483</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQU8AAO"&gt;@McJingles&lt;/A&gt;&amp;nbsp;,check the below link to know more about&amp;nbsp;&lt;SPAN&gt;tFlowToIterate .&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/WqJCkTE5~5DDaSFvtNXZnQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/WqJCkTE5~5DDaSFvtNXZnQ&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 09:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-the-Table-into-multiple-Files/m-p/2263268#M43483</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-11-20T09:25:05Z</dc:date>
    </item>
  </channel>
</rss>

