<?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: How can I compare date (lines) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608017#M224513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(Date1-Date2,'d hhmm:ss') -----&amp;gt;&amp;gt;&amp;gt; For calculating difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Year(Date1) - Year(rDate2)---&amp;gt;&amp;gt;&amp;gt;&amp;gt;For Year Difference Calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 05:27:37 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2014-04-07T05:27:37Z</dc:date>
    <item>
      <title>How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608012#M224508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to identify the delay between each line of the START_DATE. I use Peek function but I don't know how can obtain the good result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;* &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;ID_STORE, END_DATE, BRAND_CODE, STORE, START_DATE, CLOSING_DATE&lt;BR /&gt;6888, 04/01/2014 13:01:12, H221, 545, 26/12/2013 00:00:00, 26/12/2013 00:00:00&lt;BR /&gt;6888, 04/01/2014 13:01:12, H222, 545, 26/12/2013 14:24:00, 27/12/2013 06:21:00&lt;BR /&gt;6888, 04/01/2014 13:01:12, H223, 545, 27/12/2013 12:53:00, 27/12/2013 12:54:12&lt;BR /&gt;6888, 04/01/2014 13:01:12, H224, 545, 04/01/2014 00:00:00, -&lt;BR /&gt;6888, 04/01/2014 13:01:12, H225, 545, 24/01/2014 15:19:56, 24/01/2014 15:19:56]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Delay = Delay in lines (START_DATE) : lines 2 - lines 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Line 1 : 26/12/2013 00:00:00 - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Line 2 :&lt;/SPAN&gt; 26/12/2013 14:24:00-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Line 3 :&lt;/SPAN&gt; 27/12/2013 12:53:00-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Line 4 :&lt;/SPAN&gt; 04/01/2014 00:00:00-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Line 5 :&lt;/SPAN&gt; 24/01/2014 15:19:56-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 04:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608012#M224508</guid>
      <dc:creator>suzel404</dc:creator>
      <dc:date>2014-04-07T04:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608013#M224509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/64992"&gt;http://community.qlik.com/thread/64992&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 04:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608013#M224509</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-04-07T04:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608014#M224510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;You can use peek, previous ,above function.&lt;/P&gt;&lt;P&gt;peek and previous function youo can use in backend but above function in frontend in any table.&lt;/P&gt;&lt;P&gt;ex&lt;/P&gt;&lt;P&gt;peek([field name],0)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 04:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608014#M224510</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2014-04-07T04:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608015#M224511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the atatchment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608015#M224511</guid>
      <dc:creator />
      <dc:date>2014-04-07T05:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608016#M224512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608016#M224512</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-04-07T05:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608017#M224513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(Date1-Date2,'d hhmm:ss') -----&amp;gt;&amp;gt;&amp;gt; For calculating difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Year(Date1) - Year(rDate2)---&amp;gt;&amp;gt;&amp;gt;&amp;gt;For Year Difference Calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608017#M224513</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-04-07T05:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608018#M224514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Joshu&lt;/P&gt;&lt;P&gt;Use This Expressin In Back EnD...It Will Working Fine to Compare The Date on Same Column...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(Date(START_DATE,'DD/MM/YYYY hh:mm:ss')-Date(Peek(START_DATE),'DD/MM/YYYY hh:mm:ss'),'DD hh:mm:ss') AS INRERVAL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 07:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608018#M224514</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-07T07:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compare date (lines)</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608019#M224515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my delay. Really!!&lt;/P&gt;&lt;P&gt;Thanks you at all,&amp;nbsp; the solution proposed works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 04:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-compare-date-lines/m-p/608019#M224515</guid>
      <dc:creator>suzel404</dc:creator>
      <dc:date>2014-04-09T04:35:30Z</dc:date>
    </item>
  </channel>
</rss>

