<?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 Analysis 'is not null' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403356#M150050</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 have a set analysis question. The existing, working expression I have is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;EVENT.ACTVTY_CDE={LEGALACT,HOLD,PYMNT,DEFER}&amp;gt;} BILLM_ME.TOTAL_AR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Unfortunately this is returning a slightly high figure, so I'm trying to restrict this further by only including figures where the EVENT_DETAILS.CLOSE_DATE is not null. I know that there isn't really an 'is not null' in Qlikview so am trying to work around this by only selecting records where the close date is greater than 01 Jan 1900. Can anyone tell me what's wrong with the following expression? This currently returns £0.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;EVENT.ACTVTY_CDE={LEGALACT,HOLD,PYMNT,DEFER}, EVENT_DETAILS.CLOSE_DATE={"&amp;gt;1900-01-01 00:00:00"}&amp;gt;} BILLM_ME.TOTAL_AR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks in&amp;nbsp; advance, Gavin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2013 11:16:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-28T11:16:40Z</dc:date>
    <item>
      <title>Set Analysis 'is not null'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403356#M150050</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 have a set analysis question. The existing, working expression I have is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;EVENT.ACTVTY_CDE={LEGALACT,HOLD,PYMNT,DEFER}&amp;gt;} BILLM_ME.TOTAL_AR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Unfortunately this is returning a slightly high figure, so I'm trying to restrict this further by only including figures where the EVENT_DETAILS.CLOSE_DATE is not null. I know that there isn't really an 'is not null' in Qlikview so am trying to work around this by only selecting records where the close date is greater than 01 Jan 1900. Can anyone tell me what's wrong with the following expression? This currently returns £0.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;EVENT.ACTVTY_CDE={LEGALACT,HOLD,PYMNT,DEFER}, EVENT_DETAILS.CLOSE_DATE={"&amp;gt;1900-01-01 00:00:00"}&amp;gt;} BILLM_ME.TOTAL_AR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks in&amp;nbsp; advance, Gavin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403356#M150050</guid>
      <dc:creator />
      <dc:date>2013-03-28T11:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'is not null'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403357#M150051</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 this Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;EVENT.ACTVTY_CDE={LEGALACT,HOLD,PYMNT,DEFER}, EVENT_DETAILS.CLOSE_DATE={"&amp;gt; $(=Date(makedate(1900,1,1))"}&amp;gt;} BILLM_ME.TOTAL_AR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403357#M150051</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2013-03-28T11:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'is not null'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403358#M150052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but unfortunately that doesn't return any data (now a dash '-' rather than 0)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gavin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403358#M150052</guid>
      <dc:creator />
      <dc:date>2013-03-28T11:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'is not null'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403359#M150053</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;EVENT.ACTVTY_CDE={LEGALACT,HOLD,PYMNT,DEFER}, EVENT_DETAILS.CLOSE_DATE={"$(=not isnull(EVENT_DETAILS.CLOSE_DATE))"}&amp;gt;} BILLM_ME.TOTAL_AR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403359#M150053</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-28T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'is not null'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403360#M150054</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 this Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;EVENT.ACTVTY_CDE={LEGALACT,HOLD,PYMNT,DEFER}, EVENT_DETAILS.CLOSE_DATE={ ' &amp;gt;$(=Date(makedate(1900,1,1)))'}&amp;gt;} BILLM_ME.TOTAL_AR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403360#M150054</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2013-03-28T11:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'is not null'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403361#M150055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; I'm afraid I've been a little hasty in posting. On further analysis it looks like events falling into the categories described will always have a close date set to null, so my original zero value was correct...Sorry to have wasted time, but I have learnt more about Set Analysis and null values from your answers and I think others also will, so answers marked as helpful (unfortunately only two 'helpful's allowed|). Thanks, Gavin.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 13:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-null/m-p/403361#M150055</guid>
      <dc:creator />
      <dc:date>2013-03-28T13:05:03Z</dc:date>
    </item>
  </channel>
</rss>

