<?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 to load the Min date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443302#M1162785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi grace,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Call_no,&lt;/P&gt;&lt;P&gt;Status&lt;/P&gt;&lt;P&gt;FROM &lt;E&gt; (ooxml, embedded labels, table is Day1) where status=79 or status=13;&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempMinDate:&lt;/P&gt;&lt;P&gt;min(Date) as MinDate&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Nov 2012 08:02:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-17T08:02:02Z</dc:date>
    <item>
      <title>How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443301#M1162784</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;&lt;/P&gt;&lt;P&gt;I have a table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date | Call No | status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to load the min(date) of a perticular call no where status is 79 or 13...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me to write the code for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried this but it is not working&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt; min(Date) as MDate,&lt;/P&gt;&lt;P&gt; Call_no,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;FROM &lt;E&gt; (ooxml, embedded labels, table is Day1) where status=79 or status=13;&lt;/E&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 07:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443301#M1162784</guid>
      <dc:creator />
      <dc:date>2012-11-17T07:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443302#M1162785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi grace,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Call_no,&lt;/P&gt;&lt;P&gt;Status&lt;/P&gt;&lt;P&gt;FROM &lt;E&gt; (ooxml, embedded labels, table is Day1) where status=79 or status=13;&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempMinDate:&lt;/P&gt;&lt;P&gt;min(Date) as MinDate&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 08:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443302#M1162785</guid>
      <dc:creator />
      <dc:date>2012-11-17T08:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443303#M1162786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For every callno you can use group by, with this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Call_no,&lt;/P&gt;&lt;P&gt;Status&lt;/P&gt;&lt;P&gt;FROM &lt;E&gt; (ooxml, embedded labels, table is Day1) where status=79 or status=13;&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempMinDate:&lt;/P&gt;&lt;P&gt;Call_no,&lt;/P&gt;&lt;P&gt;Statusas temp_status,&lt;/P&gt;&lt;P&gt;min(Date) as MinDate&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group By Call_no;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 08:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443303#M1162786</guid>
      <dc:creator />
      <dc:date>2012-11-17T08:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443304#M1162787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is giving error as &lt;/P&gt;&lt;P&gt;"Unknown statement" &lt;/P&gt;&lt;P&gt;TempMinDate:&lt;/P&gt;&lt;P&gt;min(Date) as MinDate&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 08:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443304#M1162787</guid>
      <dc:creator />
      <dc:date>2012-11-17T08:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443305#M1162788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you have tried the second code that I provided using group by?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heri&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heri&lt;/P&gt;&lt;P&gt;Business Intelligence Developer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PT. Evotech Distribusi&lt;/P&gt;&lt;P&gt;Ruko Garden Shopping Arcade Blok.C/09/AS&lt;/P&gt;&lt;P&gt;Jl. Podomoro Avenue, Podomoro City - Jakarta Barat&lt;/P&gt;&lt;P&gt;Phone: +62 21 569 823 85 / 86&lt;/P&gt;&lt;P&gt;Fax: +62 21 569 823 87&lt;/P&gt;&lt;P&gt;Mobile: +62 813 6463 7227&lt;/P&gt;&lt;P&gt;Email: heri@evotech.co.id&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 09:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443305#M1162788</guid>
      <dc:creator />
      <dc:date>2012-11-17T09:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443306#M1162789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;same error i am getting for both the code...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 09:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443306#M1162789</guid>
      <dc:creator />
      <dc:date>2012-11-17T09:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443307#M1162790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you copy paste your code? I want to see did it missed something or not. I tried in my computer, and it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heri&lt;/P&gt;&lt;P&gt;Business Intelligence Developer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PT. Evotech Distribusi&lt;/P&gt;&lt;P&gt;Ruko Garden Shopping Arcade Blok.C/09/AS&lt;/P&gt;&lt;P&gt;Jl. Podomoro Avenue, Podomoro City - Jakarta Barat&lt;/P&gt;&lt;P&gt;Phone: +62 21 569 823 85 / 86&lt;/P&gt;&lt;P&gt;Fax: +62 21 569 823 87&lt;/P&gt;&lt;P&gt;Mobile: +62 813 6463 7227&lt;/P&gt;&lt;P&gt;Email: heri@evotech.co.id&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 09:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443307#M1162790</guid>
      <dc:creator />
      <dc:date>2012-11-17T09:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443308#M1162791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;BR /&gt;LOAD Date,&lt;BR /&gt; call_no,&lt;BR /&gt; Status&lt;BR /&gt;FROM &lt;C&gt; (ooxml, embedded labels, table is Sheet1) where Status=79 or Status=13;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;tempdate:&lt;BR /&gt;call_no,&lt;BR /&gt;status as temp_status,&lt;BR /&gt;min(Date) as MinDate&lt;BR /&gt;Resident Table1&lt;BR /&gt;group by call_no;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 09:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443308#M1162791</guid>
      <dc:creator />
      <dc:date>2012-11-17T09:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443309#M1162792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try change 'status as temp_status' by 'Status as temp_status'..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heri&lt;/P&gt;&lt;P&gt;Business Intelligence Developer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PT. Evotech Distribusi&lt;/P&gt;&lt;P&gt;Ruko Garden Shopping Arcade Blok.C/09/AS&lt;/P&gt;&lt;P&gt;Jl. Podomoro Avenue, Podomoro City - Jakarta Barat&lt;/P&gt;&lt;P&gt;Phone: +62 21 569 823 85 / 86&lt;/P&gt;&lt;P&gt;Fax: +62 21 569 823 87&lt;/P&gt;&lt;P&gt;Mobile: +62 813 6463 7227&lt;/P&gt;&lt;P&gt;Email: heri@evotech.co.id&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 09:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443309#M1162792</guid>
      <dc:creator />
      <dc:date>2012-11-17T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443310#M1162793</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;&lt;/P&gt;&lt;P&gt; Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; load min(Date) AS minDate,&lt;/P&gt;&lt;P&gt; Call_no,&lt;/P&gt;&lt;P&gt; Status&lt;/P&gt;&lt;P&gt; from filename.xls where match(Status,13,79) group by Call_no,Status;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load Call_no,Status,Date from filename.xls where match(Status,13,79);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Inner join(Table1)&lt;/P&gt;&lt;P&gt;Load min(Date) as Date, Call_no resident Table1 group by Call_no;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;Whenever u use aggregation please use group by clause..&lt;/P&gt;&lt;P&gt;From ur post i note down, after tempDate:&lt;/P&gt;&lt;P&gt; i think u forget to add load statement..please correct it that..&lt;/P&gt;&lt;P&gt;N one more thing..u must add all field in group by clause except using in aggregation function&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Load min(date),id,callno from tablename group by id,callno;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 20:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443310#M1162793</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-17T20:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the Min date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443311#M1162794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnks a lot... code worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 10:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-the-Min-date/m-p/443311#M1162794</guid>
      <dc:creator />
      <dc:date>2012-11-26T10:12:45Z</dc:date>
    </item>
  </channel>
</rss>

