<?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: Count of rows with no nulls? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051996#M352989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sum(if(LEN(Field)=0,1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2016 03:45:34 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2016-04-19T03:45:34Z</dc:date>
    <item>
      <title>Count of rows with no nulls?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051992#M352985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement where I need to count the number of rows in a column which has no nulls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone please help me solving this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached which has example .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 20:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051992#M352985</guid>
      <dc:creator>qlikuser222</dc:creator>
      <dc:date>2016-04-18T20:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count of rows with no nulls?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051993#M352986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg(Days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg will ignore nulls, therefore giving you the correct answer in your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 21:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051993#M352986</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-04-18T21:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count of rows with no nulls?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051994#M352987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicholas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Avg() will also ignore your empty Days values (they are not NULL, they still show a value in your sample, have a look at the list box, there is an empty entry) and also all values that are not a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, as Rob suggested, &lt;EM&gt;Avg(Days)&lt;/EM&gt; will do the Job perfectly in your setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to keep to your original approach using a division, you could do it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum(Days) / NumericCount(Days)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 21:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051994#M352987</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-18T21:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count of rows with no nulls?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051995#M352988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking to do this in the text box or the chart itself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 22:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051995#M352988</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-18T22:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count of rows with no nulls?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051996#M352989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sum(if(LEN(Field)=0,1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 03:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-rows-with-no-nulls/m-p/1051996#M352989</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-04-19T03:45:34Z</dc:date>
    </item>
  </channel>
</rss>

