<?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: Min and Max not working for dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019540#M637904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 06:46:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-27T06:46:57Z</dc:date>
    <item>
      <title>Min and Max not working for dates</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019536#M637900</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;I am unable to get the variables&amp;nbsp;&amp;nbsp; fdate and tdate&amp;nbsp; in to the CALENDAR objects ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any syntax error ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Country, Value, SalesDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 12, 2013-01-04&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 14.5, 2013-02-07&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 6.6, 2013-03-03&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 4.5, 2013-04-11&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 7.8, 2013-05-19&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 9.4, 2013-06-22&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 11.3, 2013-01-31&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 10.1, 2013-02-01&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 3.2, 2013-03-2182&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 5.6, 2013-04-15&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 3.9, 2013-05-12&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 6.9, 2013-06-06&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let fdate = MIN(date#(SalesDate, 'YYYY-MM-DD'));&lt;/P&gt;&lt;P&gt;LET tdate = Max(date#(SalesDate, 'YYYY-MM-DD'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 09:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019536#M637900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-26T09:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max not working for dates</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019537#M637901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot do it directly, you need to have a resident load to calculate the Min and Max Date and then use Peek() function to get the values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019537#M637901</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-26T16:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max not working for dates</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019538#M637902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Country, Value, SalesDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; USA, 12, 2013-01-04&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; USA, 14.5, 2013-02-07&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; USA, 6.6, 2013-03-03&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; USA, 4.5, 2013-04-11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; USA, 7.8, 2013-05-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; USA, 9.4, 2013-06-22&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; UK, 11.3, 2013-01-31&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; UK, 10.1, 2013-02-01&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; UK, 3.2, 2013-03-2182&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; UK, 5.6, 2013-04-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; UK, 3.9, 2013-05-12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; UK, 6.9, 2013-06-06&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MinMax:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Min(Date#(SalesDate, 'YYYY-MM-DD')) as MinDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Max(Date#(SalesDate, 'YYYY-MM-DD')) as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let fdate = Peek('MinDate');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET tdate = Peek('MaxDate');&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019538#M637902</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-26T16:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max not working for dates</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019539#M637903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note one of the row as below has wrong date:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;UK, 3.2, 2013-03-2182 &amp;lt;---- Wrong date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Country, Value, SalesDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 12, 2013-01-04&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 14.5, 2013-02-07&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 6.6, 2013-03-03&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 4.5, 2013-04-11&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 7.8, 2013-05-19&lt;/P&gt;&lt;P&gt;&amp;nbsp; USA, 9.4, 2013-06-22&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 11.3, 2013-01-31&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 10.1, 2013-02-01&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 3.2, 2013-03-01&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 5.6, 2013-04-15&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 3.9, 2013-05-12&lt;/P&gt;&lt;P&gt;&amp;nbsp; UK, 6.9, 2013-06-06&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load min(SalesDate) as min_SalesDate,&lt;/P&gt;&lt;P&gt;max(SalesDate) as max_SalesDate&lt;/P&gt;&lt;P&gt;Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let fdate = Peek('min_SalesDate');&lt;/P&gt;&lt;P&gt;LET tdate = Peek('max_SalesDate');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019539#M637903</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-04-26T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max not working for dates</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019540#M637904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 06:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019540#M637904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T06:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max not working for dates</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019541#M637905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 06:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-Max-not-working-for-dates/m-p/1019541#M637905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T06:47:21Z</dc:date>
    </item>
  </channel>
</rss>

