<?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 How to get the latest value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-latest-value/m-p/171654#M41574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check attached qvw file......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Nov 2010 16:53:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-05T16:53:09Z</dc:date>
    <item>
      <title>How to get the latest value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-latest-value/m-p/171652#M41572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;Please see attached excel sheet.&lt;/P&gt;&lt;P&gt;I have products which has been receipted at different dates and at different costs.&lt;/P&gt;&lt;P&gt;I have used the following Expression to calculate the cost at which a product was receipted for a specific month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((sum({$&amp;lt;Year = {$(=max(Year) - $(=if(max(Month) = 1, 1, 0)))}, Month = {$(=month(addmonths(max(MonthYear), -1)))}&amp;gt;} LineTotal))/&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;Year = {$(=max(Year) - $(=if(max(Month) = 1, 1, 0)))}, Month = {$(=month(addmonths(max(MonthYear), -1)))}&amp;gt;} (Quantity*BVolume))))*(BVolume)&lt;/P&gt;&lt;P&gt;Now I have a very neat table that shows me the breakdowns per month as you will see on the Excel sheet.&lt;/P&gt;&lt;P&gt;What I want to know, is there a way that Qlikview can show me that latest cost. In other words, Qlikview will have to look in which month the product was last receipted.&lt;/P&gt;&lt;P&gt;Thus for example: If there is no value in November, it must give me the value of October etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 09:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-latest-value/m-p/171652#M41572</guid>
      <dc:creator />
      <dc:date>2010-11-04T09:34:21Z</dc:date>
    </item>
    <item>
      <title>How to get the latest value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-latest-value/m-p/171653#M41573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attached the solution[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/3225.latestvalue_5F00_solution.zip:550:0]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 15:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-latest-value/m-p/171653#M41573</guid>
      <dc:creator />
      <dc:date>2010-11-05T15:23:30Z</dc:date>
    </item>
    <item>
      <title>How to get the latest value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-latest-value/m-p/171654#M41574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check attached qvw file......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 16:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-latest-value/m-p/171654#M41574</guid>
      <dc:creator />
      <dc:date>2010-11-05T16:53:09Z</dc:date>
    </item>
  </channel>
</rss>

