<?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 in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Qlikview/m-p/1183387#M883631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to show Cumulative sum in a Qlikview Pivot Table. I have created a dimension table required for the Report and assigned proper keys to the rows that need cumulative sum.&lt;/P&gt;&lt;P&gt;The formula for the Cumulative sum works fine,but if there is a gap in the data e.g. for certain dimension there is no data then the Cumulative cell is blank.Attached sample table for Expected and Actual result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula I use is as below :&lt;/P&gt;&lt;P&gt;=IF(MATCH(D1_KEY,'C1','C2','C3'),RANGESUM(BEFORE(TOTAL SUM(Amount),0,ColumnNo(TOTAL))),SUM(Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that one solution is to have at least dummy 0 value for amount for all dimensions,but my data is huge and there can be many permutations and combinations so very difficult to populate 0 for all dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if there is any way to tweak the Set Analysis to get the desired result.&lt;/P&gt;&lt;P&gt;Expected and Actual result as attached,highlighted in Orange are the cells not getting populated but i need the result same as in the Expected result Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>prachisangewar</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Cumulative Sum in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Qlikview/m-p/1183387#M883631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to show Cumulative sum in a Qlikview Pivot Table. I have created a dimension table required for the Report and assigned proper keys to the rows that need cumulative sum.&lt;/P&gt;&lt;P&gt;The formula for the Cumulative sum works fine,but if there is a gap in the data e.g. for certain dimension there is no data then the Cumulative cell is blank.Attached sample table for Expected and Actual result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula I use is as below :&lt;/P&gt;&lt;P&gt;=IF(MATCH(D1_KEY,'C1','C2','C3'),RANGESUM(BEFORE(TOTAL SUM(Amount),0,ColumnNo(TOTAL))),SUM(Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that one solution is to have at least dummy 0 value for amount for all dimensions,but my data is huge and there can be many permutations and combinations so very difficult to populate 0 for all dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if there is any way to tweak the Set Analysis to get the desired result.&lt;/P&gt;&lt;P&gt;Expected and Actual result as attached,highlighted in Orange are the cells not getting populated but i need the result same as in the Expected result Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&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-in-Qlikview/m-p/1183387#M883631</guid>
      <dc:creator>prachisangewar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

