<?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: My slider's max value is (sometimes) exclusive in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/My-slider-s-max-value-is-sometimes-exclusive/m-p/520468#M194493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh yeah: I'm using QlikView 11.20.12129.0 SR4 64-bit.&amp;nbsp; Interestingly, it works fine in the AccessPoint; it's just a problem for the desktop client.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2013 17:19:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-03T17:19:08Z</dc:date>
    <item>
      <title>My slider's max value is (sometimes) exclusive</title>
      <link>https://community.qlik.com/t5/QlikView/My-slider-s-max-value-is-sometimes-exclusive/m-p/520467#M194492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to be able to switch my date handling logic between two modes, so I created a slider with a min value of zero, a max value of one, and static step of one.&amp;nbsp; Result: users can select either zero or one, no more no less.&amp;nbsp; I use the related variable in my group logic, and all is grand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I wanted to switch between three different methods of handling dates, so I updated my group and increased the max value of my slider to two.&amp;nbsp; Should work, no?&amp;nbsp; No.&amp;nbsp; My slider does indeed have three valid positions, but they represent 0, 1, and 1!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can set the max value to three, and the slider works as expected, accepting positions 0, 1, 2, and 3.&amp;nbsp; If I set the max value to four, the positions allowed are 0, 1, 2, 3, and 3.&amp;nbsp; Alternatively, if I set the static step to 0.5, the accepted positions are 0, 0.5, 1.0, 1.5, and 1.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks like some kind of rounding error: when I set the max value to two and drag the slider all the way to the right, the slider is storing the value 1.9999-something, which QlikView is rounding down to 1.0 rather than to 2.0.&amp;nbsp; The question is, what's the workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get it working temporarily by setting the max value to something just above two, like 2.001, in which case the accepted positions become 0, 1, 2, and 2.001.&amp;nbsp; If I then scroll to 2, I can set max value back to 2, and the slider will work correctly, allowing selection of 0, 1, or 2.&amp;nbsp; However, this is temporary: if I close and reopen the file, the value list reverts to 0, 1, 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the range { 1, 2, 3 } does not work any better than { 0, 1, 2 }: it seems that the slider has a problem with a &lt;EM&gt;range&lt;/EM&gt; of 2.0 (or 4.0), not with the max value per se.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen this problem?&amp;nbsp; Is there a fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/My-slider-s-max-value-is-sometimes-exclusive/m-p/520467#M194492</guid>
      <dc:creator />
      <dc:date>2013-12-03T17:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: My slider's max value is (sometimes) exclusive</title>
      <link>https://community.qlik.com/t5/QlikView/My-slider-s-max-value-is-sometimes-exclusive/m-p/520468#M194493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh yeah: I'm using QlikView 11.20.12129.0 SR4 64-bit.&amp;nbsp; Interestingly, it works fine in the AccessPoint; it's just a problem for the desktop client.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/My-slider-s-max-value-is-sometimes-exclusive/m-p/520468#M194493</guid>
      <dc:creator />
      <dc:date>2013-12-03T17:19:08Z</dc:date>
    </item>
  </channel>
</rss>

