<?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 Number Ranges within a slider in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215801#M69209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much John! I have already created the intervalmatch and it wasn't too much work. Always great to have alternatives for the next time though!&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Apr 2010 14:04:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-04-16T14:04:12Z</dc:date>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215794#M69202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all - although I have used Qlikview for some time, this is my first time using the forums, so please bare with me &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm doing some analysis for a loss prevention dept and I would like to see incidents based on the loss value of the incident itself. Specifically I'd like to see the values of loss put into categories or ranges as follows; &amp;lt;100, 100-200, 200-300, 400-500, and &amp;gt;500. I would then like to use a slider object for selection purposes.&lt;/P&gt;&lt;P&gt;I'm pretty sure I could accomplish this in the data load via transact sql using a CASE argument but was curious if there was another or possibly easier way to do this?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 15:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215794#M69202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-15T15:42:50Z</dc:date>
    </item>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215795#M69203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out the IntervalMatch statement (see Help file).&lt;BR /&gt;You might use an Inline Table to define the interval ranges.&lt;/P&gt;&lt;P&gt;Hth,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 15:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215795#M69203</guid>
      <dc:creator />
      <dc:date>2010-04-15T15:48:12Z</dc:date>
    </item>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215796#M69204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thilo - i was not aware of that function. I'm having trouble getting it to work with a combination of an inline load and a db load. Maybe I'm missing something - do you have any examples where you have used IntervalMatch when you are loading data from Inline and a db?&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 16:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215796#M69204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-15T16:40:45Z</dc:date>
    </item>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215797#M69205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this successfully:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;PricePointIntervals:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; PriceStart,PriceEnd,PriceInterval&lt;BR /&gt; , '-0,01', "&amp;lt; $0"&lt;BR /&gt; 0, '99,99', "$0-$99"&lt;BR /&gt; 100, '199,99', "$100-$199"&lt;BR /&gt; 200, '299,99', "$200-$299"&lt;BR /&gt; 300, '399,99', "$300-$399"&lt;BR /&gt; 400, '499,99', "$400-$499"&lt;BR /&gt; 500, '599,99', "$500-$599"&lt;BR /&gt; 600, '699,99', "$600-$699"&lt;BR /&gt; 700, '799,99', "$700-$799"&lt;BR /&gt; 800, '899,99', "$800-$899"&lt;BR /&gt; 900, '999,99', "$900-$999"&lt;BR /&gt; 1000, , "&amp;gt; $1000"&lt;BR /&gt;];&lt;BR /&gt;MyData:&lt;BR /&gt;LOAD&lt;BR /&gt; A,&lt;BR /&gt; B,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; SellingPrice,&lt;BR /&gt;&lt;BR /&gt; D,&lt;BR /&gt; E&lt;BR /&gt;FROM ... (I used Excel as a source, but SQL will make no difference here);&lt;BR /&gt;IntervalMatch(SellingPrice)&lt;BR /&gt;Load&lt;BR /&gt; PriceStart,&lt;BR /&gt; PriceEnd&lt;BR /&gt;resident PricePointIntervals;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;hth,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 16:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215797#M69205</guid>
      <dc:creator />
      <dc:date>2010-04-15T16:49:43Z</dc:date>
    </item>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215798#M69206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;looking at it I probably need to add that I am using German Regional settings, i.e. my decimal separator is 'comma'. That's why I quoted the values in the inline tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 16:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215798#M69206</guid>
      <dc:creator />
      <dc:date>2010-04-15T16:57:28Z</dc:date>
    </item>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215799#M69207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Thilo - I was trying to use the IntervalMatch with Select instead of Load - works perfectly now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for the help!&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 17:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215799#M69207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-15T17:12:28Z</dc:date>
    </item>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215800#M69208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an alternative, for only six categories like this, I'd just write a nested if() and add it to the main load rather than building an intervalmatch():&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;,if(Loss&amp;lt;100,dual('&amp;lt;100',1)&lt;BR /&gt;,if(Loss&amp;lt;200,dual('100-200',100)&lt;BR /&gt;,if(Loss&amp;lt;300,dual('200-300',200)&lt;BR /&gt;,if(Loss&amp;lt;400,dual('300-400',300)&lt;BR /&gt;,if(Loss&amp;lt;500,dual('400-500',400)&lt;BR /&gt; ,dual('500+',500)))))) as "Loss Category"&lt;/P&gt;&lt;P&gt;You can put the field in a slider if you want, and it'll be sorted correctly due to the underlying numeric values supplied by the dual() function. I'm not sure exactly how many categories I'd have to have before I swapped over to an intervalmatch. A dozen maybe? Twenty? Just whenever it started to look like more of a headache to maintain the nested if() than to bite the bullet and go all the way to the intervalmatch. Both work, of course, so it's probably up to personal preference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 00:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215800#M69208</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-16T00:43:08Z</dc:date>
    </item>
    <item>
      <title>Number Ranges within a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215801#M69209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much John! I have already created the intervalmatch and it wasn't too much work. Always great to have alternatives for the next time though!&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 14:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-Ranges-within-a-slider/m-p/215801#M69209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-16T14:04:12Z</dc:date>
    </item>
  </channel>
</rss>

