<?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) on Graphic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167164#M504856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Konstantins.&lt;/P&gt;&lt;P&gt;Here, it's only retrieve the last action. I'd want the last action per account, any idea? The equivalent in SQL :&lt;/P&gt;&lt;P&gt;SELECT ACCOUNT,&lt;/P&gt;&lt;P&gt;ACTION,&lt;/P&gt;&lt;P&gt;MAX (DATE)&lt;/P&gt;&lt;P&gt;FROM TABLE&lt;/P&gt;&lt;P&gt;GROUP BY ACCOUNT, ACTION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2009 19:13:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-26T19:13:08Z</dc:date>
    <item>
      <title>Max(Date) on Graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167162#M504854</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'm new to Qlikview and try to do one thing creating a graphic - simple table&lt;/P&gt;&lt;P&gt;With such records :&lt;/P&gt;&lt;P&gt;account, action, date&lt;/P&gt;&lt;P&gt;I want to retrieve only the last actions by account (using max(date)). So I use expression :&lt;/P&gt;&lt;P&gt;Max ([Date])&lt;/P&gt;&lt;P&gt;but it doesn't work, Can you help me?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 17:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167162#M504854</guid>
      <dc:creator />
      <dc:date>2009-08-26T17:27:57Z</dc:date>
    </item>
    <item>
      <title>Max(Date) on Graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167163#M504855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to use Calculated dimension =if(Date=max(total Date),Date).&lt;/P&gt;&lt;P&gt;And check Suppress When Value Is Null&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Konstantins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 17:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167163#M504855</guid>
      <dc:creator>skaredovs</dc:creator>
      <dc:date>2009-08-26T17:51:43Z</dc:date>
    </item>
    <item>
      <title>Max(Date) on Graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167164#M504856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Konstantins.&lt;/P&gt;&lt;P&gt;Here, it's only retrieve the last action. I'd want the last action per account, any idea? The equivalent in SQL :&lt;/P&gt;&lt;P&gt;SELECT ACCOUNT,&lt;/P&gt;&lt;P&gt;ACTION,&lt;/P&gt;&lt;P&gt;MAX (DATE)&lt;/P&gt;&lt;P&gt;FROM TABLE&lt;/P&gt;&lt;P&gt;GROUP BY ACCOUNT, ACTION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 19:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167164#M504856</guid>
      <dc:creator />
      <dc:date>2009-08-26T19:13:08Z</dc:date>
    </item>
    <item>
      <title>Max(Date) on Graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167165#M504857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, where is the problem? This SQL query looks OK. What is the result of it? And which graphic you want to create?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 19:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167165#M504857</guid>
      <dc:creator>skaredovs</dc:creator>
      <dc:date>2009-08-26T19:37:43Z</dc:date>
    </item>
    <item>
      <title>Max(Date) on Graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167166#M504858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Last SQL is my objective.&lt;/P&gt;&lt;P&gt;issue you gave me would be the equivalent SQL :&lt;/P&gt;&lt;P&gt;SELECT ACCOUNT,&lt;/P&gt;&lt;P&gt;ACTION,&lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt;FROM TABLE&lt;/P&gt;&lt;P&gt;WHERE DATE = (SELECT MAX(DATE) from TABLE)&lt;/P&gt;&lt;P&gt;... which is not my requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 19:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167166#M504858</guid>
      <dc:creator />
      <dc:date>2009-08-26T19:51:16Z</dc:date>
    </item>
    <item>
      <title>Max(Date) on Graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167167#M504859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tested your first SQL. It works. You said that MAX(DATE) doesn't work. Where? In the script or in the object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 20:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167167#M504859</guid>
      <dc:creator>skaredovs</dc:creator>
      <dc:date>2009-08-26T20:17:40Z</dc:date>
    </item>
    <item>
      <title>Max(Date) on Graphic</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167168#M504860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The good practice is to read all the data and to show in the object (to calculate) only necessary in this object.&lt;/P&gt;&lt;P&gt;In your case I would recommend to read from SQL all records. Then in the object use calculated dimension as I mentioned in my 1st post.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Konstantins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 20:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-on-Graphic/m-p/167168#M504860</guid>
      <dc:creator>skaredovs</dc:creator>
      <dc:date>2009-08-26T20:25:10Z</dc:date>
    </item>
  </channel>
</rss>

