<?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: Greater than and less than in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289901#M860688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that's the way numeric search works. In the first expression it's an AND because an OR wouldn't make sense. You'd select everything. In the second expression it's an OR. Again because an AND wouldn't make sense. You'd get no results at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Jan 2017 08:38:40 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2017-01-21T08:38:40Z</dc:date>
    <item>
      <title>Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289899#M860686</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;I am trying to understand how greater than and less than work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Field1&lt;/P&gt;&lt;P&gt;-1&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Expression1= count&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;({&amp;lt;&lt;/SPAN&gt;[field1]&lt;SPAN class="s2"&gt;={'&amp;lt;10&amp;gt;0'}&amp;gt;} &lt;/SPAN&gt;[field2]&lt;SPAN class="s2"&gt;) =3&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;Expresion2= &lt;SPAN class="s1" style="font-size: 13.3333px;"&gt;count&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-size: 13.3333px;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[field1]&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-size: 13.3333px;"&gt;={'&amp;gt;10&amp;lt;0'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[field2]&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-size: 13.3333px;"&gt;) =2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;It seems like Expression1 looks at the 5 available options, removes the value that is greater than 10, and that leaves -1,4,5,6.&amp;nbsp; It then appears to use those and evaluates those to see which ones are greater than 0 and that leaves 3 remaining values.&amp;nbsp; This does not appear to be an OR statement.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;It seems like Expression2 is an OR statement.&amp;nbsp; If the value is greater than 10 or less than 0 then count.&amp;nbsp; Expression2=2.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Why does the one seem to behave as an OR statement and not the other? &lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289899#M860686</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289900#M860687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing Expreson2 to Expression2 for ur variable? &lt;/P&gt;&lt;P&gt;Just a thought after looking,&lt;/P&gt;&lt;P&gt;Might not fix it but I'm not looking at the data &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Seems like it might have been overlooked,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I can help further,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 07:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289900#M860687</guid>
      <dc:creator />
      <dc:date>2017-01-21T07:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289901#M860688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that's the way numeric search works. In the first expression it's an AND because an OR wouldn't make sense. You'd select everything. In the second expression it's an OR. Again because an AND wouldn't make sense. You'd get no results at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 08:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289901#M860688</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-01-21T08:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289902#M860689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert is absolutely right about this not well discussed and even less documented behaviour of the numeric search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've only found&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/269800"&gt;Re: compare a dollar amount &amp;amp;lt;&amp;amp;gt; 0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to emphasize on my last statement therein:&lt;/P&gt;&lt;P&gt;"And one needs to consider this if the search limits are not literals, but dynamically derived from other fields etc.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(For example when you expect always StartTime &amp;lt; EndTime, but when your data proves something else...)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to the behaviour of numeric search, unintentionally mixed up limits might lead to unexpected, incorrect (compared to your requirements) aggregation results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 12:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289902#M860689</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-22T12:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289903#M860690</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;maybe using &lt;SPAN style="font-size: 13.3333px;"&gt;expression search&lt;/SPAN&gt; helps to explicitly define the expected logical operator:&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;field1&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1&lt;/SPAN&gt;&amp;lt;10 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1&lt;/SPAN&gt;&amp;gt;0"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1&lt;/SPAN&gt;&amp;gt;10 or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1&amp;lt;&lt;/SPAN&gt;0"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_247029_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150560_QlikCommunity_Thread_247029_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_247029_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/150561_QlikCommunity_Thread_247029_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 22:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-and-less-than/m-p/1289903#M860690</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-01-23T22:23:36Z</dc:date>
    </item>
  </channel>
</rss>

