<?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 How to use Null value in set analysis? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-Null-value-in-set-analysis/m-p/1280649#M26674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to make an overview of all the SKU's created in our system, but missing a certain field "ProductCollectionCode".&lt;/P&gt;&lt;P&gt;And i'm trying to do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ( { $&amp;lt;[ProductStatus]={'Active'}, ProductCollectionCode = {''}&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SkuCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't get any results and i'm sure that there are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also sure that the expression works because i get results&amp;nbsp; if i do fill in a collection code like this:&lt;/P&gt;&lt;P&gt;Count ( { $&amp;lt;[ProductStatus]={'Active'}, ProductCollectionCode = {'2017 Summer'}&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SkuCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it must be that the NULL value is causing the expression not to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how i might have a workaround in the expression without changing Null values in the script?&lt;/P&gt;&lt;P&gt;(The load scripts are made by an external company, which means it's costly to adapt, it takes time AND i have&lt;/P&gt;&lt;P&gt;a lot of these empty fields in our masterdata that i would like to work with)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2017 14:30:22 GMT</pubDate>
    <dc:creator>chriscools</dc:creator>
    <dc:date>2017-01-05T14:30:22Z</dc:date>
    <item>
      <title>How to use Null value in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Null-value-in-set-analysis/m-p/1280649#M26674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to make an overview of all the SKU's created in our system, but missing a certain field "ProductCollectionCode".&lt;/P&gt;&lt;P&gt;And i'm trying to do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ( { $&amp;lt;[ProductStatus]={'Active'}, ProductCollectionCode = {''}&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SkuCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't get any results and i'm sure that there are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also sure that the expression works because i get results&amp;nbsp; if i do fill in a collection code like this:&lt;/P&gt;&lt;P&gt;Count ( { $&amp;lt;[ProductStatus]={'Active'}, ProductCollectionCode = {'2017 Summer'}&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SkuCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it must be that the NULL value is causing the expression not to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how i might have a workaround in the expression without changing Null values in the script?&lt;/P&gt;&lt;P&gt;(The load scripts are made by an external company, which means it's costly to adapt, it takes time AND i have&lt;/P&gt;&lt;P&gt;a lot of these empty fields in our masterdata that i would like to work with)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Null-value-in-set-analysis/m-p/1280649#M26674</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2017-01-05T14:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Null value in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Null-value-in-set-analysis/m-p/1280650#M26675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to Count(SkuCode) where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductCollectionCode is null? May be this:&lt;/SPAN&gt;&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({$&amp;lt;[ProductStatus]={'Active'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SkuCode&lt;/SPAN&gt; = {"=Len(Trim(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductCollectionCode)) = 0&lt;/SPAN&gt;"}&amp;gt;} SkuCode)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({$&amp;lt;[ProductStatus]={'Active'}, &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductCollectionCode&lt;/STRONG&gt; = e({&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductCollectionCode&lt;/STRONG&gt; &lt;/STRONG&gt;= {'*'}&amp;gt;})&amp;gt;} SkuCode)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Null-value-in-set-analysis/m-p/1280650#M26675</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-05T14:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Null value in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Null-value-in-set-analysis/m-p/1280651#M26676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or, this....but ideally create flags in script for better performance.&lt;/STRONG&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;&lt;BR /&gt;&lt;/STRONG&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({$&amp;lt;[ProductStatus]={'Active'} &amp;gt;} if(isnull(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProductCollectionCode),&lt;/STRONG&gt;SkuCode))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Null-value-in-set-analysis/m-p/1280651#M26676</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-05T15:49:39Z</dc:date>
    </item>
  </channel>
</rss>

