<?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 sum intervals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Range-sum-intervals/m-p/124429#M760938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate sum of values based on range of id values rolling back on each number. These range of bucket is coming from other table. and for each row there would be 3 buckets which we need to roll back and do sum. Please understand the sheet1, sheet2 input data.&lt;/P&gt;&lt;P&gt;Start1,End1; Start2,End2; Start3,End3 fields are the intervals that we need to do sum from other table based on range of values.&lt;/P&gt;&lt;P&gt;Here i am attaching input data (excel). and my qlik working file.&lt;/P&gt;&lt;P&gt;Refer output sheet in excel file for my desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>dusasuman</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Range sum intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-intervals/m-p/124429#M760938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate sum of values based on range of id values rolling back on each number. These range of bucket is coming from other table. and for each row there would be 3 buckets which we need to roll back and do sum. Please understand the sheet1, sheet2 input data.&lt;/P&gt;&lt;P&gt;Start1,End1; Start2,End2; Start3,End3 fields are the intervals that we need to do sum from other table based on range of values.&lt;/P&gt;&lt;P&gt;Here i am attaching input data (excel). and my qlik working file.&lt;/P&gt;&lt;P&gt;Refer output sheet in excel file for my desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-intervals/m-p/124429#M760938</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-intervals/m-p/124430#M760939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Bucket= '0-4',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(If(Date &amp;gt;= Start1 and Date &amp;lt;= End1, Amount)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Bucket= '06-16',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(If(Date &amp;gt;= Start2 and Date &amp;lt;= End2, Amount)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Bucket='17-28',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(If(Date &amp;gt;= Start3 and Date &amp;lt;= End3, Amount))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 11:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-intervals/m-p/124430#M760939</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-09T11:41:57Z</dc:date>
    </item>
  </channel>
</rss>

