<?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 How can i filter and export based on the date? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-filter-and-export-based-on-the-date/m-p/2276826#M52792</link>
    <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am new to talend.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can i filter and export a table of data based on the date?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My table of data could look like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date| ID | Value&lt;/P&gt; 
&lt;P&gt;03.13.2020|001|325&lt;/P&gt; 
&lt;P&gt;03.13.2020|043|421&lt;/P&gt; 
&lt;P&gt;03.13.2020|143|463&lt;/P&gt; 
&lt;P&gt;01.22.2020|643|452&lt;/P&gt; 
&lt;P&gt;01.22.2020|543|301&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to export my set of data into multiple CSV-files based on the date.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So the output files should look like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;CSV_1:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;03.13.2020|001|325&lt;/P&gt; 
&lt;P&gt;03.13.2020|043|421&lt;/P&gt; 
&lt;P&gt;03.13.2020|143|463&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;CSV_2:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;01.22.2020|643|452&lt;/P&gt; 
&lt;P&gt;01.22.2020|543|301&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks &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;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:49:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T02:49:48Z</dc:date>
    <item>
      <title>How can i filter and export based on the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-filter-and-export-based-on-the-date/m-p/2276826#M52792</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am new to talend.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can i filter and export a table of data based on the date?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My table of data could look like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date| ID | Value&lt;/P&gt; 
&lt;P&gt;03.13.2020|001|325&lt;/P&gt; 
&lt;P&gt;03.13.2020|043|421&lt;/P&gt; 
&lt;P&gt;03.13.2020|143|463&lt;/P&gt; 
&lt;P&gt;01.22.2020|643|452&lt;/P&gt; 
&lt;P&gt;01.22.2020|543|301&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to export my set of data into multiple CSV-files based on the date.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So the output files should look like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;CSV_1:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;03.13.2020|001|325&lt;/P&gt; 
&lt;P&gt;03.13.2020|043|421&lt;/P&gt; 
&lt;P&gt;03.13.2020|143|463&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;CSV_2:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;01.22.2020|643|452&lt;/P&gt; 
&lt;P&gt;01.22.2020|543|301&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks &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;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-i-filter-and-export-based-on-the-date/m-p/2276826#M52792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can i filter and export based on the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-i-filter-and-export-based-on-the-date/m-p/2276827#M52793</link>
      <description>&lt;P&gt;You need to use a tFlowToIterate to break the data flow.&lt;/P&gt;&lt;P&gt;This will create 1 global variable per field.&lt;/P&gt;&lt;P&gt;Then you have to restart the data flow using a tFixedFlowInput with the same schema and fields populated from&amp;nbsp;global variables.&lt;/P&gt;&lt;P&gt;This component may be connected to a tFileOutputDelimited with the file name based on the content of the "&lt;SPAN&gt;Date" global variable value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The design should like this: tDBInput--&amp;gt;tFlowToIterate--(iterate)--&amp;gt;tFixedFlowInput--&amp;gt;tFileOutputDelimited.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The file name value should look like this: "what you want for the path" + ((String)globalMap.get("Date")) + ".csv"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 14:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-i-filter-and-export-based-on-the-date/m-p/2276827#M52793</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-03-31T14:15:14Z</dc:date>
    </item>
  </channel>
</rss>

