<?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 Set with Null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-with-Null-values/m-p/217213#M500700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace NULL value by the string value - "NULLFailureType"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; ....&lt;BR /&gt; if(isNull(FailureType, 'NULLFailureType', FailureType)) as FailureType&lt;BR /&gt; ....&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;After that you can use your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum({&amp;lt;FailureType={"NULLFailureType"}&amp;gt;}MaintenanceCount)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 17:25:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-15T17:25:56Z</dc:date>
    <item>
      <title>Set with Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-with-Null-values/m-p/217212#M500699</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've a "Maintenances" table with 2 fields: FailureType and MaintenacesCount.&lt;BR /&gt;I wuold like to count all the maintenances where FailureType is null.&lt;BR /&gt;I'm using the expression below, which works correctly:&lt;/P&gt;&lt;P&gt;sum(MaintenancesCount) - sum({&amp;lt;FailureType={*}&amp;gt;}MaintenancesCount)&lt;BR /&gt;&lt;BR /&gt;As you see, I get what I need subtracting 2 sets.&lt;BR /&gt;Is there a way to describe a set of null values? Something like this (which doesnt work)&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;FailureType={null}&amp;gt;}MaintenanceCount)&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt; Corrado&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 16:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-with-Null-values/m-p/217212#M500699</guid>
      <dc:creator />
      <dc:date>2011-02-15T16:50:22Z</dc:date>
    </item>
    <item>
      <title>Set with Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-with-Null-values/m-p/217213#M500700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace NULL value by the string value - "NULLFailureType"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; ....&lt;BR /&gt; if(isNull(FailureType, 'NULLFailureType', FailureType)) as FailureType&lt;BR /&gt; ....&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;After that you can use your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum({&amp;lt;FailureType={"NULLFailureType"}&amp;gt;}MaintenanceCount)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 17:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-with-Null-values/m-p/217213#M500700</guid>
      <dc:creator />
      <dc:date>2011-02-15T17:25:56Z</dc:date>
    </item>
  </channel>
</rss>

