<?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 null values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884359#M72840</link>
    <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162973"&gt;@Kamryn&lt;/a&gt;&amp;nbsp;, still looking for a solution. I will share it if I find something. Don't hesitate to share as well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 10:09:48 GMT</pubDate>
    <dc:creator>Amal</dc:creator>
    <dc:date>2022-01-24T10:09:48Z</dc:date>
    <item>
      <title>Cumulative Count with null values</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1883988#M72798</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want a line chart with a cumulative count in my Qlik Sense App. So, what I have done is this expression :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aggr(&lt;BR /&gt;RangeSum(&lt;BR /&gt;Above(COUNT ( VEHICULE_NUMBER ), 0, RowNo())&lt;BR /&gt;)&lt;BR /&gt;,[Date]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;In the dimension, I have a date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Although, for some date, I don't have VEHICULE_NUMBER so, the line chart is not continous, it has blanks.&lt;/P&gt;
&lt;P&gt;What I want here, is that instead of the null value, to pick up the last value of my count which was not null. For exemple in my line chart I have :&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;date&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;what I have&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;what I want&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;2014&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;14&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;14&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;2015&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;18&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;18&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="40px"&gt;
&lt;P&gt;2016&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="40px"&gt;-&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="40px"&gt;18&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="40px"&gt;
&lt;P&gt;2017&lt;/P&gt;
&lt;/TD&gt;
&lt;TD height="40px"&gt;-&lt;/TD&gt;
&lt;TD height="40px"&gt;18&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="40px"&gt;
&lt;P&gt;2018&lt;/P&gt;
&lt;/TD&gt;
&lt;TD height="40px"&gt;20&lt;/TD&gt;
&lt;TD height="40px"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="40px"&gt;
&lt;P&gt;2019&lt;/P&gt;
&lt;/TD&gt;
&lt;TD height="40px"&gt;21&lt;/TD&gt;
&lt;TD height="40px"&gt;21&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to simplify my count here for you to understand the problem, but the set analysis is huge and contains many conditions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any suggestions ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to take the value "above" but in my example, it fulled only the line 2016 and not the 2017. I need it to take the last not null count.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 16:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1883988#M72798</guid>
      <dc:creator>Amal</dc:creator>
      <dc:date>2022-01-21T16:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count with null values</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884105#M72808</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aggr(RangeSum(above(sum(Sales),0,3)),Product,DATE)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 01:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884105#M72808</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2022-01-22T01:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count with null values</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884118#M72810</link>
      <description>&lt;P&gt;t1:&lt;BR /&gt;load * inline [&lt;BR /&gt;dt,val&lt;BR /&gt;2014,14&lt;BR /&gt;2015,18&lt;BR /&gt;2016,&lt;BR /&gt;2017,&lt;BR /&gt;2018,20&lt;BR /&gt;2019,21&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;noconcatenate&lt;BR /&gt;t:&lt;BR /&gt;load *,if(len(val)=0,peek(t),val) as t resident t1 order by dt;&lt;BR /&gt;drop table t1;&lt;BR /&gt;exit script;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 07:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884118#M72810</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-01-22T07:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count with null values</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884119#M72811</link>
      <description>&lt;P&gt;t1:&lt;BR /&gt;load *,if(len(val)=0,peek(t),val) as t;&lt;BR /&gt;load * inline [&lt;BR /&gt;dt,val&lt;BR /&gt;2014,14&lt;BR /&gt;2015,18&lt;BR /&gt;2016,&lt;BR /&gt;2017,&lt;BR /&gt;2018,20&lt;BR /&gt;2019,21&lt;BR /&gt;];&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 07:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884119#M72811</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-01-22T07:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count with null values</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884326#M72838</link>
      <description>&lt;P&gt;Hello, thanks for your replies.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47358"&gt;@anat&lt;/a&gt;&amp;nbsp;peek function is only usable in the script. I would like a solution to use in the graph. My count function contains a lot of Set Analytics. Do you have any other solutions ? Thanks, I will see if something like this is possible.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;I want that the function takes the last non-null value, putting '3' will not adapte to every situations, thanks anyway.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 09:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884326#M72838</guid>
      <dc:creator>Amal</dc:creator>
      <dc:date>2022-01-24T09:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count with null values</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884359#M72840</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162973"&gt;@Kamryn&lt;/a&gt;&amp;nbsp;, still looking for a solution. I will share it if I find something. Don't hesitate to share as well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 10:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Count-with-null-values/m-p/1884359#M72840</guid>
      <dc:creator>Amal</dc:creator>
      <dc:date>2022-01-24T10:09:48Z</dc:date>
    </item>
  </channel>
</rss>

