<?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 Max Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229598#M81491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Spot on thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Feb 2011 11:58:48 GMT</pubDate>
    <dc:creator>agsearle</dc:creator>
    <dc:date>2011-02-25T11:58:48Z</dc:date>
    <item>
      <title>Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229595#M81488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with customer ref, dates and amounts, but I only want the amount relating to the maximum date for each customer ref.&lt;/P&gt;&lt;P&gt;Cust Ref Date Amount&lt;BR /&gt;1 01/01/11 20&lt;BR /&gt;1 20/01/11 15&lt;BR /&gt;2 15/01/11 10&lt;/P&gt;&lt;P&gt;So from the above example I want to see cust 1 show a value of 15, being the amount next to the maximum date of that cust.&lt;/P&gt;&lt;P&gt;Something like: (although obviously this doesn't work)&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;IF(MAX(date), Amount)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 17:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229595#M81488</guid>
      <dc:creator>agsearle</dc:creator>
      <dc:date>2011-02-24T17:43:09Z</dc:date>
    </item>
    <item>
      <title>Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229596#M81489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if([Date]=max(total &amp;lt;[Cust Ref]&amp;gt; [Date], [Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, max is over all of the dimensions so technically, 20 is the max amount over the dimensions Customer Ref = 1 and Date 1/1/11. That being said, you have to tell QV which dimension you actually want the max of which in this case, is [Cust Ref].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 17:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229596#M81489</guid>
      <dc:creator />
      <dc:date>2011-02-24T17:57:35Z</dc:date>
    </item>
    <item>
      <title>Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229597#M81490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe (not tested) create a straight table with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension = Cust_Ref&lt;/P&gt;&lt;P&gt;Expression = FirstSortedValue( Amount , -Date) FirstSortedValue give you the amount for the first Date (So using -Date allows to catch the last Date).&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 21:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229597#M81490</guid>
      <dc:creator />
      <dc:date>2011-02-24T21:23:08Z</dc:date>
    </item>
    <item>
      <title>Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229598#M81491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Spot on thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 11:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/229598#M81491</guid>
      <dc:creator>agsearle</dc:creator>
      <dc:date>2011-02-25T11:58:48Z</dc:date>
    </item>
  </channel>
</rss>

