<?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 pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-total-in-a-pivot-table/m-p/1263848#M398340</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;IMG alt="Table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151372_Table.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In the table above I have used the expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(vBalance)+RangeSum(Above(TOTAL Column(1) - Column(2), 0, NoOfRows(TOTAL)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to get the Balance column. Now I need to represent the same data in a pivot table as follows&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Balnc.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/151398_Balnc.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I've used &lt;STRONG&gt;($(vBalance)+RangeSum(before(TOTAL sum(Arrival) - sum(Dispatches), 0, ColumnNo(TOTAL))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;which gives the 1st row(for Jan) of the pivot table right.&lt;SPAN style="font-size: 13.3333px;"&gt;But gives incorrect results for the other rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have attached the application I've been working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with creating the table I wish for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 11:29:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-31T11:29:18Z</dc:date>
    <item>
      <title>Running total in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-in-a-pivot-table/m-p/1263848#M398340</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;IMG alt="Table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151372_Table.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In the table above I have used the expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(vBalance)+RangeSum(Above(TOTAL Column(1) - Column(2), 0, NoOfRows(TOTAL)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to get the Balance column. Now I need to represent the same data in a pivot table as follows&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Balnc.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/151398_Balnc.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I've used &lt;STRONG&gt;($(vBalance)+RangeSum(before(TOTAL sum(Arrival) - sum(Dispatches), 0, ColumnNo(TOTAL))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;which gives the 1st row(for Jan) of the pivot table right.&lt;SPAN style="font-size: 13.3333px;"&gt;But gives incorrect results for the other rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have attached the application I've been working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with creating the table I wish for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 11:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-in-a-pivot-table/m-p/1263848#M398340</guid>
      <dc:creator />
      <dc:date>2017-01-31T11:29:18Z</dc:date>
    </item>
  </channel>
</rss>

