<?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 First date after last date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167875#M39273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magv&lt;/P&gt;&lt;P&gt;Oh... Had high hopes!&lt;/P&gt;&lt;P&gt;But if you filter field1 to just A. You get different results for Patient 1/exp2 if you have all pats selected or just Patient 1 selected&lt;/P&gt;&lt;P&gt;Sorry for my delay - was on vacation&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 03:05:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-09-09T03:05:27Z</dc:date>
    <item>
      <title>First date after last date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167873#M39271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Have 2 tables both with a date field (linked on Pat), trying to return the first date from one table after the last date in the other table. Below is what I have so far. Acting like the IF doesn't apply to each Pat - which kind of makes sense. There isn't something like AggrIf?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;aggr(min(if(Date2 &amp;gt; aggr(max(Date1), Pat), Date2)), Pat)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 03:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167873#M39271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-27T03:49:38Z</dc:date>
    </item>
    <item>
      <title>First date after last date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167874#M39272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;I think the solution is using the qualifier Total inside the internal aggregation.&lt;/P&gt;&lt;P&gt;See my attached file.&lt;/P&gt;&lt;P&gt;I hope this help you.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 13:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167874#M39272</guid>
      <dc:creator />
      <dc:date>2009-09-02T13:53:48Z</dc:date>
    </item>
    <item>
      <title>First date after last date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167875#M39273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magv&lt;/P&gt;&lt;P&gt;Oh... Had high hopes!&lt;/P&gt;&lt;P&gt;But if you filter field1 to just A. You get different results for Patient 1/exp2 if you have all pats selected or just Patient 1 selected&lt;/P&gt;&lt;P&gt;Sorry for my delay - was on vacation&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 03:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167875#M39273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-09T03:05:27Z</dc:date>
    </item>
    <item>
      <title>First date after last date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167876#M39274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;I haven't surrendered by this challenge, so, I have a new solution for your problem using input fields, I don't know why qlikview does't allow the logical expression that you were made, but with the use of this objects I could calculate the max date of every pat then make the comparation like you need.&lt;/P&gt;&lt;P&gt;So, I hope again this works you.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 14:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date-after-last-date/m-p/167876#M39274</guid>
      <dc:creator />
      <dc:date>2009-09-16T14:58:48Z</dc:date>
    </item>
  </channel>
</rss>

