<?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 Isnull in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265218#M99689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;count({&amp;lt;FndCT_SDF_Ctgy={0}&amp;gt;} PRE_AUDIT_ACCT_SCHDL)&lt;/SPAN&gt;&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: #ffffff;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;count({&amp;lt;FndCT_SDF_Ctgy={$(=Null())}&amp;gt;} PRE_AUDIT_ACCT_SCHDL)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2012 13:04:28 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2012-01-11T13:04:28Z</dc:date>
    <item>
      <title>Isnull in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265213#M99684</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;Please any one can help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLD Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(Distinct If(FndCT_SDF_Ctgy = 'Same Day', PRE_AUDIT_ACCT_SCHDL))&lt;/P&gt;&lt;P&gt;/ (Count(Distinct PRE_AUDIT_ACCT_SCHDL) - Count(Distinct If(FND_TAG = 'Funded'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And IsNull(FndCT_SDF_Ctgy), PRE_AUDIT_ACCT_SCHDL)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Expression (Using Set Analysis):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( DISTINCT {&amp;lt;[FndCT_SDF_Ctgy] = {'Same Day'} &amp;gt;} PRE_AUDIT_ACCT_SCHDL)&lt;/P&gt;&lt;P&gt;/ (Count(Distinct PRE_AUDIT_ACCT_SCHDL) - count( DISTINCT {&amp;lt;[FND_TAG] = {'Funded'},FndCT_SDF_Ctgy={""}&amp;gt;} PRE_AUDIT_ACCT_SCHDL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made the New Expression using Set Analysis, but the isnull part is not working in it.. Can any one plz help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 07:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265213#M99684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-11T07:03:02Z</dc:date>
    </item>
    <item>
      <title>Isnull in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265214#M99685</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;Try to use simple like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( DISTINCT {&amp;lt;[FndCT_SDF_Ctgy] = {'Same Day'} &amp;gt;} PRE_AUDIT_ACCT_SCHDL)&lt;/P&gt;&lt;P&gt;/ (Count(Distinct PRE_AUDIT_ACCT_SCHDL) - count( DISTINCT {&amp;lt;[FND_TAG] = {'Funded'},FndCT_SDF_Ctgy={}&amp;gt;} PRE_AUDIT_ACCT_SCHDL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except that you could also do the same thing at back end where making the isnull flag for the FndCT_SDF_Ctgy.&lt;/P&gt;&lt;P&gt;Then calling that flag in your set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 07:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265214#M99685</guid>
      <dc:creator />
      <dc:date>2012-01-11T07:08:27Z</dc:date>
    </item>
    <item>
      <title>Isnull in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265215#M99686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; HI Have tried that but its not wrkng..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 07:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265215#M99686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-11T07:52:13Z</dc:date>
    </item>
    <item>
      <title>Isnull in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265216#M99687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Ankit,&lt;/P&gt;&lt;P&gt;There is workaround as Nitin suggested create a flag at backend for Null values and use that flag in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 08:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265216#M99687</guid>
      <dc:creator>vijay_iitkgp</dc:creator>
      <dc:date>2012-01-11T08:06:40Z</dc:date>
    </item>
    <item>
      <title>Isnull in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265217#M99688</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;you can use the variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set NullInterpret=' '; in the script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use the set analysis as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;FndCT_SDF_Ctgy={' '}&amp;gt;} PRE_AUDIT_ACCT_SCHDL) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 10:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265217#M99688</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2012-01-11T10:39:10Z</dc:date>
    </item>
    <item>
      <title>Isnull in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265218#M99689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;count({&amp;lt;FndCT_SDF_Ctgy={0}&amp;gt;} PRE_AUDIT_ACCT_SCHDL)&lt;/SPAN&gt;&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: #ffffff;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;count({&amp;lt;FndCT_SDF_Ctgy={$(=Null())}&amp;gt;} PRE_AUDIT_ACCT_SCHDL)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 13:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265218#M99689</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-01-11T13:04:28Z</dc:date>
    </item>
    <item>
      <title>Isnull in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265219#M99690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil, does it work for you ? I have tried your syntax and it doesn't work for me (SR10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntaxes that work for me:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$-&amp;lt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;FndCT_SDF_Ctgy&lt;/SPAN&gt;={"*"}&amp;gt;}1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;id= {"=isnull(&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;FndCT_SDF_Ctgy&lt;/SPAN&gt;)=-1"}&amp;gt;}1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;id= {"=Len(&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;FndCT_SDF_Ctgy&lt;/SPAN&gt;) = 0"}&amp;gt;}1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that it's not possible to write in set analysis "Field = {empty set}" so you have 3 solutions:&lt;/P&gt;&lt;P&gt;- select all (or all possible values) minus the non null values&lt;/P&gt;&lt;P&gt;- select, through an id of the rows, all the rows for which the value is null&lt;/P&gt;&lt;P&gt;- select, through an id of the rows, all the rows for which the value has a size of 0 (take care with string that can have no size but are not null)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 13:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Isnull-in-Set-Analysis/m-p/265219#M99690</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2012-01-11T13:27:09Z</dc:date>
    </item>
  </channel>
</rss>

