<?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 Using WHERE not equal with a string value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-WHERE-not-equal-with-a-string-value/m-p/935950#M649040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello my QlikView friends.&amp;nbsp; I am trying to load some data and filter out particular strings using wildcards.&amp;nbsp; I wasn't sure if I should be using IF statements, so I was trying to use WHERE.&amp;nbsp; I cannot get my script to work properly.&amp;nbsp; Basically, I am trying to replicate the COUNTIFS formula from Excel as below in the load script of my QlikView application.&amp;nbsp; Any help figuring this out is greatly appreciated &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNTIFS(Tag,"*PC5*",Tag,"&amp;lt;&amp;gt;*APC5*",Tag,"&amp;lt;&amp;gt;*PC5A*",Tag,"&amp;lt;&amp;gt;*NPC5*",Line,"&amp;lt;&amp;gt;*GSOCLAIMS*",Queue,"&amp;lt;&amp;gt;*END*")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have in QlikView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD BUS_AREA AS Line, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUEUECD AS Queue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TAG_LINE_CMMT AS Tag&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Book1.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Data)&lt;/P&gt;&lt;P&gt;WHERE BUS_AREA &amp;lt;&amp;gt; 'GSOCLAIMS' &lt;/P&gt;&lt;P&gt;AND QUEUECD &amp;lt;&amp;gt; 'END'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT Like '*PC5*'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*APC5*'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*PC5A*'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*NPC5*';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 16:07:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-11T16:07:39Z</dc:date>
    <item>
      <title>Using WHERE not equal with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-WHERE-not-equal-with-a-string-value/m-p/935950#M649040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello my QlikView friends.&amp;nbsp; I am trying to load some data and filter out particular strings using wildcards.&amp;nbsp; I wasn't sure if I should be using IF statements, so I was trying to use WHERE.&amp;nbsp; I cannot get my script to work properly.&amp;nbsp; Basically, I am trying to replicate the COUNTIFS formula from Excel as below in the load script of my QlikView application.&amp;nbsp; Any help figuring this out is greatly appreciated &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNTIFS(Tag,"*PC5*",Tag,"&amp;lt;&amp;gt;*APC5*",Tag,"&amp;lt;&amp;gt;*PC5A*",Tag,"&amp;lt;&amp;gt;*NPC5*",Line,"&amp;lt;&amp;gt;*GSOCLAIMS*",Queue,"&amp;lt;&amp;gt;*END*")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have in QlikView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD BUS_AREA AS Line, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUEUECD AS Queue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TAG_LINE_CMMT AS Tag&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Book1.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Data)&lt;/P&gt;&lt;P&gt;WHERE BUS_AREA &amp;lt;&amp;gt; 'GSOCLAIMS' &lt;/P&gt;&lt;P&gt;AND QUEUECD &amp;lt;&amp;gt; 'END'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT Like '*PC5*'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*APC5*'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*PC5A*'&lt;/P&gt;&lt;P&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*NPC5*';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 16:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-WHERE-not-equal-with-a-string-value/m-p/935950#M649040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-11T16:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using WHERE not equal with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-WHERE-not-equal-with-a-string-value/m-p/935951#M649041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace&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;AND TAG_LINE_CMMT Like '*PC5*'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*APC5*'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*PC5A*'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AND TAG_LINE_CMMT &amp;lt;&amp;gt; '*NPC5*'&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;With&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;AND WildMatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TAG_LINE_CMMT,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'*PC5*')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AND NOT WildMatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TAG_LINE_CMMT,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'*APC5*', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'*PC5A*', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'*NPC5*')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 16:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-WHERE-not-equal-with-a-string-value/m-p/935951#M649041</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-11T16:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using WHERE not equal with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-WHERE-not-equal-with-a-string-value/m-p/935952#M649042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert, you are the man!!!&amp;nbsp; Thanks so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 16:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-WHERE-not-equal-with-a-string-value/m-p/935952#M649042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-11T16:19:46Z</dc:date>
    </item>
  </channel>
</rss>

