<?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: Rangesum(Before( is not working right in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97120#M15575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahah, ok now it works!&lt;/P&gt;&lt;P&gt;I thought that the second part of the rangesum formula was to select which one field you consider for the interval 0,7.&lt;/P&gt;&lt;P&gt;But now I don't know why i must write the interval 0,7 if the interval is ever 0,6. (from Mon to Sun)&lt;/P&gt;&lt;P&gt;It works when i write 0,7 but it doesn't for 1,7 and 0,6.&amp;nbsp; Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2018 12:14:15 GMT</pubDate>
    <dc:creator>captain89</dc:creator>
    <dc:date>2018-09-21T12:14:15Z</dc:date>
    <item>
      <title>Rangesum(Before( is not working right</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97118#M15573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi esperts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my data model I have only one table with simple fields (dimensions and values).&lt;/P&gt;&lt;P&gt;I need to make a progressive sum in a week of production for a quantity field (&lt;SPAN style="font-size: 13.3333px;"&gt;[Qt Movimento Coeff.])&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result of the sum seems bad.&lt;/P&gt;&lt;P&gt;It adds one value for each day:&lt;/P&gt;&lt;P&gt;26891+35785=62676 (qlik shows 62677) +22205= 84881 (qlik shows 84883)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The First Formula (Parziale) = SUM([Qt Movimento Coeff.])&lt;/P&gt;&lt;P&gt;The Second One&amp;nbsp;&amp;nbsp; (Progressivo) = rangesum(before(sum([Qt Movimento Coeff.]), 0, 7),MGiornoN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MGiornoN is a parallel dimension of &amp;gt;MGiorno&lt;/P&gt;&lt;P&gt;0=Lun 1=Mar, 2=Mer, 3=Gio, 4=Ven, 5=Sab, 6=Dom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CH03Image.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214129_CH03Image.png" style="height: 184px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 10:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97118#M15573</guid>
      <dc:creator>captain89</dc:creator>
      <dc:date>2018-09-21T10:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum(Before( is not working right</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97119#M15574</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;I think the reason of result+1 issue is this part of your expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rangesum(before(sum([Qt Movimento Coeff.]), 0, 7)&lt;STRONG&gt;,MGiornoN&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Because RangeSum(Value1, Value2, Value3 etc.) function means the sum of all values separated by the comma.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 11:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97119#M15574</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2018-09-21T11:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum(Before( is not working right</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97120#M15575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahah, ok now it works!&lt;/P&gt;&lt;P&gt;I thought that the second part of the rangesum formula was to select which one field you consider for the interval 0,7.&lt;/P&gt;&lt;P&gt;But now I don't know why i must write the interval 0,7 if the interval is ever 0,6. (from Mon to Sun)&lt;/P&gt;&lt;P&gt;It works when i write 0,7 but it doesn't for 1,7 and 0,6.&amp;nbsp; Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 12:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97120#M15575</guid>
      <dc:creator>captain89</dc:creator>
      <dc:date>2018-09-21T12:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum(Before( is not working right</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97121#M15576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;0=Lun 1=Mar, 2=Mer, 3=Gio, 4=Ven, 5=Sab, 6=Dom&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;--&amp;gt; 7 Values&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 12:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-Before-is-not-working-right/m-p/97121#M15576</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2018-09-21T12:32:13Z</dc:date>
    </item>
  </channel>
</rss>

