<?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: Values greater than variable1 and smaller than variable2 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439936#M432178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm, I get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="GT Var1 LT Var2 thread273503.jpg" class="jive-image image-1" height="126" src="/legacyfs/online/175616_GT Var1 LT Var2 thread273503.jpg" style="height: 126.059px; width: 340px;" width="340" /&gt;&lt;/P&gt;&lt;P&gt;This is not what you expect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Sep 2017 14:58:33 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2017-09-05T14:58:33Z</dc:date>
    <item>
      <title>Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439933#M432175</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 have an application in QlikView with a table that contains values depending among others on two variables.&lt;/P&gt;&lt;P&gt;The expression is as follows:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Amount={'&amp;gt;=$(=vFilterLow)&amp;lt;$(=vFilterHigh)'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set vFilterLow and vFilterHigh I use an input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can change the variables and the table reacts as expected. Only, when I put in rubbish like vFilterLow=1000 and vFilterHigh=0 I expect zero values in the table (since none of the amounts is greater than 1000 and smaller than 0). However, the table does contain rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is happening here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janneke.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439933#M432175</guid>
      <dc:creator>Janneke</dc:creator>
      <dc:date>2017-09-05T14:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439934#M432176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your expression working with different set of values entered? If yes, then can you share your sample to look into please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439934#M432176</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-05T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439935#M432177</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;This is an example of my problem.&lt;/P&gt;&lt;P&gt;I hope this makes it easier to understand the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for helping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janneke.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439935#M432177</guid>
      <dc:creator>Janneke</dc:creator>
      <dc:date>2017-09-05T14:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439936#M432178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm, I get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="GT Var1 LT Var2 thread273503.jpg" class="jive-image image-1" height="126" src="/legacyfs/online/175616_GT Var1 LT Var2 thread273503.jpg" style="height: 126.059px; width: 340px;" width="340" /&gt;&lt;/P&gt;&lt;P&gt;This is not what you expect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439936#M432178</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-09-05T14:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439937#M432179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IS this not what you are getting?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175599_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439937#M432179</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-05T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439938#M432180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you 'play' with the input variables, you'll see that sometimes it shows the right table, but also it can show values.&lt;/P&gt;&lt;P&gt;For instance, if I immediately put in 1000 and 0 I get your screenshot. If I then change the 0 to 200 I get this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175605_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And this is also an outcome:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/175606_Untitled2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;It doesn't always show what I expect....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439938#M432180</guid>
      <dc:creator>Janneke</dc:creator>
      <dc:date>2017-09-05T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439939#M432181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the answer I gave to Vishwarath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, your screenshot is what I expect with these values. In the provided sample I simplified my application, I guess that's why the outcome is different than my original application &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you 'play' with the variables you see unexpected outcomes (at least unexpected for me), such as shown in my reply to Vishwarath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestions on how to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janneke.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439939#M432181</guid>
      <dc:creator>Janneke</dc:creator>
      <dc:date>2017-09-05T15:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439940#M432182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, of course there is a fix for this. It's still pretty ridiculous to let users specify amount restrictions like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1000 &amp;lt; Amount &amp;lt; 50&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so we should add a couple of constraints to the From: and To: values. Just like what is commonly done when using variables to specify calendar periods (e.g. From should come before Until and vice versa)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each input variable, add a Custom constraint on the Constraints tab to force input values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;for &lt;SPAN style="font-family: 'courier new', courier;"&gt;From&lt;/SPAN&gt; to be smaller than or equal to &lt;SPAN style="font-family: 'courier new', courier;"&gt;To&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;for &lt;SPAN style="font-family: 'courier new', courier;"&gt;To&lt;/SPAN&gt; to be larger than or equal to &lt;SPAN style="font-family: 'courier new', courier;"&gt;From&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also add default values for each variable, optionally based on the minimum and maximum values of the field you try to filter (like &lt;SPAN style="font-family: 'courier new', courier;"&gt;=Min({1}Amount)&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier;"&gt;=Max({1}Amount)&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439940#M432182</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-09-05T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439941#M432183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put in $&amp;lt;=vFilterHigh and $&amp;gt;=vFilterLow and everything works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;Greetings, Janneke.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1439941#M432183</guid>
      <dc:creator>Janneke</dc:creator>
      <dc:date>2017-09-08T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Values greater than variable1 and smaller than variable2</title>
      <link>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1599878#M444177</link>
      <description>&lt;P&gt;Please share the expression and details how to got the values of Min and Max and How to be enter between this range.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 12:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-greater-than-variable1-and-smaller-than-variable2/m-p/1599878#M444177</guid>
      <dc:creator>KishoreSuri</dc:creator>
      <dc:date>2019-07-08T12:22:17Z</dc:date>
    </item>
  </channel>
</rss>

