<?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 Totals  in two calculated dimensional table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-Totals-in-two-calculated-dimensional-table/m-p/1373157#M419418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, have you tried?:&lt;/P&gt;&lt;P&gt;RangeSum(Before(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; sum(Sales),1, ColumnNo(TOTAL)-1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the same week has to be counted on running totals:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RangeSum(Before(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;TOTAL&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; sum(Sales),&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, ColumnNo(TOTAL)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Nov 2017 19:37:22 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2017-11-26T19:37:22Z</dc:date>
    <item>
      <title>Running Totals  in two calculated dimensional table</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Totals-in-two-calculated-dimensional-table/m-p/1373156#M419417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Colleagues, good day!&lt;/P&gt;&lt;P&gt;Need your consult for the next issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've one simple table with Dates and Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In front-end i've pivot table, which have two calculated dimensions -&amp;gt; to show sales by every weekend&amp;nbsp; (include all dates for corresponded week) and monthend (&lt;SPAN style="font-size: 13.3333px;"&gt;include all dates for corresponded month&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task - calculate running totals sum. (using only set analysis and don't change position of dimensions)&lt;/P&gt;&lt;P&gt;Standard expression like RangeSum(Before(sum(Sales),1, ColumnNo(Total)-1)) doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be glad for any idea how to solve this.&lt;/P&gt;&lt;P&gt;Necessary result&amp;nbsp; is in attached excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2017 12:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Totals-in-two-calculated-dimensional-table/m-p/1373156#M419417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-26T12:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Running Totals  in two calculated dimensional table</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Totals-in-two-calculated-dimensional-table/m-p/1373157#M419418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, have you tried?:&lt;/P&gt;&lt;P&gt;RangeSum(Before(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; sum(Sales),1, ColumnNo(TOTAL)-1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the same week has to be counted on running totals:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RangeSum(Before(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;TOTAL&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; sum(Sales),&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, ColumnNo(TOTAL)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2017 19:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Totals-in-two-calculated-dimensional-table/m-p/1373157#M419418</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-11-26T19:37:22Z</dc:date>
    </item>
  </channel>
</rss>

