<?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 analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367144#M1173377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@swuehi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the solution for pivot table along with two dimension.&lt;/P&gt;&lt;P&gt;And suppose that when i select a year 2010 , i should see the sales as 16100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year = {"&amp;gt;=$(=min({1} year))&amp;lt;=$(=max(year))"} &amp;gt;} sales) , this expression work in text but when i used in chart in does'nt work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want see the Following output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2007&amp;nbsp;&amp;nbsp;&amp;nbsp; 2300&lt;/P&gt;&lt;P&gt;2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&lt;/P&gt;&lt;P&gt;2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 8100&lt;/P&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>Sat, 26 May 2012 09:56:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-26T09:56:44Z</dc:date>
    <item>
      <title>cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367141#M1173374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose i have two column date and sales&lt;/P&gt;&lt;P&gt;2006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2300&lt;/P&gt;&lt;P&gt;2007&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2700&lt;/P&gt;&lt;P&gt;2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3100&lt;/P&gt;&lt;P&gt;2009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3500&lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4500&lt;/P&gt;&lt;P&gt;2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3900&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select year 2010, i want show the sales from year 2006 to 2010&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 06:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367141#M1173374</guid>
      <dc:creator />
      <dc:date>2012-05-24T06:37:03Z</dc:date>
    </item>
    <item>
      <title>cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367142#M1173375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to see sales from minimum year to selected year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this as expression (in a text box or as expression in a chart with dimension year):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year = {"&amp;gt;=$(=min({1} year))&amp;lt;=$(=max(year))"} &amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 08:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367142#M1173375</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-24T08:20:23Z</dc:date>
    </item>
    <item>
      <title>cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367143#M1173376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also plot a chart with 'year' as the dimension and sales as the expression.&lt;/P&gt;&lt;P&gt;Then in the expressions tab of the properties of the chart, select Full Accumulation and Text as Pop-up&lt;/P&gt;&lt;P&gt;You can then see the cumulative sales over all years at once!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 20:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367143#M1173376</guid>
      <dc:creator />
      <dc:date>2012-05-25T20:09:45Z</dc:date>
    </item>
    <item>
      <title>cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367144#M1173377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@swuehi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the solution for pivot table along with two dimension.&lt;/P&gt;&lt;P&gt;And suppose that when i select a year 2010 , i should see the sales as 16100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year = {"&amp;gt;=$(=min({1} year))&amp;lt;=$(=max(year))"} &amp;gt;} sales) , this expression work in text but when i used in chart in does'nt work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want see the Following output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2007&amp;nbsp;&amp;nbsp;&amp;nbsp; 2300&lt;/P&gt;&lt;P&gt;2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&lt;/P&gt;&lt;P&gt;2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 8100&lt;/P&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>Sat, 26 May 2012 09:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367144#M1173377</guid>
      <dc:creator />
      <dc:date>2012-05-26T09:56:44Z</dc:date>
    </item>
    <item>
      <title>cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367145#M1173378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, you haven't mentioned a pivot table and a second dimension so far...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the cumulative in a pivot table using rangesum() function together with chart inter record functions like above. Note that the appropriate chart inter record function will depend on your chart layout. I assume your year is the dimension to the left and second dimension (maybe Customer) is dragged to the top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use something like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=rangesum(above(sum({&amp;lt;year = {"&amp;gt;=$(=min({1} year))&amp;lt;=$(=max(year))"} &amp;gt;} sales),0,RowNo()))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2012 13:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367145#M1173378</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-26T13:26:25Z</dc:date>
    </item>
    <item>
      <title>cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367146#M1173379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above expression was correct for pivot table..&lt;/P&gt;&lt;P&gt;If possible can i see the folowing output:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after Apply the formula my pivot table look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:B6824343-14A4-4425-92E2-BC9722B2092D" height="304" id="QlikOCX" width="464"&gt;&lt;PARAM name="DocName" value="" /&gt;&lt;PARAM name="ObjectID" value="Document\CH02" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:B6824343-14A4-4425-92E2-BC9722B2092D" height="304" id="QlikOCX" width="464"&gt;&lt;PARAM name="DocName" value="" /&gt;&lt;PARAM name="ObjectID" value="Document\CH02" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;IMG src="https://community.qlik.com/" /&gt;2007&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;2009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 90&lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 140&lt;/P&gt;&lt;P&gt;2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 270&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose now i select year 2009, the output should be like this&lt;/P&gt;&lt;P&gt;2009&amp;nbsp; 90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 05:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367146#M1173379</guid>
      <dc:creator />
      <dc:date>2012-05-28T05:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367147#M1173380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try just adding an aggr() advanced aggregation to your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;EM&gt;=aggr( &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rangesum(above(sum({&amp;lt;year = {"&amp;gt;=$(=min({1} year))&amp;lt;=$(=max(year))"} &amp;gt;} sales),0,RowNo()))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;, customer, year)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;EM&gt;customer &lt;/EM&gt;is your second dimension and &lt;EM&gt;year &lt;/EM&gt;your dimension you want t&lt;EM&gt;o &lt;/EM&gt;filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make this work, the load order of year must be chronological&amp;nbsp; (because the aggr() function sorts its dimension in load order, not in the order you set in table properties).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 12:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367147#M1173380</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-29T12:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367148#M1173381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One problem still remains: if you have periods with no data this expression displays missing. It's no good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 16:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367148#M1173381</guid>
      <dc:creator />
      <dc:date>2013-02-12T16:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative analysis</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367149#M1173382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create new table where each date from your sales corresponds to that date and all dates after that date. F.e.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateCum&lt;/P&gt;&lt;P&gt;2006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2006&lt;/P&gt;&lt;P&gt;2006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2007&lt;/P&gt;&lt;P&gt;2006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&lt;/P&gt;&lt;P&gt;2007&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2007&lt;/P&gt;&lt;P&gt;2007&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&lt;/P&gt;&lt;P&gt;2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try to use DateCum as a dimension in Bar Chart. I could share script generating such a table if you need it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 12:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-analysis/m-p/367149#M1173382</guid>
      <dc:creator />
      <dc:date>2013-02-18T12:25:28Z</dc:date>
    </item>
  </channel>
</rss>

