<?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: cumulative calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824364#M290436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a expression and give a label "new" then use this expression: amendment might require&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;stdt&amp;gt;sales)-RangeSum(Alt(Before(new),0),Sum(sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Alt(Before(new),0),Sum(sales)) will give you the cumulative sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 07:27:05 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2015-03-18T07:27:05Z</dc:date>
    <item>
      <title>cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824360#M290432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends ,&lt;/P&gt;&lt;P&gt;I have struck in creating the pivot table.&lt;/P&gt;&lt;P&gt;I want to calculate the&amp;nbsp; values in the expression as (&lt;STRONG&gt;subtotal - current cell&lt;/STRONG&gt; ).&lt;/P&gt;&lt;P&gt;for example : I am having two dates (start date and end date) as dimension&amp;nbsp; and&amp;nbsp; one expression&amp;nbsp; sales as fact.&lt;/P&gt;&lt;P&gt;By creating the pivot table , i am using the start date and end date as dimension and in the expression as sales.&lt;/P&gt;&lt;P&gt;In the expression , i want to show the value as &lt;STRONG&gt;subtotal of the row&amp;nbsp; - current cell value&lt;/STRONG&gt; for that i am using &lt;STRONG&gt;sum(total sales) - sum(sales)&lt;/STRONG&gt;.But it is given the value&amp;nbsp; as , total sales of the current sales.i am not able to find the solution&lt;/P&gt;&lt;P&gt;kindly grab some time to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 04:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824360#M290432</guid>
      <dc:creator>kumarkp412</dc:creator>
      <dc:date>2015-03-18T04:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824361#M290433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Over here the issue is because of start date and end date. Both are in dates but if Start date is Jan the End date may be Feb. Because of this the mismatch is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So take only start date as dimension, and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 05:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824361#M290433</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-03-18T05:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824362#M290434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply ,&lt;/P&gt;&lt;P&gt;But i want to show the two dates&amp;nbsp; in the dimension and take the value for that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 05:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824362#M290434</guid>
      <dc:creator>kumarkp412</dc:creator>
      <dc:date>2015-03-18T05:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824363#M290435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can use the set analysis in expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 07:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824363#M290435</guid>
      <dc:creator />
      <dc:date>2015-03-18T07:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824364#M290436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a expression and give a label "new" then use this expression: amendment might require&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;stdt&amp;gt;sales)-RangeSum(Alt(Before(new),0),Sum(sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Alt(Before(new),0),Sum(sales)) will give you the cumulative sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 07:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824364#M290436</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-03-18T07:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824365#M290437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishnama ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this how to use the set analysis ,.can you give me one example please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 07:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824365#M290437</guid>
      <dc:creator>kumarkp412</dc:creator>
      <dc:date>2015-03-18T07:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824366#M290438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use set analysis In this kind. Find the below URLs they mya help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/79709"&gt;Set analysis using date range?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/66598"&gt;Set Analysis for Prior Periods Cumulative Sum with Non Contiguous Period Selections&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4313"&gt;QlikView App: Set Analysis - Prior Period Comparison&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 07:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824366#M290438</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2015-03-18T07:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative calculation</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824367#M290439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is giving the different value , what i&amp;nbsp; required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 09:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-calculation/m-p/824367#M290439</guid>
      <dc:creator>kumarkp412</dc:creator>
      <dc:date>2015-03-18T09:57:23Z</dc:date>
    </item>
  </channel>
</rss>

