<?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 Range function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Range-function/m-p/197526#M57166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thaks for the response. I'll try your suggestion as well as Vladimir's and see which one works best for I'm trying to do.&lt;/P&gt;&lt;P&gt;Thanks again - Shannon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 20:49:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-22T20:49:02Z</dc:date>
    <item>
      <title>Range function</title>
      <link>https://community.qlik.com/t5/QlikView/Range-function/m-p/197522#M57162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNoSpacing"&gt;Hi,&lt;/P&gt;&lt;P class="MsoNoSpacing"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing"&gt;I need to create a chart that shows customers where the sum of the TXN_COUNT is between 0 and 5, 6 and 10, 11 and 15, etc. for a given date range. I think I need an expression that uses one of the range functions but I'm not entirely clear.&lt;/P&gt;&lt;P class="MsoNoSpacing"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing"&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P class="MsoNoSpacing"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing"&gt;Thanks,&lt;/P&gt;&lt;P class="MsoNoSpacing"&gt;Shannon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-function/m-p/197522#M57162</guid>
      <dc:creator />
      <dc:date>2010-11-22T20:19:38Z</dc:date>
    </item>
    <item>
      <title>Range function</title>
      <link>https://community.qlik.com/t5/QlikView/Range-function/m-p/197523#M57163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shannon,&lt;/P&gt;&lt;P&gt;You can either do the work in the script (assigning groups based on the sum) or you can do it dynamically, which will slow down performance a bit. You would need to create a calculated dimension that looks like this:&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;aggr(&lt;BR /&gt; if(sum(TXN_COUNT&amp;lt;6,&lt;BR /&gt; 'Group 1',&lt;BR /&gt; if(sum(TXN_COUNT&amp;lt;11,&lt;BR /&gt; 'Group 2',&lt;BR /&gt; 'Group 3'&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; ,Customer&lt;BR /&gt;)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you want to put this in the script, the solution would be very similar except that instead of aggr over Customer, you would make a GROUP BY Customer.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-function/m-p/197523#M57163</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-11-22T20:40:40Z</dc:date>
    </item>
    <item>
      <title>Range function</title>
      <link>https://community.qlik.com/t5/QlikView/Range-function/m-p/197524#M57164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;class(TXN_COUNT,5)&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Edit: class(sum(TXN_COUNT),5)&lt;/P&gt;&lt;P&gt;Though it may not produce exactly the results you want. If you need more control over the results, you may need to use a nested if() or a mapping table. No, you don't want one of the rangeXXX() functions. Those are for applying a function to a list of numbers, like rangesum(1,2,3) = 6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-function/m-p/197524#M57164</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-22T20:42:58Z</dc:date>
    </item>
    <item>
      <title>Range function</title>
      <link>https://community.qlik.com/t5/QlikView/Range-function/m-p/197525#M57165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I'll try creating a calculated dimension first ans see if it impacts performance. This is a prototype and still very small so hopefully it won't be an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-function/m-p/197525#M57165</guid>
      <dc:creator />
      <dc:date>2010-11-22T20:47:46Z</dc:date>
    </item>
    <item>
      <title>Range function</title>
      <link>https://community.qlik.com/t5/QlikView/Range-function/m-p/197526#M57166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thaks for the response. I'll try your suggestion as well as Vladimir's and see which one works best for I'm trying to do.&lt;/P&gt;&lt;P&gt;Thanks again - Shannon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 20:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-function/m-p/197526#M57166</guid>
      <dc:creator />
      <dc:date>2010-11-22T20:49:02Z</dc:date>
    </item>
  </channel>
</rss>

