<?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: Data extraction &amp;quot;this month&amp;quot; using tfilter in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288382#M61879</link>
    <description>change the code to 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;TalendDate.compareDate(input_row.Date,(java.util.Date)globalMap.get("currentMonth"))&amp;gt;=0&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;It will include the first day of each month. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Tue, 15 Sep 2015 13:32:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-15T13:32:48Z</dc:date>
    <item>
      <title>Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288373#M61870</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I want to this month data from csv to csv using tfilter.&lt;BR /&gt;now Date format MM-DD-YYYY in csv, and talend batch run next day.&lt;BR /&gt;How can I compare (current day -1)month and MM-DD-YYYY data?&lt;BR /&gt;&lt;BR /&gt;sorry for short message question.&lt;BR /&gt;thanks.&lt;BR /&gt;Miki&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288373#M61870</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T11:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288374#M61871</link>
      <description>Hi 
&lt;BR /&gt;Sorry, I don't understand your question well, can you please try to explain it some example data again? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 07 Sep 2015 09:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288374#M61871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-07T09:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288375#M61872</link>
      <description>Hi,
&lt;BR /&gt;I want to retrieve only the current month of data from csv using tfilterrow.
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Source data image is ; &amp;nbsp;
&lt;BR /&gt;------------------------------
&lt;BR /&gt;Date , &amp;nbsp;Sales&amp;nbsp;
&lt;BR /&gt;07-01-2014, 10000,
&lt;BR /&gt;07-02-2014, 20000,
&lt;BR /&gt;07-03-2014, 10000,
&lt;BR /&gt;&amp;nbsp;:
&lt;BR /&gt;&amp;nbsp;:
&lt;BR /&gt;09-09-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Output image is ;
&lt;BR /&gt;------------------------------
&lt;BR /&gt;Date | &amp;nbsp;Sales&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;09-01-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;09-02-2015, 20000,
&lt;BR /&gt;
&lt;BR /&gt;09-03-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;09-04-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;09-05-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;09-06-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;09-07-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;09-08-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;09-09-2015, 30000,
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;(only current month)&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;Thanks.
&lt;BR /&gt;
&lt;BR /&gt;Miki</description>
      <pubDate>Wed, 09 Sep 2015 07:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288375#M61872</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-09T07:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288376#M61873</link>
      <description>Hi 
&lt;BR /&gt;You can populate the current month whenever you execute the job on a tJava with following code: 
&lt;BR /&gt; 
&lt;PRE&gt; &lt;BR /&gt;			  java.util.Date mydate=TalendDate.getCurrentDate();&lt;BR /&gt;			  int year=TalendDate.getPartOfDate("YEAR",mydate);&lt;BR /&gt;			  int month=TalendDate.getPartOfDate("MONTH",mydate)+1;&lt;BR /&gt;			  String months=String.valueOf(month);&lt;BR /&gt;			  if(months.length()==1){&lt;BR /&gt;			 months="0"+months;&lt;BR /&gt;			 }&lt;BR /&gt;			  &lt;BR /&gt;			  java.util.Date currentMonth=TalendDate.parseDate("yyyy-MM-dd", year+"-"+months+"-"+"01");&lt;BR /&gt;			globalMap.put("currentMonth",currentMonth);&lt;/PRE&gt; 
&lt;BR /&gt;Then, you can compare the current date column with the current month date on tFilterRow component to filter the rows, eg: 
&lt;BR /&gt;tJava 
&lt;BR /&gt;&amp;nbsp;| 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt;&amp;nbsp;| 
&lt;BR /&gt;tFileInputDelimited--main--tFilterRow--main--tLogRow 
&lt;BR /&gt;on tFilterRow, check the 'Use advanced model' box, and write the following code: 
&lt;BR /&gt; 
&lt;PRE&gt;TalendDate.compareDate(input_row.dateColumn, (java.util.Date)globalMap.get("currentMonth")&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 10 Sep 2015 06:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288376#M61873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-10T06:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288377#M61874</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you for support, and I tried to test, but some error was occured. 
&lt;BR /&gt; 
&lt;BR /&gt;error messsage said that input type is unmatch. 
&lt;BR /&gt; 
&lt;BR /&gt;How can i resolve this problem? 
&lt;BR /&gt; 
&lt;BR /&gt;----------------------------------------- 
&lt;BR /&gt; 
&lt;BR /&gt;[statistics] connecting to socket on port 3810 
&lt;BR /&gt;[statistics] connected 
&lt;BR /&gt;Exception in thread "main" java.lang.Error:&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp;? Operator_tFilterRow_1 ????? matches(boolean, String) ??? (int, String) ???????? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff3333"&gt;&amp;nbsp; &amp;nbsp; ? type Operator_tFilterRow_1 method matches(boolean, String) &amp;nbsp;can't use argument(int,String).&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp;at cpc.test_month_compare_0_1.test_month_compare.tJava_1Process(test_month_compare.java:412) 
&lt;BR /&gt;&amp;nbsp;at cpc.test_month_compare_0_1.test_month_compare.runJobInTOS(test_month_compare.java:4362) 
&lt;BR /&gt;&amp;nbsp;at cpc.test_month_compare_0_1.test_month_compare.main(test_month_compare.java:4219) 
&lt;BR /&gt;[statistics] disconnected 
&lt;BR /&gt;??? test_month_compare ? 10:16 11/09/2015 ???????? [?????=1] 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;----------------------------------------- 
&lt;BR /&gt; 
&lt;BR /&gt;I tried to upload image files, but can't login correctly this community,&amp;nbsp; 
&lt;BR /&gt;URL redirection seems to be failure &amp;nbsp;the login information. 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 11 Sep 2015 02:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288377#M61874</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-11T02:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288378#M61875</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;It is a compilation error, there must be a wrong configuration on tFilterRow component. You can send me the job design via email right now.
&lt;BR /&gt;If you have login issue, please report a new topic with details for it, we will forward it to our IT team for help.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 11 Sep 2015 05:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288378#M61875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-11T05:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288379#M61876</link>
      <description>Hi,&lt;BR /&gt;I sent a e-mail to you including export Jobs.&lt;BR /&gt;Thank you for your support.&lt;BR /&gt;&lt;BR /&gt;Miki</description>
      <pubDate>Mon, 14 Sep 2015 04:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288379#M61876</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-14T04:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288380#M61877</link>
      <description>Hi Miki&amp;nbsp; 
&lt;BR /&gt;It is a wrong code on tFilterRow, change it to the code as below should work. 
&lt;BR /&gt;TalendDate.compareDate(input_row.Date,(java.util.Date)globalMap.get("currentMonth"))==1 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 14 Sep 2015 09:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288380#M61877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T09:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288381#M61878</link>
      <description>Hi,
&lt;BR /&gt;I could error handling fine,but this output file has incorrect, lack of data.
&lt;BR /&gt;
&lt;BR /&gt;this job can get data from 2015/09/0
&lt;FONT color="#ff3333"&gt;2&lt;/FONT&gt;- today.
&lt;BR /&gt;How can i get from 2015/09/0
&lt;FONT color="#3333ff"&gt;1&lt;/FONT&gt; - today?
&lt;BR /&gt;&amp;nbsp;
&lt;BR /&gt;Thanks.
&lt;BR /&gt;
&lt;BR /&gt;Miki</description>
      <pubDate>Tue, 15 Sep 2015 02:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288381#M61878</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-15T02:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288382#M61879</link>
      <description>change the code to 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;TalendDate.compareDate(input_row.Date,(java.util.Date)globalMap.get("currentMonth"))&amp;gt;=0&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;It will include the first day of each month. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 15 Sep 2015 13:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288382#M61879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288383#M61880</link>
      <description>Hi, 
&lt;BR /&gt;I tried it, but it was not in the correct output. 
&lt;BR /&gt;now output range is 2015/ 
&lt;FONT color="#ff3333"&gt;07&lt;/FONT&gt;/01- Today. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I am confused out the expected value and different output. 
&lt;BR /&gt;I tried to change the Talend version, but the results were the same. 
&lt;BR /&gt;Is there any other way? 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks. 
&lt;BR /&gt; 
&lt;BR /&gt;Miki</description>
      <pubDate>Thu, 17 Sep 2015 05:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288383#M61880</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-17T05:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data extraction "this month" using tfilter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288384#M61881</link>
      <description>Hi Miki&amp;nbsp;
&lt;BR /&gt;I don't understand the output result, it seems the filter condition does not take effect, I tested the code and it works fine on my side! Can you upload some screenshots of your job? I think there must be something wrong in your job.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 17 Sep 2015 06:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-extraction-quot-this-month-quot-using-tfilter/m-p/2288384#M61881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-17T06:23:30Z</dc:date>
    </item>
  </channel>
</rss>

