<?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: &amp;quot;Not equal to&amp;quot; syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330338#M1172171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;count ( {$-1&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Contact Status]&lt;/SPAN&gt;={'Active'}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ACCOUNTID&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kiran Rokkam.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 04:08:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-03T04:08:29Z</dc:date>
    <item>
      <title>"Not equal to" syntax</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330335#M1172168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, sorry I am a complete newbie and I am sure this is a really simple question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my data set I would like to identify all the accounts that are not "active".&lt;/P&gt;&lt;P&gt;I can count all the active accounts by looking at those accounts which have active contacts using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;count ( {&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Contact Status]&lt;/SPAN&gt;={'Active'}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ACCOUNTID&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This works great!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However if I try to do the opposite (contact activity status can be null, inactive, dormant or prospect) using the following syntax:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;count ( {&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Contact Status]&amp;lt;&amp;gt;&lt;/SPAN&gt;{'Active'}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ACCOUNTID&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am told that there is an error (wiggly line under the &amp;lt;&amp;gt; and nothing is returned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am sure this is blindingly obvious but I have spent an hour or so on it now and I am about to start sticking needles in my eyes to cheer myself up &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks for any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 03:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330335#M1172168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T03:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: "Not equal to" syntax</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330336#M1172169</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;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13412876334313036" jivemacro_uid="_13412876334313036"&gt;&lt;P&gt;count ({&amp;lt;[Contact Status]-={'Active'}&amp;gt;} distinct ACCOUNTID) &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 03:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330336#M1172169</guid>
      <dc:creator />
      <dc:date>2012-07-03T03:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: "Not equal to" syntax</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330337#M1172170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This picks up all the things that have a contact status tag that is not "active" - dormant etc, but does not count the null values. Is there a way of counting them also??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 04:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330337#M1172170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T04:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: "Not equal to" syntax</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330338#M1172171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;count ( {$-1&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Contact Status]&lt;/SPAN&gt;={'Active'}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ACCOUNTID&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kiran Rokkam.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 04:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330338#M1172171</guid>
      <dc:creator />
      <dc:date>2012-07-03T04:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: "Not equal to" syntax</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330339#M1172172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran, you are a lifesaver!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 04:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Not-equal-to-quot-syntax/m-p/330339#M1172172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T04:13:01Z</dc:date>
    </item>
  </channel>
</rss>

