<?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 AGGR problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-problem/m-p/202439#M60142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be easy...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a line chart which simply takes the last Stock entry to date. Somehow it doesn't aggregates properlly.&lt;/P&gt;&lt;P&gt;The reason i've used date island is that the client want to see inventory stand to date even though there were no transactions in that date.&lt;/P&gt;&lt;P&gt;Chart type: Line chart&lt;/P&gt;&lt;P&gt;Dimmension: Year, MonthYear, Date&lt;/P&gt;&lt;P&gt;Expression:&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;&lt;BR /&gt;=Aggr(&lt;BR /&gt; max(&lt;BR /&gt; if([Inventory Date] &amp;lt;=aggr(max(Date),Date) and [Inventory Next Date] &amp;gt; aggr(max(Date),Date), [Inventory Stock Qty],0&lt;BR /&gt; )&lt;BR /&gt; ),&lt;BR /&gt; Date&lt;BR /&gt; )&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive attached file as example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2011 09:31:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-07T09:31:40Z</dc:date>
    <item>
      <title>AGGR problem</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-problem/m-p/202439#M60142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be easy...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a line chart which simply takes the last Stock entry to date. Somehow it doesn't aggregates properlly.&lt;/P&gt;&lt;P&gt;The reason i've used date island is that the client want to see inventory stand to date even though there were no transactions in that date.&lt;/P&gt;&lt;P&gt;Chart type: Line chart&lt;/P&gt;&lt;P&gt;Dimmension: Year, MonthYear, Date&lt;/P&gt;&lt;P&gt;Expression:&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;&lt;BR /&gt;=Aggr(&lt;BR /&gt; max(&lt;BR /&gt; if([Inventory Date] &amp;lt;=aggr(max(Date),Date) and [Inventory Next Date] &amp;gt; aggr(max(Date),Date), [Inventory Stock Qty],0&lt;BR /&gt; )&lt;BR /&gt; ),&lt;BR /&gt; Date&lt;BR /&gt; )&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive attached file as example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 09:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-problem/m-p/202439#M60142</guid>
      <dc:creator />
      <dc:date>2011-04-07T09:31:40Z</dc:date>
    </item>
  </channel>
</rss>

