<?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: Accumulation in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814760#M287387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the help. I couldn't get the rangesum solution to work in the chart for some reason, so I just added a cumulative column to the script and used rangesum and peek to built it out there. Thanks again for all the suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Jan 2015 20:06:53 GMT</pubDate>
    <dc:creator>mhassinger</dc:creator>
    <dc:date>2015-01-25T20:06:53Z</dc:date>
    <item>
      <title>Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814753#M287380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right now I have a pivot table that looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan 2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb 2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar 2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total Users | Migrated | % Migrated&amp;nbsp;&amp;nbsp; Total Users | Migrated | % Migrated&amp;nbsp;&amp;nbsp;&amp;nbsp; Total Users | Migrated | % Migrated&lt;/P&gt;&lt;P&gt;USA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;UK&lt;/P&gt;&lt;P&gt;Germany&lt;BR /&gt;France&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So 2 dimensions (MonthYear and Country) and 3 expressions (Total Users, Migrated, and % Migrated)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Users = Sum(TotalUsers)&lt;/P&gt;&lt;P&gt;Migrated = Count({&amp;lt;MigrationStatus={'Migration Completed'}&amp;gt;}UserName)&lt;/P&gt;&lt;P&gt;% Migrated = Migrated / Total Users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to be able to do is have the Migrated expression become cumulative, so that if if USA migrated 100 users in Jan and 200 in Feb, the value in Feb should be 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I go about re-writing the expression? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 20:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814753#M287380</guid>
      <dc:creator>mhassinger</dc:creator>
      <dc:date>2015-01-19T20:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814754#M287381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try to do the cumulative count at the script level itself. I can be more helpful if you have a sample qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 20:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814754#M287381</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-01-19T20:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814755#M287382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make your pivot table expressions cumulative by wrapping them in a rangesum(before()) function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;rangesum(before(&lt;SPAN style="color: #3d3d3d;"&gt;Sum(TotalUsers)&lt;/SPAN&gt;,0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 20:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814755#M287382</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-19T20:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814756#M287383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Valuelist() to disconnect your dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 20:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814756#M287383</guid>
      <dc:creator>jonasheisterkam</dc:creator>
      <dc:date>2015-01-19T20:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814757#M287384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Rob. Please see attached example.&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75684_Capture.PNG" style="font-size: 10pt; line-height: 1.5em; height: 70px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 21:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814757#M287384</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-01-19T21:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814758#M287385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attaching my own QV file to see if anyone can see what I'm doing wrong. If you look at the "Migrated" expression, you'll see that I'm trying to use the rangesum and before functions, but it isn't producing the expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 19:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814758#M287385</guid>
      <dc:creator>mhassinger</dc:creator>
      <dc:date>2015-01-20T19:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814759#M287386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mistake. The rowno() won't always work properly as a counter. Use 999 instead as the row counter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(before(Count({&amp;lt;MigrationStatus={'Migration Completed'}&amp;gt;}DisplayName),0,&lt;STRONG&gt;999&lt;/STRONG&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make 999 bigger if you have more date than that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 19:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814759#M287386</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-20T19:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814760#M287387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the help. I couldn't get the rangesum solution to work in the chart for some reason, so I just added a cumulative column to the script and used rangesum and peek to built it out there. Thanks again for all the suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2015 20:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-pivot-table/m-p/814760#M287387</guid>
      <dc:creator>mhassinger</dc:creator>
      <dc:date>2015-01-25T20:06:53Z</dc:date>
    </item>
  </channel>
</rss>

