<?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 Re: Running Total in a graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030664#M939843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is excellent..... however I really need it to be in the chart (chart pulls from various tables) - I could rearrange the data but that will affect other information in the qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 12:50:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-02T12:50:24Z</dc:date>
    <item>
      <title>Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030658#M939837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to write a formula that references other cells to give me a "stock Total". It should add across the columns then pick up the total from the cell below (example below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table looks like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/TH&gt;&lt;TD&gt;A+B-C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030658#M939837</guid>
      <dc:creator />
      <dc:date>2016-02-02T11:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030659#M939838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Script you can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;RangeSum(A, B, C) as Total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-weight: bold;"&gt;RangeSum(A, B, &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;-C&lt;/SPAN&gt;) as Total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or in the a chart you can do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;RangeSum(ExpA, ExpB, ExpC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(ExpA, ExpB, &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;-ExpC&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030659#M939838</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-02T11:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030660#M939839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to take into account the cell from below on the running total though, does that work? My example above add the 2 from the below cell.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030660#M939839</guid>
      <dc:creator />
      <dc:date>2016-02-02T12:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030661#M939840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so the calculation is A + Cumulative(B) - C?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it time based accumulation for B? Like it resets each month or year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030661#M939840</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-02T12:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030662#M939841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it would be (A+B-C from 01/01/2016) + (A+B-c from 02/01/2016) and so on.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No it would keep going and not reset. Essentially it's a stock level total. ABC are stock in and out each day but I need to know what the stock level would be after all those movements, so it needs to take into account what the level was from the day before.... hopefully that makes sense and thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030662#M939841</guid>
      <dc:creator />
      <dc:date>2016-02-02T12:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030663#M939842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(A,B,-C) as Temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="203848" data-objecttype="1" href="https://community.qlik.com/thread/203848"&gt;https://community.qlik.com/thread/203848&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(Peek('RequiredColumn'), Temp) as RequiredColumn&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Date;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113288_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030663#M939842</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-02T12:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030664#M939843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is excellent..... however I really need it to be in the chart (chart pulls from various tables) - I could rearrange the data but that will affect other information in the qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030664#M939843</guid>
      <dc:creator />
      <dc:date>2016-02-02T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030665#M939844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of these two expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) RangeSum(A,B,-C) with Full Accumulation&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113289_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;=RangeSum(Above(RangeSum(A,B,-C), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/113290_Capture.PNG" style="height: 337px; width: 620px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030665#M939844</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-02T12:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030666#M939845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113304_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure what I'm missing? Resulting table expression for far right hand column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/113305_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030666#M939845</guid>
      <dc:creator />
      <dc:date>2016-02-02T14:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Running Total in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030667#M939846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Won't be able to tell you much without looking at it, but try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=RangeSum(Above(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; RangeSum(A,B,-C), 0, RowNo(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-graph/m-p/1030667#M939846</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-02T14:43:01Z</dc:date>
    </item>
  </channel>
</rss>

