<?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 Creating chart for accumulation data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924563#M952261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem in creating a chart for cumulative graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&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/107686_Capture.PNG" style="height: 223px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this graph, the cumulative sum go to the end because I using the function&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;rangesum(above(sum(Incurred),0,rowno())&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want the graph to look like this in the example below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/107687_Capture.PNG" style="height: 224px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;In this graph, I use the function &lt;STRONG&gt;if() &lt;/STRONG&gt;and create a new field as the maximum month for each year.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;if( Month&amp;gt;MaxMonth2012 OR IsNull(Month) ,0 , rangesum( above ( sum( Incurred ) , 0 , MaxMonth2012 +1)))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This result in many extra field created for each year and take a long time to run.This is just data for the 2012 onwards, this could be more and more messy and time consuming if I take in the data from 2000 onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other possible way to do this and make this easier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Dec 2015 01:46:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-01T01:46:12Z</dc:date>
    <item>
      <title>Creating chart for accumulation data</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924563#M952261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem in creating a chart for cumulative graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&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/107686_Capture.PNG" style="height: 223px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this graph, the cumulative sum go to the end because I using the function&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;rangesum(above(sum(Incurred),0,rowno())&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want the graph to look like this in the example below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/107687_Capture.PNG" style="height: 224px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;In this graph, I use the function &lt;STRONG&gt;if() &lt;/STRONG&gt;and create a new field as the maximum month for each year.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;if( Month&amp;gt;MaxMonth2012 OR IsNull(Month) ,0 , rangesum( above ( sum( Incurred ) , 0 , MaxMonth2012 +1)))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This result in many extra field created for each year and take a long time to run.This is just data for the 2012 onwards, this could be more and more messy and time consuming if I take in the data from 2000 onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other possible way to do this and make this easier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 01:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924563#M952261</guid>
      <dc:creator />
      <dc:date>2015-12-01T01:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating chart for accumulation data</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924564#M952262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenth,&lt;/P&gt;&lt;P&gt;try setting Full accumulation option to your expression:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Chart Properties-&amp;gt;Expressions&lt;/LI&gt;&lt;LI&gt;select Full accumulation from Accumulation options&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 17:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924564#M952262</guid>
      <dc:creator>anlonghi2</dc:creator>
      <dc:date>2015-12-01T17:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating chart for accumulation data</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924565#M952263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This cannot works.&lt;/P&gt;&lt;P&gt;This will create the graph of the first example that all the line go to the end of the month since it is accumulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the graph to be like stop at the middle like in the second sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 01:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924565#M952263</guid>
      <dc:creator />
      <dc:date>2015-12-02T01:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating chart for accumulation data</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924566#M952264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kenth,&lt;/P&gt;&lt;P&gt;could you provide sample data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-chart-for-accumulation-data/m-p/924566#M952264</guid>
      <dc:creator>anlonghi2</dc:creator>
      <dc:date>2015-12-02T10:34:44Z</dc:date>
    </item>
  </channel>
</rss>

