<?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 Manual Accumulation with two dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296328#M516241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I create the same Full Accumulation for two dimensions as QV do it?&lt;/P&gt;&lt;P&gt;I use formula RangeSum(Above(TOTAL Aggr(Sum(Value1),Date),0, Date))&lt;/P&gt;&lt;P&gt;But in this case Accumulation is for all fields in Example field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the same view like in "Accum Auto" expression.&lt;/P&gt;&lt;P&gt;The data and qvw file are below.&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Example, Date, Value1, Value2&lt;/P&gt;&lt;P&gt;Example1, 01/02/2017, 70, 70&lt;/P&gt;&lt;P&gt;Example1, 01/04/2017, 80, 80&lt;/P&gt;&lt;P&gt;Example1, 01/07/2017, 50, 30&lt;/P&gt;&lt;P&gt;Example1, 01/09/2017, 30, 50&lt;/P&gt;&lt;P&gt;Example2, 01/12/2017, 70, 70&lt;/P&gt;&lt;P&gt;Example2, 01/15/2017, 80, 80&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Example,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(min(Date)) as MinDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(max(Date)) as MaxDate&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group By Example;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Example,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(MinDate + IterNo() -1) as Date&lt;/P&gt;&lt;P&gt;Resident tmp&lt;/P&gt;&lt;P&gt;While Date(MinDate + IterNo() -1) &amp;lt;= MaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table tmp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2017 18:36:39 GMT</pubDate>
    <dc:creator>maxsheva</dc:creator>
    <dc:date>2017-04-10T18:36:39Z</dc:date>
    <item>
      <title>Manual Accumulation with two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296328#M516241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I create the same Full Accumulation for two dimensions as QV do it?&lt;/P&gt;&lt;P&gt;I use formula RangeSum(Above(TOTAL Aggr(Sum(Value1),Date),0, Date))&lt;/P&gt;&lt;P&gt;But in this case Accumulation is for all fields in Example field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the same view like in "Accum Auto" expression.&lt;/P&gt;&lt;P&gt;The data and qvw file are below.&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Example, Date, Value1, Value2&lt;/P&gt;&lt;P&gt;Example1, 01/02/2017, 70, 70&lt;/P&gt;&lt;P&gt;Example1, 01/04/2017, 80, 80&lt;/P&gt;&lt;P&gt;Example1, 01/07/2017, 50, 30&lt;/P&gt;&lt;P&gt;Example1, 01/09/2017, 30, 50&lt;/P&gt;&lt;P&gt;Example2, 01/12/2017, 70, 70&lt;/P&gt;&lt;P&gt;Example2, 01/15/2017, 80, 80&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Example,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(min(Date)) as MinDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(max(Date)) as MaxDate&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group By Example;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Example,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(MinDate + IterNo() -1) as Date&lt;/P&gt;&lt;P&gt;Resident tmp&lt;/P&gt;&lt;P&gt;While Date(MinDate + IterNo() -1) &amp;lt;= MaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table tmp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 18:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296328#M516241</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-04-10T18:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Accumulation with two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296329#M516242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have QV12, you can try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum(Value1),0, RowNo())), Example, (Date,(NUMERIC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if its okay, sort 1st by Example and then by Date ascending in your chart with this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Sum(Value1),0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159666_Capture.PNG" style="height: 464px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 18:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296329#M516242</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T18:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Accumulation with two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296330#M516243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it normal for QV to use value which is not exist in data model such as 'NUMERIC'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 19:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296330#M516243</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-04-10T19:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Accumulation with two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296331#M516244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is a new feature introduced with QV12. Take a look here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 19:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manual-Accumulation-with-two-dimensions/m-p/1296331#M516244</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T19:14:19Z</dc:date>
    </item>
  </channel>
</rss>

