<?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: Pivot table---cummulative--rangesum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836912#M294320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Before(Sum(Sales),0,ColumnNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also attaching your application for reference. (PFA)&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>Mon, 11 May 2015 17:38:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-11T17:38:24Z</dc:date>
    <item>
      <title>Pivot table---cummulative--rangesum</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836911#M294319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need some help with doing cumulative in the pivot table&amp;nbsp; since the full accumulation is disabled for the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could get the cumulative values using rangesum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need the pivot table in a particular format. As soon as I chnage it to that format&amp;nbsp; values becomes zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the image too.&lt;/P&gt;&lt;P&gt;I want the values to be incorporated in the Test table format. i.e months as columns and all the values as a single row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 17:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836911#M294319</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-11T17:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table---cummulative--rangesum</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836912#M294320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Before(Sum(Sales),0,ColumnNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also attaching your application for reference. (PFA)&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>Mon, 11 May 2015 17:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836912#M294320</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-11T17:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table---cummulative--rangesum</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836913#M294321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you plz explain me why the other one didnt work and why this did?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 18:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836913#M294321</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-11T18:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table---cummulative--rangesum</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836914#M294322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌So when a dimension is pivoted, the alternative of &lt;STRONG&gt;above/below&lt;/STRONG&gt; is &lt;STRONG&gt;before/after&lt;/STRONG&gt;. So in order for the pivoted thing to work for you, you needed &lt;STRONG&gt;before&lt;/STRONG&gt; here. Additionally, instead of &lt;STRONG&gt;rangesumming&lt;/STRONG&gt; on &lt;STRONG&gt;RowNo()&lt;/STRONG&gt; you needed to do it on &lt;STRONG&gt;ColumNo()&lt;/STRONG&gt; becuase &lt;STRONG&gt;RowNo()&lt;/STRONG&gt; stays the same (1 in your case), but &lt;STRONG&gt;ColumnNo()&lt;/STRONG&gt; changes, and that is what you want for your &lt;STRONG&gt;RangeSum()&lt;/STRONG&gt; to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that this make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 18:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/836914#M294322</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-11T18:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table---cummulative--rangesum</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/1690696#M450624</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;the formula worked fine when i need the simple cumulative sum of sales . but when i need the cumulative sum of sales for each Year it' s not worked , haw can i change or configure this formula ?&lt;/P&gt;&lt;P&gt;= rangesum(before(sum (sales),0,columnno()))&amp;nbsp;&lt;/P&gt;&lt;P&gt;for exp in Dec-2017 : sum_cumulative = 2 000 000 and in Jan-2018 :&amp;nbsp; sum culmulative = 34 000 (this is the sum of sales in Jan-2018 , so he begin a new calculation )&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 10:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-cummulative-rangesum/m-p/1690696#M450624</guid>
      <dc:creator>ahmadov_10</dc:creator>
      <dc:date>2020-04-03T10:28:06Z</dc:date>
    </item>
  </channel>
</rss>

