<?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 expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449582#M1162467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam looking for something to calculate cumulative expression for the following requirement, i tried with many options but couldn't succeed.... Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my expression for the bar chart:&lt;/P&gt;&lt;P&gt;=((sum(A)-Sum(B))/Sum(A))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam calculting the cumulative expression as a line in the same chart.&lt;/P&gt;&lt;P&gt;for the first month , the expression is same &lt;/P&gt;&lt;P&gt;=((sum(A) for Jan-Sum(B) for Jan)/(Sum(A) for Jan)*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the second month, i want to find the ((sum(A) for Jan, Feb - Sum(B) for Jan,Feb)/(Sum(A) for Jan, Feb))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the third month, i want to find the ((sum(A) for Jan, Feb,Mar - Sum(B) for Jan,Feb,Mar) /&amp;nbsp; (Sum(A) for Jan, Feb,Mar))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attachment for the qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 21:13:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-18T21:13:50Z</dc:date>
    <item>
      <title>Cumulative expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449582#M1162467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam looking for something to calculate cumulative expression for the following requirement, i tried with many options but couldn't succeed.... Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my expression for the bar chart:&lt;/P&gt;&lt;P&gt;=((sum(A)-Sum(B))/Sum(A))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam calculting the cumulative expression as a line in the same chart.&lt;/P&gt;&lt;P&gt;for the first month , the expression is same &lt;/P&gt;&lt;P&gt;=((sum(A) for Jan-Sum(B) for Jan)/(Sum(A) for Jan)*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the second month, i want to find the ((sum(A) for Jan, Feb - Sum(B) for Jan,Feb)/(Sum(A) for Jan, Feb))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the third month, i want to find the ((sum(A) for Jan, Feb,Mar - Sum(B) for Jan,Feb,Mar) /&amp;nbsp; (Sum(A) for Jan, Feb,Mar))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attachment for the qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 21:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449582#M1162467</guid>
      <dc:creator />
      <dc:date>2012-12-18T21:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449583#M1162468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Siva, see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 21:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449583#M1162468</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-12-18T21:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449584#M1162469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;excellent,&amp;nbsp; Thanks a lot for your prompt reply....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working fine with actual data....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only Problem is, iam getting the cumulative value for all the months, eventhough i didn't have the data for some months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean i have data from Jan to Jul.... Your expression is excellently working for&amp;nbsp; these months..... &lt;/P&gt;&lt;P&gt;But from Aug to Dec (No data for these months) but it is showing Jul data(Cumulative) constantly for all these months. How can i fix this? Do you have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please check the attachment for the graph....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 22:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449584#M1162469</guid>
      <dc:creator />
      <dc:date>2012-12-18T22:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449585#M1162470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just insert an IF statement at the beginning of the Cumulative Variance expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(rangesum(column(1))&amp;lt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(A)&amp;lt;&amp;gt;0,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 12:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-expression/m-p/449585#M1162470</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-12-19T12:53:36Z</dc:date>
    </item>
  </channel>
</rss>

