<?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 NULL values using Set-Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062270#M524593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, maybe this minor tweak could be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count(DISTINCT{$&amp;lt;PROJECT_ID = {"=NullCount(TASK_NAME) &amp;gt; 0"}&amp;gt;}PROJECT_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 22:45:16 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2016-03-01T22:45:16Z</dc:date>
    <item>
      <title>Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062266#M524589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to count the number of DISTINCT projects that have NULL values for a specific field. Not all projects have null values for this field and some projects might have more than one null value for the field.&amp;nbsp; I'm using this count in a straight table for a&amp;nbsp; Pivot Chart in NPrinting.&amp;nbsp; I'm getting either an "error in set modifier expression" or an invalid result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116469_image.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This expression returns the modifier expression error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count(DISTINCT{$&amp;lt;isNull(TASK_NAME)&amp;gt;}PROJECT_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This other expression gives me the count of ALL projects not only the count of projects with NULL values for the field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count(DISTINCT{$&amp;lt;TASK_NAME ={0}&amp;gt;}PROJECT_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 15:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062266#M524589</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-03-01T15:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062267#M524590</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: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Count(DISTINCT{$&amp;lt;TASK_NAME = {"=Len(Trim(TASK_NAME)) = 0"}&amp;gt;}PROJECT_ID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062267#M524590</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-01T17:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062268#M524591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your solution but it &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;gives me the count of all projects, not only the count of projects with NULL values for the field, &lt;/SPAN&gt;the same results as this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Count(DISTINCT{$&amp;lt;TASK_NAME ={0}&amp;gt;}PROJECT_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 22:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062268#M524591</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-03-01T22:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062269#M524592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count(DISTINCT{$&amp;lt;TASK_NAME = {"=NullCount(TASK_NAME) &amp;gt; 0"}&amp;gt;}PROJECT_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 22:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062269#M524592</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-01T22:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062270#M524593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, maybe this minor tweak could be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count(DISTINCT{$&amp;lt;PROJECT_ID = {"=NullCount(TASK_NAME) &amp;gt; 0"}&amp;gt;}PROJECT_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 22:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062270#M524593</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-03-01T22:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062271#M524594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe without set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(DISTINCT If(Len(Trim(TASK_NAME))=0, PROJECT_ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 23:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062271#M524594</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-01T23:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062272#M524595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny and Peter, both your answers pointed me in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a FlagMap in my load statement and created the following expression to get the correct results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(DISTINCT{$&amp;lt;Flag_Map_Field = {"=NullCount(TASK_NAME)&amp;gt;0"}&amp;gt;}PROJECT_ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 23:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062272#M524595</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-03-01T23:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062273#M524596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to include the sample of the mapping load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task_SeqMap:&lt;/P&gt;&lt;P&gt;Mapping LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; TASK_NAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;FROM [..\QVD\01_Extract_QVD\MYQVD.QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyFields,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('Task_SeqMap',TASK_NAME ,Null()) as Flag_Map_Field, //APPLIED MAPPING TO FIELD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM [..\QVD\01_Extract_QVD\MYQVD.QVD]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 23:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062273#M524596</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-03-01T23:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count NULL values using Set-Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062274#M524597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count({&amp;lt;column name={'0'}&amp;gt;}coulmn name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 06:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-NULL-values-using-Set-Analysis/m-p/1062274#M524597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T06:21:47Z</dc:date>
    </item>
  </channel>
</rss>

