<?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: Having Min(time) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399790#M697513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not extract the data the way you need, as in the example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 17:14:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-27T17:14:36Z</dc:date>
    <item>
      <title>Having Min(time)</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399789#M697511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to add a new flag field to a table&lt;/P&gt;&lt;P&gt;I got a table with &lt;/P&gt;&lt;P&gt;date,who,place,Time,key,Type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to add 'like 'First_appointment'.' which could be true or false&lt;/P&gt;&lt;P&gt;It should mean:&lt;/P&gt;&lt;P&gt;In the day 13/01/2012 in the place A, which is the first appointment of that day in that place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In oracle you should do smt like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a.date,a.where,a.key,1 as First_appointment&lt;/P&gt;&lt;P&gt;from TAB a&lt;/P&gt;&lt;P&gt;where not exists (select 1 from TAB b where a.date=b.date and a.place = b.place and b.time &amp;gt;a.time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think you can handle it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 16:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399789#M697511</guid>
      <dc:creator />
      <dc:date>2013-03-27T16:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Having Min(time)</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399790#M697513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not extract the data the way you need, as in the example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399790#M697513</guid>
      <dc:creator />
      <dc:date>2013-03-27T17:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Having Min(time)</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399791#M697514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;load autonumber(place&amp;amp;date&amp;amp;min(Time)) as Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;from ...somewhere...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;group by place, date,Time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join &lt;/P&gt;&lt;P&gt;load &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;autonumber(place&amp;amp;date&amp;amp;Time) as Key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;date,who,place,Time,key,Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;from ...somewhere...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;drop field Key;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399791#M697514</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-27T17:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Having Min(time)</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399792#M697515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see attached files.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 09:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399792#M697515</guid>
      <dc:creator />
      <dc:date>2013-03-28T09:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Having Min(time)</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399793#M697516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I can't use SQL, because the DB used as source is a view which has already undergone an ETL process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 08:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399793#M697516</guid>
      <dc:creator />
      <dc:date>2013-04-03T08:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Having Min(time)</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399794#M697517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without using aggr in the pivot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 14:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399794#M697517</guid>
      <dc:creator />
      <dc:date>2013-04-05T14:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Having Min(time)</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399795#M697518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot make it works properly, because with autonumber I've got different increasing number in T1 and in the left join (ex T1: 1,2,3&amp;nbsp; in the second table T2(if I cancel the left join, I've got 4,5,6).&lt;/P&gt;&lt;P&gt;Can you tell me where is my mistake?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the autonumber it works with&amp;nbsp; place,date and min(time) used as multiple keys&amp;nbsp; in T1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 15:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Min-time/m-p/399795#M697518</guid>
      <dc:creator />
      <dc:date>2013-04-05T15:05:12Z</dc:date>
    </item>
  </channel>
</rss>

