<?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: Date Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106468#M366377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;today() - Endate &amp;lt;=7 , 'near to complete'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;today() - Startdate &amp;lt;=7 , 'near to Start '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still not sure whether I understood you correctly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 06:04:21 GMT</pubDate>
    <dc:creator>qliksus</dc:creator>
    <dc:date>2016-08-02T06:04:21Z</dc:date>
    <item>
      <title>Date Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106466#M366375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;We&amp;nbsp; have different server types ,each server had allocated different platforms , We have startdate and enddate Date columns ,as per my requirement I have to build logic , If Server have one week&amp;nbsp; time&amp;nbsp; is going to reach enddate date that should be show in list box 'near to complete' ,&lt;SPAN style="font-size: 13.3333px;"&gt;If Server have one week&amp;nbsp; time&amp;nbsp; is going to be Start that should be show in list box 'Near to Start'&lt;/SPAN&gt;&amp;nbsp; ,to build these two logic using only Start and end Date Columns ,Any Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sateesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 04:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106466#M366375</guid>
      <dc:creator>sat_tok52</dc:creator>
      <dc:date>2016-08-02T04:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106467#M366376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will you&amp;nbsp; be able to share the sample data ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 06:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106467#M366376</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-08-02T06:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106468#M366377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;today() - Endate &amp;lt;=7 , 'near to complete'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;today() - Startdate &amp;lt;=7 , 'near to Start '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still not sure whether I understood you correctly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 06:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106468#M366377</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2016-08-02T06:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106469#M366378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check may be like this using the sample Data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14701181725552201 jive_text_macro" jivemacro_uid="_14701181725552201"&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;ceil(Round(-(Num([Start Date])-Num([End Date])),0.5))&amp;amp;' Days' as Difference,&lt;/P&gt;
&lt;P&gt;If(Round(-(Num([Start Date])-Num([End Date])),0.5)&amp;lt;=7,'Near to Complete',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If(Round(-(Num([Start Date])-Num([End Date])),0.5)=8,'Near to Start')) as Status&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start Date, End Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08/06/2015 3:47:32 AM, 10/06/2015 5:24:00 PM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18/12/2015 11:34:10 PM, 24/12/2015 7:00:00 PM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16/12/2015 11:34:10 PM, 24/12/2015 7:00:00 PM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17/12/2015 11:34:10 PM, 24/12/2015 7:00:00 PM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/12/2015 5:42:39 AM, 01/01/2016 12:42:00 AM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2016 10:44:39 AM, 01/01/2016 12:00:00 PM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/01/2016 12:49:19 AM, 08/01/2016 4:00:00 PM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/01/2016 4:48:16 PM, 04/01/2016 8:00:00 AM&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and at the front end ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="133239" alt="Start Date Week and End Date Week Status-227456.PNG" class="jive-image image-1" src="/legacyfs/online/133239_Start Date Week and End Date Week Status-227456.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I hope i understood your'e requirement Half away, can you please specify .If the difference between startdate and enddate is greater than 8 then what status it should specify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 06:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Expression/m-p/1106469#M366378</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-08-02T06:13:47Z</dc:date>
    </item>
  </channel>
</rss>

