<?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 Get latest value from a field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-latest-value-from-a-field/m-p/201348#M59489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table like:&lt;/P&gt;&lt;P&gt;ID Type&lt;/P&gt;&lt;P&gt;1 a&lt;/P&gt;&lt;P&gt;2 a&lt;/P&gt;&lt;P&gt;3 b&lt;/P&gt;&lt;P&gt;I have a chart that displays differently depending on what the latest entry in the above table was. So it might look something like this:&lt;/P&gt;&lt;P&gt;if( latest(Type) = a, SUM(something), SUM(something else)&lt;/P&gt;&lt;P&gt;My question is how do I get that Type value into the equation? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Feb 2011 17:45:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-04T17:45:55Z</dc:date>
    <item>
      <title>Get latest value from a field</title>
      <link>https://community.qlik.com/t5/QlikView/Get-latest-value-from-a-field/m-p/201348#M59489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table like:&lt;/P&gt;&lt;P&gt;ID Type&lt;/P&gt;&lt;P&gt;1 a&lt;/P&gt;&lt;P&gt;2 a&lt;/P&gt;&lt;P&gt;3 b&lt;/P&gt;&lt;P&gt;I have a chart that displays differently depending on what the latest entry in the above table was. So it might look something like this:&lt;/P&gt;&lt;P&gt;if( latest(Type) = a, SUM(something), SUM(something else)&lt;/P&gt;&lt;P&gt;My question is how do I get that Type value into the equation? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 17:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-latest-value-from-a-field/m-p/201348#M59489</guid>
      <dc:creator />
      <dc:date>2011-02-04T17:45:55Z</dc:date>
    </item>
    <item>
      <title>Get latest value from a field</title>
      <link>https://community.qlik.com/t5/QlikView/Get-latest-value-from-a-field/m-p/201349#M59490</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 this:&lt;/P&gt;&lt;P&gt;if( Only({$&amp;lt;ID={'$(=max(ID))'}&amp;gt;} Type) = a, SUM(something), SUM(something else))&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 17:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-latest-value-from-a-field/m-p/201349#M59490</guid>
      <dc:creator />
      <dc:date>2011-02-04T17:52:46Z</dc:date>
    </item>
  </channel>
</rss>

