<?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 Cumulative data Expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-data-Expression/m-p/558858#M1140868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to ask how to get the syntax of the data cumulative GPW in each year 2012 and 2013 below?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;illustrative&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;example&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of a data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-July 2012 GPW 10 million&lt;/P&gt;&lt;P&gt;-August 2012 GPW 10 million&lt;/P&gt;&lt;P&gt;-December 2012 GPW 5 million&lt;/P&gt;&lt;P&gt;-January 2013 GPW -10 million&lt;/P&gt;&lt;P&gt;-February 2013 GPW 15 million&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Filter&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;month of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;JANUARY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2012 = 0&lt;/P&gt;&lt;P&gt;2013 = 15 MILLION&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Filter&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;month of &lt;/SPAN&gt;OCTOBER&lt;/P&gt;&lt;P&gt;2012 = 20 MILLION&lt;/P&gt;&lt;P&gt;2013 = 30 MILLION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Filter&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;month of &lt;/SPAN&gt;DECEMBER&lt;/P&gt;&lt;P&gt;2012 = 25 MILLION&lt;/P&gt;&lt;P&gt;2013 = 30 MILLION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tq before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 02:29:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-24T02:29:37Z</dc:date>
    <item>
      <title>Cumulative data Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-data-Expression/m-p/558858#M1140868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to ask how to get the syntax of the data cumulative GPW in each year 2012 and 2013 below?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;illustrative&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;example&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of a data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-July 2012 GPW 10 million&lt;/P&gt;&lt;P&gt;-August 2012 GPW 10 million&lt;/P&gt;&lt;P&gt;-December 2012 GPW 5 million&lt;/P&gt;&lt;P&gt;-January 2013 GPW -10 million&lt;/P&gt;&lt;P&gt;-February 2013 GPW 15 million&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Filter&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;month of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;JANUARY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2012 = 0&lt;/P&gt;&lt;P&gt;2013 = 15 MILLION&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Filter&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;month of &lt;/SPAN&gt;OCTOBER&lt;/P&gt;&lt;P&gt;2012 = 20 MILLION&lt;/P&gt;&lt;P&gt;2013 = 30 MILLION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Filter&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;month of &lt;/SPAN&gt;DECEMBER&lt;/P&gt;&lt;P&gt;2012 = 25 MILLION&lt;/P&gt;&lt;P&gt;2013 = 30 MILLION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tq before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 02:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-data-Expression/m-p/558858#M1140868</guid>
      <dc:creator />
      <dc:date>2013-09-24T02:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative data Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-data-Expression/m-p/558859#M1140869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three fields in my data model: TIME_KEY, MONTH and YEAR. The three are numeric.&lt;/P&gt;&lt;P&gt;The higher the TIME_KEY, the more advanced in the time. In other words, the TIME_KEY X+1 is always after the TIME_KEY x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed the user only can choose one TIME_KEY :&lt;/P&gt;&lt;P&gt;Your expression =sum({&amp;lt;MONTH=, YEAR=, TIME_KEY={"&amp;lt;=$(TIME_KEY)"}&amp;gt;&amp;nbsp; } VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also create a variable, for example:&lt;/P&gt;&lt;P&gt;vTime_Key = TIME_KEY&lt;/P&gt;&lt;P&gt;and sum({&amp;lt;MONTH=, YEAR=, TIME_KEY={"&amp;lt;=$(vTime_Key"}&amp;gt;&amp;nbsp; } VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get a cumulative into your chart (or report) while using one of the three dimensions, you will have to use other methods: cumulative or rangesum/above functions .... or modify your data model to "store" the way to compute the cumulative you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 08:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-data-Expression/m-p/558859#M1140869</guid>
      <dc:creator />
      <dc:date>2013-09-24T08:35:36Z</dc:date>
    </item>
  </channel>
</rss>

