<?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 Using 'Before' on Pivot with Sub-Totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209678#M64577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached example file.&lt;/P&gt;&lt;P&gt;I do not seem to be able to populate the next month after CummValue/Total (e.g April has started at 10 instead of 71) as it seems to be reading a NULL value and then re-starting the cumulative value.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2011 18:07:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-11T18:07:42Z</dc:date>
    <item>
      <title>Using 'Before' on Pivot with Sub-Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209678#M64577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached example file.&lt;/P&gt;&lt;P&gt;I do not seem to be able to populate the next month after CummValue/Total (e.g April has started at 10 instead of 71) as it seems to be reading a NULL value and then re-starting the cumulative value.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 18:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209678#M64577</guid>
      <dc:creator />
      <dc:date>2011-04-11T18:07:42Z</dc:date>
    </item>
    <item>
      <title>Using 'Before' on Pivot with Sub-Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209679#M64578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Chris,&lt;/P&gt;&lt;P&gt;I would suggest you do it at script level. It would be an easy method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 04:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209679#M64578</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-04-12T04:58:20Z</dc:date>
    </item>
    <item>
      <title>Using 'Before' on Pivot with Sub-Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209680#M64579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepak, do you have an example script you could share?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 07:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209680#M64579</guid>
      <dc:creator />
      <dc:date>2011-04-12T07:38:20Z</dc:date>
    </item>
    <item>
      <title>Using 'Before' on Pivot with Sub-Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209681#M64580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check out the forum..&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/43895.aspx"&gt;http://community.qlik.com/forums/t/43895.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we have discussed the same issue in this forum.&lt;/P&gt;&lt;P&gt;In the attch application u will find the script part also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 08:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209681#M64580</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-04-12T08:17:55Z</dc:date>
    </item>
    <item>
      <title>Using 'Before' on Pivot with Sub-Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209682#M64581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;You have several dimensions and you want to do a sum "avoiding" some of them (in this case, not having into account "Quarter" so it keeps adding month after month).&lt;/P&gt;&lt;P&gt;In your chart try the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;RangeSum(Before(TOTAL Sum(Value), 0, ColumnNo(TOTAL)))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;EDIT: If you want only one expression to get partial sums per quarter but monthly sum accumulation, use something like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(ColumnNo() = 0, Sum(TOTAL Value) , RangeSum(Before(TOTAL Sum(Value), 0, ColumnNo(TOTAL))))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Note that the funcion used is Before() and ColumnNo() but if you pivot some of the dimensions you may need to change to Above() and RowNo() instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 09:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209682#M64581</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-12T09:06:56Z</dc:date>
    </item>
    <item>
      <title>Using 'Before' on Pivot with Sub-Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209683#M64582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;This is very helpful!&lt;/P&gt;&lt;P&gt;How do I get the Quarter to accumulate e.g Q1 = 61, Apr=10, May=0 &amp;amp; June=10, therefore Q2 needs to show 81.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 09:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Before-on-Pivot-with-Sub-Totals/m-p/209683#M64582</guid>
      <dc:creator />
      <dc:date>2011-04-12T09:25:07Z</dc:date>
    </item>
  </channel>
</rss>

