<?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 between two dates in Expression builder in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203438#M4753</link>
    <description>&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt; 
&lt;BR /&gt;This worked. Thanks a lot. 
&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; below is the one... 
&lt;BR /&gt;TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0 
&lt;BR /&gt; 
&lt;BR /&gt;When i use multiple columns using OR condition, in Expression builder, it does not work. 
&lt;BR /&gt; 
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate1)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate1,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0) || 
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate2)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate2,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0) || 
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate3)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate3,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0) 
&lt;BR /&gt; 
&lt;BR /&gt;What i want to achieve is, if date1 is not between currentDay+7, then i have to check the same for date2 with same conditon and same for date3. what am i doing wrong here?? can u please help??</description>
    <pubDate>Mon, 03 Dec 2018 05:32:39 GMT</pubDate>
    <dc:creator>joe86</dc:creator>
    <dc:date>2018-12-03T05:32:39Z</dc:date>
    <item>
      <title>Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203436#M4751</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I need to fetch only records between two dates. Also i need this to be written in the tMap expression builder.&lt;/P&gt;
&lt;P&gt;I have an incoming DATE which has past and future dates. But i need to fetch only the dates that are between CurrentDay and CurrentDay+7 and rest all the dates should be ignored in my output. This has to be done in tMap expression builder.&lt;/P&gt;
&lt;P&gt;Can someone please help on this?&lt;/P&gt;
&lt;P&gt;Is it possible to bring in BETWEEN like function or DateDiff in Talend??&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 05:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203436#M4751</guid>
      <dc:creator>joe86</dc:creator>
      <dc:date>2018-12-03T05:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203437#M4752</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOmNAAW"&gt;@joe86&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;I have done a similar exercise in one of my earlier posts. Could you please refer my comment in the below post (6th comment), which is having code and screenshots? I hope it will satisfy your query.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCkeMCAS#M86957" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Scenario-based-Question-in-Talend/m-p/140691#M86957&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 05:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203437#M4752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-03T05:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203438#M4753</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt; 
&lt;BR /&gt;This worked. Thanks a lot. 
&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; below is the one... 
&lt;BR /&gt;TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0 
&lt;BR /&gt; 
&lt;BR /&gt;When i use multiple columns using OR condition, in Expression builder, it does not work. 
&lt;BR /&gt; 
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate1)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate1,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0) || 
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate2)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate2,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0) || 
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row12.myDate3)&amp;lt;=0 &amp;amp;&amp;amp; TalendDate.compareDate(row12.myDate3,TalendDate.addDate(TalendDate.getCurrentDate(),7,"dd"))&amp;lt;=0) 
&lt;BR /&gt; 
&lt;BR /&gt;What i want to achieve is, if date1 is not between currentDay+7, then i have to check the same for date2 with same conditon and same for date3. what am i doing wrong here?? can u please help??</description>
      <pubDate>Mon, 03 Dec 2018 05:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203438#M4753</guid>
      <dc:creator>joe86</dc:creator>
      <dc:date>2018-12-03T05:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203439#M4754</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOmNAAW"&gt;@joe86&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Are you getting&amp;nbsp;any error? I believe you will have to verify the data of each expression separately before merging them.&amp;nbsp; An easy way is to print the output of each expression to a tlogrow and verify. I am sure you can crack it with some quick analysis &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 05:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203439#M4754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-03T05:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203440#M4755</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt; 
&lt;BR /&gt;I did not get any error as such, but this filter is not making any effect in my output. but when i use individually (one filter at a time), i am getting the desired output.</description>
      <pubDate>Mon, 03 Dec 2018 05:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203440#M4755</guid>
      <dc:creator>joe86</dc:creator>
      <dc:date>2018-12-03T05:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203441#M4756</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please print the expression results as tmap columns and share the details here? Also add one additional column which will give the results after merging. Lets quickly check whether its processing boolean correctly.&amp;nbsp;Please note that they are boolean fields and you are using an OR condition.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 06:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203441#M4756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-03T06:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203442#M4757</link>
      <description>hey, 
&lt;BR /&gt;i am sorry, the filter is working for me. I am getting the desired output. previously, i was not getting as required. anyways, let me check for more data and see.. 
&lt;BR /&gt;thanks again 
&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;</description>
      <pubDate>Mon, 03 Dec 2018 06:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203442#M4757</guid>
      <dc:creator>joe86</dc:creator>
      <dc:date>2018-12-03T06:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data between two dates in Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203443#M4758</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOmNAAW"&gt;@joe86&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Yes. I would suggest to verify the data for all different conditions. Anyway, now you know how to do comparison and its just a matter of doing condition checking based on multiple boolean values. You can crack it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 06:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-between-two-dates-in-Expression-builder/m-p/2203443#M4758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-03T06:33:41Z</dc:date>
    </item>
  </channel>
</rss>

