<?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 In Set Analysis can you exclude certain values but still count nulls in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312992#M1178254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to exclude certain values from being counted in an Expression, but still want nulls to be counted,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following script is designed to count the number of students who are PG and Awarded e.g. count number of Internal IDs where the Level Code is PG and Award Status is AW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}&amp;gt; [Internal ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I also need to exclude records where another field, the Honour Code, has a value of 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}, [Honour Code] -= {'3'}&amp;gt; [Internal ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works and records where the Honour Code = 3 are excluded from the count, however (as expected) all records where the Honour Code is Null are also&amp;nbsp; excluded from the count and they need to be included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way of excluding certain values from a count, whilst still counting the Nulls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 14:05:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-23T14:05:43Z</dc:date>
    <item>
      <title>In Set Analysis can you exclude certain values but still count nulls</title>
      <link>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312992#M1178254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to exclude certain values from being counted in an Expression, but still want nulls to be counted,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following script is designed to count the number of students who are PG and Awarded e.g. count number of Internal IDs where the Level Code is PG and Award Status is AW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}&amp;gt; [Internal ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I also need to exclude records where another field, the Honour Code, has a value of 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}, [Honour Code] -= {'3'}&amp;gt; [Internal ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works and records where the Honour Code = 3 are excluded from the count, however (as expected) all records where the Honour Code is Null are also&amp;nbsp; excluded from the count and they need to be included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way of excluding certain values from a count, whilst still counting the Nulls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312992#M1178254</guid>
      <dc:creator />
      <dc:date>2012-02-23T14:05:43Z</dc:date>
    </item>
    <item>
      <title>In Set Analysis can you exclude certain values but still count nulls</title>
      <link>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312993#M1178255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({$&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}, [Honour Code] =[Honour Code] - {'3'}&amp;gt; [Internal ID])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({$&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}, [Honour Code] =P([Honour Code]) - {'3'}&amp;gt; [Internal ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312993#M1178255</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-23T14:22:27Z</dc:date>
    </item>
    <item>
      <title>In Set Analysis can you exclude certain values but still count nulls</title>
      <link>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312994#M1178256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Count({$&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}&amp;gt;-&lt;/SPAN&gt;&amp;lt; [Level Code] = {'PG'}, [Award Status] = {'AW'}, [Honour Code] = {'3'}&amp;gt; [Internal ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312994#M1178256</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-23T14:32:30Z</dc:date>
    </item>
    <item>
      <title>In Set Analysis can you exclude certain values but still count nulls</title>
      <link>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312995#M1178257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 17:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Set-Analysis-can-you-exclude-certain-values-but-still-count/m-p/312995#M1178257</guid>
      <dc:creator />
      <dc:date>2012-02-23T17:08:52Z</dc:date>
    </item>
  </channel>
</rss>

