<?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 count with nonexistent values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737564#M263752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work. I'm in a chart. I think these formulas work only in a cross table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 12:44:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-12T12:44:54Z</dc:date>
    <item>
      <title>Cumulative count with nonexistent values</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737561#M263749</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;I have a chart with two dimensions :&lt;/P&gt;&lt;P&gt;* &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;x-axis : the month&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;*&amp;nbsp; another dimension who qualify the expression&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I made two expressions :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;* count(distinct sin.id)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;*&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt; count(distinct sin.id) with the option &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;full cumulation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;When I switch&amp;nbsp; in the cumulative view, I don't find the correct result. In fact, I found 86 instead au 87 because of nonexistent values for one couple of dimensions.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;How did you force Qlikview&amp;nbsp; to report the values of a previous month to the next month even if the value doesn't exist ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 08:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737561#M263749</guid>
      <dc:creator />
      <dc:date>2014-08-08T08:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative count with nonexistent values</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737562#M263750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sabrina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I would advise you to get rid of blank values (those in amber and with - )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the front-end:&lt;/P&gt;&lt;P&gt;I think the easiest would be to make a check for the existance of the measure.&lt;/P&gt;&lt;P&gt;If it exists, fine, &lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;go bring the previous month value using Set Analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the script:&lt;/P&gt;&lt;P&gt;Create a mapping for the complete set of values&lt;/P&gt;&lt;P&gt;then,&lt;/P&gt;&lt;P&gt;Identify those missing values (via ie len(field) &amp;gt; 0 check)&lt;/P&gt;&lt;P&gt;and then replace those missing values with the mapping table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Courage,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: if you post an application, people might be able to help you faster &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 15:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737562#M263750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-08T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative count with nonexistent values</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737563#M263751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about using the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(aggr(Count(distinct sin.id),Month),0,rowno())&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;rangesum(above(aggr(Count(distinct sin.id),Month),0,rowno(Total))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 15:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737563#M263751</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-08-08T15:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative count with nonexistent values</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737564#M263752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work. I'm in a chart. I think these formulas work only in a cross table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737564#M263752</guid>
      <dc:creator />
      <dc:date>2014-08-12T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative count with nonexistent values</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737565#M263753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your explication, I replace the real dimension by a fake in case of non existent values ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-count-with-nonexistent-values/m-p/737565#M263753</guid>
      <dc:creator />
      <dc:date>2014-08-12T12:46:29Z</dc:date>
    </item>
  </channel>
</rss>

