<?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: tfilterrow create and/or criteria that includes current date plus 30 days in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198139#M1589</link>
    <description>It's clear now, try this expression and let me know if it works.
&lt;BR /&gt;
&lt;BR /&gt;(input_row.status.equals("active"))||((input_row.status.equals("inactive")&amp;amp;&amp;amp;(TalendDate.compareDate(input_row.closing_dt,TalendDate.addDate(TalendDate.getCurrentDate(), -30, "dd"))&amp;gt;=0)))
&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Dec 2019 09:03:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-11T09:03:29Z</dc:date>
    <item>
      <title>tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198129#M1579</link>
      <description>&lt;P class="p1"&gt;I am trying to create using advanced mode criteria where status equals active or status equals inactive and the closing date is less than or equal to today plus 30 days. this is what I have but it's not working....suggestions?&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;(&lt;/P&gt; 
&lt;P class="p1"&gt;(input_row.status.equals(&lt;SPAN class="s1"&gt;"active"&lt;/SPAN&gt;))&lt;/P&gt; 
&lt;P class="p1"&gt;||&lt;/P&gt; 
&lt;P class="p1"&gt;(((input_row.status.equals(&lt;SPAN class="s1"&gt;"inactive"&lt;/SPAN&gt;)) &amp;amp;&amp;amp; (input_row.closing_dt&amp;lt;=TalendDate.ADD_TO_DATE(TalendDate.getCurrentDate(), &lt;SPAN class="s1"&gt;"DD"&lt;/SPAN&gt;, 30)))&lt;/P&gt; 
&lt;P class="p1"&gt;)&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;Error says 'insert ")" to complete ArgumentList&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 22:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198129#M1579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-04T22:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198130#M1580</link>
      <description>&lt;P&gt;If the data type of input_row.closing_dt is Date type, try this expression:&lt;BR /&gt;(input_row.status.equals("active"))||((input_row.status.equals("inactive")&amp;amp;&amp;amp;(TalendDate.compareDate(input_row.closing_dt,TalendDate.ADD_TO_DATE(TalendDate.getCurrentDate(), "DD", 30))!=1)))&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 02:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198130#M1580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-05T02:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198131#M1581</link>
      <description>&lt;P&gt;Thanks Shong! yes Closed_dt is a date field.&amp;nbsp; Although i'm not getting the error when running any longer and it's able to run the filter as you have it now is not including any records that are 'active'. at the least on the table there are 1885 records where status = 'active', should i nest the &amp;amp;&amp;amp; statements?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 17:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198131#M1581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-05T17:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198132#M1582</link>
      <description>&lt;P&gt;FYI Nesting the &amp;amp;&amp;amp; statements didn't work, thoughts?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 18:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198132#M1582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-05T18:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198133#M1583</link>
      <description>&lt;P&gt;I wanted to include this&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx2G"&gt;Screen Shot 2019-12-05 at 9.33.10 AM.png&lt;/A&gt;</description>
      <pubDate>Thu, 05 Dec 2019 18:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198133#M1583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-05T18:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198134#M1584</link>
      <description>what is the filter expression you are using now?
&lt;BR /&gt;
&lt;BR /&gt;BTW, please insert your image into the post instead of attaching it!
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2019 01:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198134#M1584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-06T01:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198135#M1585</link>
      <description>&lt;P&gt;Yup sorry!&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is what I have now:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;(input_row.STATUS.equals(&lt;SPAN class="s1"&gt;"active"&lt;/SPAN&gt;))&lt;/P&gt; 
&lt;P class="p1"&gt;||&lt;/P&gt; 
&lt;P class="p1"&gt;(&lt;/P&gt; 
&lt;P class="p1"&gt;((input_row.STATUS.equals(&lt;SPAN class="s1"&gt;"inactive"&lt;/SPAN&gt;)&amp;amp;&amp;amp;(TalendDate.compareDate(input_row.CLOSING_DT,TalendDate.ADD_TO_DATE(TalendDate.getCurrentDate(), &lt;SPAN class="s1"&gt;"DD"&lt;/SPAN&gt;, 30))!=1)))&lt;/P&gt; 
&lt;P class="p1"&gt;)&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;This image is the result i get when I run this subjob however in the table there are approx 1880+ 'active' records that should be going past the filter at the least.&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-05 at 9.33.10 AM.png" style="width: 748px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8gR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152399i7204D7D9747B18D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8gR.png" alt="0683p000009M8gR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-06 at 11.55.53 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8gW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135844i00FAF473A031EC91/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8gW.png" alt="0683p000009M8gW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198135#M1585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-06T19:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198136#M1586</link>
      <description>&lt;P&gt;I fixed syntax and it's running now however how it's not weeding out the inactive records that have a closing date greater than 30 days from today. records back with closing dates in 2012, 2013 are passing through the filter. Any suggestions are greatly appreciated!&amp;nbsp;&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="Screen Shot 2019-12-09 at 10.33.31 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8hK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127897i3C65387DB34FA51C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8hK.png" alt="0683p000009M8hK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-09 at 10.33.36 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6qz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141270iAE3838D4E16748A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6qz.png" alt="0683p000009M6qz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 18:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198136#M1586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T18:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198137#M1587</link>
      <description>If you using the expression 
&lt;BR /&gt;(TalendDate.compareDate(input_row.CLOSING_DT,TalendDate.ADD_TO_DATE(TalendDate.getCurrentDate(), "DD", 30))!=1)))
&lt;BR /&gt;It will includes all old date.
&lt;BR /&gt;
&lt;BR /&gt;What is the date range of CLOSING_DT you want to filter?
&lt;BR /&gt;today&amp;lt;=CLOSING_DT&amp;lt;today+30Days？
&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2019 05:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198137#M1587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-10T05:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198138#M1588</link>
      <description>&lt;P&gt;Hi Shong, the second set of criteria should be STATUS = Inactive AND CLOSED_DT should be between TODAY and up to 30 days prior to today (so only loading inactive for records up to the last 30 days from today. )&amp;nbsp; THanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 18:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198138#M1588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-10T18:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198139#M1589</link>
      <description>It's clear now, try this expression and let me know if it works.
&lt;BR /&gt;
&lt;BR /&gt;(input_row.status.equals("active"))||((input_row.status.equals("inactive")&amp;amp;&amp;amp;(TalendDate.compareDate(input_row.closing_dt,TalendDate.addDate(TalendDate.getCurrentDate(), -30, "dd"))&amp;gt;=0)))
&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Dec 2019 09:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198139#M1589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-11T09:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198140#M1590</link>
      <description>&lt;P&gt;It looks like this worked, I don't have any inactive that are within the last 30 days however it's not bringing in any inactive records , Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 19:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198140#M1590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-11T19:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: tfilterrow create and/or criteria that includes current date plus 30 days</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198141#M1591</link>
      <description>Great, thanks for your feedback! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 12 Dec 2019 01:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilterrow-create-and-or-criteria-that-includes-current-date/m-p/2198141#M1591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-12T01:59:12Z</dc:date>
    </item>
  </channel>
</rss>

