<?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 Multiple Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942905#M647247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Start testing each filter on its own:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({$&amp;lt;STATUS_TITLE = {'Pending Certification', 'Pending Completion', 'Pending Qualification'} &amp;gt;} RTC_TITLE)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({$&amp;lt;CERTIFICATION_DATE = {'', '0'}&amp;nbsp; &amp;gt;} RTC_TITLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I assume the second is returning zero. Are you sure you want to filter on 0 and on ' '&amp;nbsp; (is it a single space?)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 16:32:16 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-19T16:32:16Z</dc:date>
    <item>
      <title>Count Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942904#M647246</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;This expression is building off one of my previous ones, but I'm making sure that I have the syntax right. The conditions should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. STATUS_TITLE must be one of these: 'Pending Certification', 'Pending Completion', 'Pending Qualification' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. CERTIFICATION_DATE must be either: ' ' or '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these two are met, then it should count RTC_TITLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my equation so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;STATUS_TITLE = {'Pending Certification', 'Pending Completion', 'Pending Qualification'}, CERTIFICATION_DATE = {'', '0'}&amp;nbsp; &amp;gt;} RTC_TITLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It keeps throwing straight 0's though which is not correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 14:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942904#M647246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-19T14:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942905#M647247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Start testing each filter on its own:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({$&amp;lt;STATUS_TITLE = {'Pending Certification', 'Pending Completion', 'Pending Qualification'} &amp;gt;} RTC_TITLE)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({$&amp;lt;CERTIFICATION_DATE = {'', '0'}&amp;nbsp; &amp;gt;} RTC_TITLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I assume the second is returning zero. Are you sure you want to filter on 0 and on ' '&amp;nbsp; (is it a single space?)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942905#M647247</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-19T16:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942906#M647248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first filter works with no issues. As you said, the second filter is throwing the errors. Basically I want to count when the STATUS_TITLE is one of those options as well as when the CERTIFICATION_DATE is equal to null or 0. There is a single space in between ' ' currently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 19:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942906#M647248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-19T19:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942907#M647249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have records with CERTIFICATION_DATE equals 0? Then you should see a count &amp;gt;0.&lt;/P&gt;&lt;P&gt;NULL cannot be selected directly. I would suggest replacing NULL with a value in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your data model and your requirement, maybe something described here may also help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3155"&gt;NULL handling in QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 22:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Multiple-Conditions/m-p/942907#M647249</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-19T22:28:48Z</dc:date>
    </item>
  </channel>
</rss>

