<?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 problem with cumultaive values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-cumultaive-values/m-p/406358#M151176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for culmutaive values&amp;nbsp; ----i'm using a expresion &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= rangesum(above(sum(sales)),o,rowno(total))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it working fine &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the the issue is we want to supress values where sum(sales) =0 because in cumulATIVE we cannot see this zero value because it's show&amp;nbsp; a previous values so the line chart is linear all over &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i show my sUM(sales) =0 as 0 in cumulative..and once it's zero it can be suppresed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;rangesum( if(sum(sales)=0,0,sum(sales)),0,RowNo(TOTAL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this didn't worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion plz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2013 17:49:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-05T17:49:02Z</dc:date>
    <item>
      <title>problem with cumultaive values</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-cumultaive-values/m-p/406358#M151176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for culmutaive values&amp;nbsp; ----i'm using a expresion &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= rangesum(above(sum(sales)),o,rowno(total))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it working fine &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the the issue is we want to supress values where sum(sales) =0 because in cumulATIVE we cannot see this zero value because it's show&amp;nbsp; a previous values so the line chart is linear all over &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i show my sUM(sales) =0 as 0 in cumulative..and once it's zero it can be suppresed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;rangesum( if(sum(sales)=0,0,sum(sales)),0,RowNo(TOTAL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this didn't worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion plz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 17:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-cumultaive-values/m-p/406358#M151176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-05T17:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: problem with cumultaive values</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-cumultaive-values/m-p/406359#M151177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if I understood you correctly, this is one way to do it :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the following example data :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jan, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; feb, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mar, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; apr, 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; may, 40&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jun, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jul, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a new straight table, add F1 as a dimension, then create the follwing 2 expressions :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Label : F2sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition:&lt;/P&gt;&lt;P&gt;=rangesum( sum(F2),Above(F2sum))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will create the cumulative column, then create the final expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(sum(F2) &amp;lt;&amp;gt; 0, F2sum) // to show null where sum is zero or&lt;/P&gt;&lt;P&gt;=if(sum(F2) &amp;lt;&amp;gt; 0, F2sum, 0) // to show zeroes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to Presentation, select the F2sum column and hide it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 18:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-cumultaive-values/m-p/406359#M151177</guid>
      <dc:creator />
      <dc:date>2013-02-05T18:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem with cumultaive values</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-cumultaive-values/m-p/406360#M151178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for your reply &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is working for this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Actual Production]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0,0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Actual Production]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 18:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-cumultaive-values/m-p/406360#M151178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-05T18:39:17Z</dc:date>
    </item>
  </channel>
</rss>

