<?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: NullCount() returns 1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NullCount-returns-1/m-p/1513686#M440847</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The "issue" appears from the load script. As it is your script, there is an implicit outer join, therefore although at the Symbol table level (Men) you haven't any nulls, at the "Table" level you have. This is apparent in your&amp;nbsp; chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Christos K.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Nov 2018 15:08:19 GMT</pubDate>
    <dc:creator>ckarras22</dc:creator>
    <dc:date>2018-11-28T15:08:19Z</dc:date>
    <item>
      <title>NullCount() returns 1</title>
      <link>https://community.qlik.com/t5/QlikView/NullCount-returns-1/m-p/1512641#M440845</link>
      <description>&lt;P&gt;Recently I noticed QlikView behavior&amp;nbsp;that drawn my attention. Consider the following code:&lt;/P&gt;&lt;PRE&gt;Men:
LOAD

	Id as Men.Id,
	Id as Key.Id,
	Name as Men.Name
	
INLINE [

	'Id', 'Name'
	'1', 'Arthur'

];

Women:
LOAD

	Id as Women.Id,
	Id as Key.Id,
	Name as Women.Name

INLINE [

	'Id', 'Name'
	'1', 'Elizabeth'
	'2', 'Amanda'

];&lt;/PRE&gt;&lt;P&gt;Elizabeth&amp;nbsp;is a lucky woman while Amanda was&amp;nbsp;left with no partner. This leads to interesting consequence. After loading this script, with no selections, "NullCount(Women.Id)" will return "0" while "NullCount(Men.Id)" will return "1". Can someone explain me&amp;nbsp;why, in this scenario, chart expressions finds row of NULLs in "Men" table?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullCount-returns-1/m-p/1512641#M440845</guid>
      <dc:creator>Samuel</dc:creator>
      <dc:date>2024-11-16T05:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: NullCount() returns 1</title>
      <link>https://community.qlik.com/t5/QlikView/NullCount-returns-1/m-p/1512664#M440846</link>
      <description>&lt;P&gt;I think the reason is that nullcount() is an aggregation-function and needs a dimension against the calculation could be performed - within the script-load it are the fields within the group by statement and within the UI it takes the key-fields from the table it belongs to.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 08:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullCount-returns-1/m-p/1512664#M440846</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-27T08:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: NullCount() returns 1</title>
      <link>https://community.qlik.com/t5/QlikView/NullCount-returns-1/m-p/1513686#M440847</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The "issue" appears from the load script. As it is your script, there is an implicit outer join, therefore although at the Symbol table level (Men) you haven't any nulls, at the "Table" level you have. This is apparent in your&amp;nbsp; chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Christos K.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 15:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullCount-returns-1/m-p/1513686#M440847</guid>
      <dc:creator>ckarras22</dc:creator>
      <dc:date>2018-11-28T15:08:19Z</dc:date>
    </item>
  </channel>
</rss>

