<?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: Display Max(Date) where associated field is not null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881817#M307636</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;Try this&lt;/P&gt;&lt;P&gt;=Date(Max(Aggr(Date(Date),ID,Date)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2015 16:17:00 GMT</pubDate>
    <dc:creator>Gabriel</dc:creator>
    <dc:date>2015-07-03T16:17:00Z</dc:date>
    <item>
      <title>Display Max(Date) where associated field is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881816#M307635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello lovely people&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="176" style="border: 1px solid rgb(0, 0, 0); width: 211px; height: 176px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03/07/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/07/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/07/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;145A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/07/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;268B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/07/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3092D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30/06/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to select the last record date where the ID isn't NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do it in a chart, but I need to do it in a text box and can't for the life of me work it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Help!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 14:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881816#M307635</guid>
      <dc:creator />
      <dc:date>2015-07-03T14:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Display Max(Date) where associated field is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881817#M307636</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;Try this&lt;/P&gt;&lt;P&gt;=Date(Max(Aggr(Date(Date),ID,Date)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 16:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881817#M307636</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-07-03T16:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display Max(Date) where associated field is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881818#M307637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lewis,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Max&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;ID&lt;/SPAN&gt;={*}&amp;gt;} Date)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=Date&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Not&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt;))) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 18:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881818#M307637</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-07-03T18:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display Max(Date) where associated field is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881819#M307638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=FirstSortedValue({$&amp;lt;ID={"*"}&amp;gt;} distinct Date,-Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jul 2015 10:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881819#M307638</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-07-04T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Display Max(Date) where associated field is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881820#M307639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help chaps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 08:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881820#M307639</guid>
      <dc:creator />
      <dc:date>2015-07-06T08:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Display Max(Date) where associated field is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881821#M307640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Gabriel. However, this gives me the last date in the table, regardless of whether the ID is null or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any other example that could satisfy this problem, but still use AGGR? I'm keen to get to grips with that function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 08:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Max-Date-where-associated-field-is-not-null/m-p/881821#M307640</guid>
      <dc:creator />
      <dc:date>2015-07-06T08:16:13Z</dc:date>
    </item>
  </channel>
</rss>

