<?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 Last Date, not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282721#M105095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nijsen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the below expression in a text object.&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;date_value={"$(=max(date_value))"}&amp;gt;} Rv)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesnt work, you need to find out if date_value is a date type which can be found thru field tags in table viewer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 14:02:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-22T14:02:19Z</dc:date>
    <item>
      <title>Last Date, not working</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282720#M105094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a very 'simple' question, but I just can't figure it out.&lt;/P&gt;&lt;P&gt;I have a value date (date_value). All these dates have a value (Rv) behind them, for example &lt;/P&gt;&lt;P&gt;1-1-2011,&amp;nbsp; 5 &lt;/P&gt;&lt;P&gt;18-2-2011, 8&lt;/P&gt;&lt;P&gt;27-3-2011&amp;nbsp; 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I standard only show the last date and attached value?&lt;/P&gt;&lt;P&gt;The table is updated frequently (loaded from an .xls datasheet).&lt;/P&gt;&lt;P&gt;The gauge I'm creating, should only show the last date and it's value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I create this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In dimension: &lt;/P&gt;&lt;P&gt;" =max(date_value) "&lt;/P&gt;&lt;P&gt;gives me an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I place " =date_value " it shows all the dates and values. But that I don't want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In expression, the attached value is shown (Rv)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this? Tried all different things, but none worked to automatically show me the last date and attached value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully it's clear.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 13:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282720#M105094</guid>
      <dc:creator />
      <dc:date>2011-09-22T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Last Date, not working</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282721#M105095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nijsen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the below expression in a text object.&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;date_value={"$(=max(date_value))"}&amp;gt;} Rv)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesnt work, you need to find out if date_value is a date type which can be found thru field tags in table viewer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282721#M105095</guid>
      <dc:creator />
      <dc:date>2011-09-22T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Last Date, not working</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282722#M105096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;that was indeed the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282722#M105096</guid>
      <dc:creator />
      <dc:date>2011-09-22T14:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date, not working</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282723#M105097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One 'extra' question, don't know if I have to place it here (might be a little modification)&lt;/P&gt;&lt;P&gt;Last 10 dates instead of last 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to an other topic, I found the solution after modifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;rank(total &lt;/P&gt;&lt;P&gt;aggr( (date_value),date_value)&lt;/P&gt;&lt;P&gt;,0,1) &lt;/P&gt;&lt;P&gt;,date_value)&lt;/P&gt;&lt;P&gt;&amp;lt;=10,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;rank(total &lt;/P&gt;&lt;P&gt;aggr( (date_value),date_value)&lt;/P&gt;&lt;P&gt;,0,1) &lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;date_value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 06:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Date-not-working/m-p/282723#M105097</guid>
      <dc:creator />
      <dc:date>2011-09-23T06:23:19Z</dc:date>
    </item>
  </channel>
</rss>

