<?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: Compare dates in Lookup in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211736#M9651</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;: sorry for raising this issue again, but my logic is failing for one of the below scenarios. Please find attached my tmap design.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My completed_date is less than todays date, so it should take up vat rate as 19%,but is returning NULL. Also, when the completed_date = todays date i.e 1st july, it should return 16%, but it is not doing so. can you tell me where the issue is?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 15:45:48 GMT</pubDate>
    <dc:creator>sushantk19</dc:creator>
    <dc:date>2020-07-02T15:45:48Z</dc:date>
    <item>
      <title>Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211727#M9642</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the below scenario. I get a date from my source system in this format : 2020-05-08(yyyy-mm-dd).&lt;/P&gt;&lt;P&gt;I have to compare this date with 2 dates in my lookup table and check it falls within which range i.e&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;valid_from&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; valid_to&lt;/P&gt;&lt;P&gt;1.2000-01-01 00:00:00 and 2020-07-01 00:00:00, then pass 19&lt;BR /&gt;2.2020-07-01 00:00:00 and 2020-12-31 23:59:59, then pass 16&lt;BR /&gt;3.2020-12-31 23:59:59 and 9999-12-31 23:59:59, then pass 19&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the query here is how do i compare my incoming date (from tmap) with the dates in this lookup table something like incomingdate &amp;gt;&amp;nbsp; valid_from and&amp;nbsp;incomingdate &amp;lt; valid_to&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211727#M9642</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2024-11-16T02:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211728#M9643</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;&amp;nbsp;, you need to compare with belowway.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;TalendDate.compareDate(&lt;/SPAN&gt;&lt;SPAN&gt;row1.&lt;/SPAN&gt;&lt;SPAN&gt;date1,row2.date2&lt;/SPAN&gt;&lt;SPAN&gt;)==0&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;0 means both dates are equal&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;gt;0 means&amp;nbsp;row1.date1 greater than&amp;nbsp;row2.date2&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;lt;0 means&amp;nbsp;row1.date1 less than&amp;nbsp;row2.date2&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 13:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211728#M9643</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-06-10T13:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211729#M9644</link>
      <description>&lt;P&gt;where do i write this logic? in lookup, how to write this? or I have to create a var port and write this logic. Can you share a sample screenshot?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 13:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211729#M9644</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-06-10T13:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211730#M9645</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;&amp;nbsp;, you need to write in tmap.chekc the below link ,you will find a screenshot of job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqmBCAS" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Compare-Dates/td-p/111122&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 13:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211730#M9645</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-06-10T13:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211731#M9646</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;: Actually My scenario is different. It has nothing to do with Todays date. It has to check the date range in my Lookup table and pass the VAT value accordingly. Please see the screenshot of my job(not working). Please suggest where and how should i do this comparison?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Maz7"&gt;date_comparsion.png&lt;/A&gt;</description>
      <pubDate>Wed, 10 Jun 2020 13:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211731#M9646</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-06-10T13:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211732#M9647</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;&amp;nbsp;, you do lookup on country_id and brand_id and compare in Var section for dates.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 14:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211732#M9647</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-06-10T14:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211733#M9648</link>
      <description>try tintervalMatch for this
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/XQ89dX5mUG9oJaF5qE0Uew" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/XQ89dX5mUG9oJaF5qE0Uew&lt;/A&gt;</description>
      <pubDate>Wed, 10 Jun 2020 15:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211733#M9648</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2020-06-10T15:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211734#M9649</link>
      <description>&lt;P&gt;ok.yes, it is working fine now&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 16:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211734#M9649</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-06-12T16:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211735#M9650</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;: sorry for raising this issue again, but my logic is failing for one of the below scenarios. Please find attached my tmap design.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My completed_date is less than todays date, so it should take up vat rate as 19%,but is returning NULL. Also, when the completed_date = todays date i.e 1st july, it should return 16%, but it is not doing so. can you tell me where the issue is?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Mb89"&gt;tmap_date_comparison_error.png&lt;/A&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211735#M9650</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-07-02T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211736#M9651</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;: sorry for raising this issue again, but my logic is failing for one of the below scenarios. Please find attached my tmap design.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My completed_date is less than todays date, so it should take up vat rate as 19%,but is returning NULL. Also, when the completed_date = todays date i.e 1st july, it should return 16%, but it is not doing so. can you tell me where the issue is?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211736#M9651</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-07-02T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211737#M9652</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP7CAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;: can you sugggest if i can make modifications&amp;nbsp; in existing code rather than a new logic. Only date comparison part is not working in lookup. I have attached my tmap screenshot for your reference.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MauN"&gt;tmap_date_comparison_error.png&lt;/A&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211737#M9652</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-07-02T15:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Lookup in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211738#M9653</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP7CAAW"&gt;@uganesh&lt;/A&gt;&amp;nbsp;: can you sugggest if i can make modifications&amp;nbsp; in existing code rather than a new logic. Only date comparison part is not working in lookup. I have attached my tmap screenshot for your reference.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-dates-in-Lookup-in-Talend/m-p/2211738#M9653</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-07-02T15:47:05Z</dc:date>
    </item>
  </channel>
</rss>

