<?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: sum for range values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-for-range-values/m-p/621873#M228941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have equi length gaps, you can try &lt;STRONG&gt;class()&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 05:01:35 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-03-11T05:01:35Z</dc:date>
    <item>
      <title>sum for range values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-for-range-values/m-p/621872#M228940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;i need to calculte value for range for exm:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;how many orders i have with 1-20 items, and 21-35 items , and 35-40 items and so on...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;i write - count({&amp;lt;numitem={'&amp;gt;1or&amp;lt;20'}&amp;gt;}ordersnumber&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;but it doesn't work good in all &lt;SPAN class="hps"&gt;Cases&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;how do i need to write it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;thanks'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;yarin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 04:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-for-range-values/m-p/621872#M228940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-11T04:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: sum for range values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-for-range-values/m-p/621873#M228941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have equi length gaps, you can try &lt;STRONG&gt;class()&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 05:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-for-range-values/m-p/621873#M228941</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-11T05:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: sum for range values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-for-range-values/m-p/621874#M228942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;count({&amp;lt;numitem={'&amp;gt;=1&amp;lt;=20'}&amp;gt;}ordersnumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;numitem={'&amp;gt;=21&amp;lt;=35'}&amp;gt;}ordersnumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;numitem={'&amp;gt;=36&amp;lt;=40'}&amp;gt;}ordersnumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or try this way in script side&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RangeOnly(if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;numitem&lt;/SPAN&gt;&amp;gt;=1 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;numitem&lt;/SPAN&gt;&amp;lt;=20,'1-20 Items',&lt;/P&gt;&lt;P&gt;RangeOnly(if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;numitem&lt;/SPAN&gt;&amp;gt;=21 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;numitem&lt;/SPAN&gt;&amp;lt;=35,'21-35 Items',&lt;/P&gt;&lt;P&gt;RangeOnly(if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;numitem&lt;/SPAN&gt;&amp;gt;=35 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;numitem&lt;/SPAN&gt;&amp;lt;=40,'35-40 Items')))))) as Field&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 05:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-for-range-values/m-p/621874#M228942</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-03-11T05:04:48Z</dc:date>
    </item>
  </channel>
</rss>

