<?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: What is the error in this expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806361#M284661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe without set analysis&lt;/P&gt;&lt;P&gt;count(if(upper(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Curr Status]&lt;/SPAN&gt;)='MET', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Key&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 21:38:46 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-02-13T21:38:46Z</dc:date>
    <item>
      <title>What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806359#M284659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to figure out the issue with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;upper([Curr Status])={'MET'}&amp;gt;}Key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806359#M284659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T21:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806360#M284660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use a function (&lt;STRONG&gt;Upper&lt;/STRONG&gt;) before = in your set modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to do it in the script itself or use MET as it may be spelled in your database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806360#M284660</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-13T21:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806361#M284661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe without set analysis&lt;/P&gt;&lt;P&gt;count(if(upper(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Curr Status]&lt;/SPAN&gt;)='MET', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Key&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806361#M284661</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-13T21:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806362#M284662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that it is not case sensitive at all, that is there is no difference between&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Curr Status]={'MET'}&amp;gt;}Key)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Curr Status]={'met'}&amp;gt;}Key)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806362#M284662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T21:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806363#M284663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you &lt;STRONG&gt;really&lt;/STRONG&gt; want to insist on UPPER, you can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Count({&amp;lt;[Curr Status]={"=UPPER(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Curr Status])=&lt;/SPAN&gt;'MET' "}&amp;gt;} Key)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 22:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806363#M284663</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-13T22:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806364#M284664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your response!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 22:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806364#M284664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T22:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806365#M284665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="image-1 jive-image" height="194" src="https://community.qlik.com/legacyfs/online/78104_1.jpg" style="height: 194px; width: 753.524390243902px;" width="754" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 22:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806365#M284665</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-13T22:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806366#M284666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You see Michael, it is case sensitive after all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 23:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806366#M284666</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-13T23:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806367#M284667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for testing! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 23:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806367#M284667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T23:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806368#M284668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see, but it is very strange.&amp;nbsp; I'm just re-testing this simple expression:&lt;/P&gt;&lt;P&gt;count ({&amp;lt;Field={"*&lt;STRONG&gt;abc&lt;/STRONG&gt;*"}&amp;gt;} Field)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;count ({&amp;lt;Field={"*&lt;STRONG&gt;ABC&lt;/STRONG&gt;*"}&amp;gt;} Field)&lt;/P&gt;&lt;P&gt;They return the same exact result.&amp;nbsp; The actual values in the Field are all capital.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 23:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806368#M284668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T23:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806369#M284669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;added another one, *MET*&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="image-1 jive-image" height="177" src="https://community.qlik.com/legacyfs/online/78106_1.jpg" style="height: 177px; width: 783.857142857143px;" width="784" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 23:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806369#M284669</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-13T23:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806370#M284670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now instead of enjoying Australian lamb and Californian wine, I have to test myself&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;OK, I tried with and without wildcard, with single and with double quotes and without any, and result is the same - not case sensitive.&lt;/P&gt;&lt;P&gt;So the difference that I use it in a text box and Massimo's are in a table.&amp;nbsp; Would it matter?&lt;/P&gt;&lt;P&gt;Another assumption - QV version.&amp;nbsp; I'm using 11.20 SR10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 23:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806370#M284670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T23:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806371#M284671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!&lt;/P&gt;&lt;P&gt;Adding one more, without wildcards, returns all three, to make it more confusing.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$ &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Met'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 23:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806371#M284671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T23:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806372#M284672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is what's going on, at least what I can see now:&lt;/P&gt;&lt;P&gt;It is not case sensitive if use wildcards, or if the string without wildcards does not match exactly, case included, any of the existing values.&amp;nbsp; If there are no wildcards and the string matches exactly one of the values, it is case sensitive.&lt;/P&gt;&lt;P&gt;I don't like the result.&amp;nbsp; Gone drinkin' &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 23:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806372#M284672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T23:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806373#M284673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;11.20 SR10 64bit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fully agree with "I don't like the result" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78107_1.jpg" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 00:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806373#M284673</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-14T00:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806374#M284674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm, here are my results and some observations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78117_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When the value is listed with no quotes, it looks like the search is case-sensitive (column 2 returns 1 value)&lt;/P&gt;&lt;P&gt;2. But, if the search value doesn't exist (such as mET), then the search reverts to not case-sensitive (column 4 returns 4 values)&lt;/P&gt;&lt;P&gt;3. The same happens when either single quotes or double quotes are used.&lt;/P&gt;&lt;P&gt;4. However, if a wildcard like "MET*" is used as a search (see the last column), then the search is not case-sensitive either way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It smells like a bug. My conclusion - always keep in mind that the search may or may not be case sensitive and ensure proper logic using UPPER, LOWER, or Capitalize.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 18:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806374#M284674</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-14T18:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806375#M284675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The logic is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF there is a field value that is an exact case-sensitive match THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN this single field value&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN all matches you get with a case-insensitive wildcard search&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I consider this behaviour to be incorrect, i.e. a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 15:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806375#M284675</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-03T15:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is the error in this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806376#M284676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This behavior is, indeed, very annoying. You can get different results almost randomly. If your search string happens to exist in the data, you will get 1 value back. If it doesn't exist, you may get many more other values that match the case-insensitive search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't you think we should make QlikView search more predictable???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 16:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-error-in-this-expression/m-p/806376#M284676</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-03-03T16:15:58Z</dc:date>
    </item>
  </channel>
</rss>

