<?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 Running Total in a chart (straight table) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-chart-straight-table/m-p/190394#M590065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;I am trying to display running totals that accumulate by day and keep those in tact when filtering on the date range.&lt;/P&gt;&lt;P&gt;My current approach is to use a chart (straight table) whose 1 dimension is [Posting Date] with an expression that references itself&lt;/P&gt;&lt;P style="font-style: italic"&gt;if(isnull(below([Value on Hand])), sum([Net Change ($)]), sum([Net Change ($)]) + below([Value on Hand]))&lt;/P&gt;&lt;P style="font-style: italic"&gt;** [Value on Hand] is the name of the expression in the chart I am accumulating&lt;/P&gt;&lt;P&gt;&lt;I&gt;This works great as long as you don't pick 1 month in the middle of the 2 years for example. If I do, my running totals get thrown off. To make this work, the starting balance at the beginning of the chart would need to be recalculated, possibly using variables, a macro or a combo of both.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance you can provide.&lt;/P&gt;&lt;P&gt;-Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2009 08:54:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-17T08:54:37Z</dc:date>
    <item>
      <title>Running Total in a chart (straight table)</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Total-in-a-chart-straight-table/m-p/190394#M590065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;I am trying to display running totals that accumulate by day and keep those in tact when filtering on the date range.&lt;/P&gt;&lt;P&gt;My current approach is to use a chart (straight table) whose 1 dimension is [Posting Date] with an expression that references itself&lt;/P&gt;&lt;P style="font-style: italic"&gt;if(isnull(below([Value on Hand])), sum([Net Change ($)]), sum([Net Change ($)]) + below([Value on Hand]))&lt;/P&gt;&lt;P style="font-style: italic"&gt;** [Value on Hand] is the name of the expression in the chart I am accumulating&lt;/P&gt;&lt;P&gt;&lt;I&gt;This works great as long as you don't pick 1 month in the middle of the 2 years for example. If I do, my running totals get thrown off. To make this work, the starting balance at the beginning of the chart would need to be recalculated, possibly using variables, a macro or a combo of both.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance you can provide.&lt;/P&gt;&lt;P&gt;-Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 08:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Total-in-a-chart-straight-table/m-p/190394#M590065</guid>
      <dc:creator />
      <dc:date>2009-12-17T08:54:37Z</dc:date>
    </item>
  </channel>
</rss>

