<?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 Cumulative sum of data in pivot Table column wise in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247483#M850189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is that I have to show cumulative sum of data column wise in a pivot table. The Expression I'm using is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum( Before(Sum( PatientCount),0,ColumnNo()))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" height="80" src="https://community.qlik.com/legacyfs/online/156930_Untitled.png" style="height: 80px; width: 763.077px;" width="763" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference I'm showing the table output. The dimensions taken in table are year, MonthOfYear, patientCategory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\In that case I'm facing two chalanges. &lt;/P&gt;&lt;P&gt;1. The expression is doing the cumulative sum for one year, when a new year starts, the first data is not the cumulative sum data, rather it is the real data only. Just like in table, cumulative sum upto 15-12 is fine, but when 16-01 starts, it is not the cumulative data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The range coming up to 17-04. But I have data up to 17-02 in my data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be highly appreciable if someone give me some possible solution for these problems.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Cumulative sum of data in pivot Table column wise</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247483#M850189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is that I have to show cumulative sum of data column wise in a pivot table. The Expression I'm using is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum( Before(Sum( PatientCount),0,ColumnNo()))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" height="80" src="https://community.qlik.com/legacyfs/online/156930_Untitled.png" style="height: 80px; width: 763.077px;" width="763" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference I'm showing the table output. The dimensions taken in table are year, MonthOfYear, patientCategory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\In that case I'm facing two chalanges. &lt;/P&gt;&lt;P&gt;1. The expression is doing the cumulative sum for one year, when a new year starts, the first data is not the cumulative sum data, rather it is the real data only. Just like in table, cumulative sum upto 15-12 is fine, but when 16-01 starts, it is not the cumulative data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The range coming up to 17-04. But I have data up to 17-02 in my data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be highly appreciable if someone give me some possible solution for these problems.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247483#M850189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of data in pivot Table column wise</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247484#M850190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;If(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(PatientCount)&lt;/SPAN&gt; &amp;gt; 0,&lt;/SPAN&gt; RangeSum(Before(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; Sum(PatientCount), 0, ColumnNo(&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TOTAL&lt;/SPAN&gt;))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 08:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247484#M850190</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-21T08:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of data in pivot Table column wise</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247485#M850191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum( Before(Sum(&lt;STRONG&gt;&lt;EM&gt;{&amp;lt; PatientCount = {'*'}&amp;gt;}&lt;/EM&gt;&lt;/STRONG&gt; &lt;STRONG&gt;TOTAL &amp;lt;Patient_Monitoring&amp;gt;&lt;/STRONG&gt; PatientCount),0,ColumnNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 08:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247485#M850191</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-21T08:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of data in pivot Table column wise</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247486#M850192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concern is that "if" logic affects performance. So I'm trying to avoid it unless absolutely necessary... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247486#M850192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-21T10:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of data in pivot Table column wise</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247487#M850193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus, this one is working fine.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247487#M850193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-21T10:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum of data in pivot Table column wise</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247488#M850194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close the thread by marking Marcus's response if you got what you were looking for.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-sum-of-data-in-pivot-Table-column-wise/m-p/1247488#M850194</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-21T10:55:18Z</dc:date>
    </item>
  </channel>
</rss>

