<?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 RangeSum decimal numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeSum-decimal-numbers/m-p/1996532#M1225687</link>
    <description>&lt;P&gt;Good morning&lt;/P&gt;
&lt;P&gt;Could you explain to me how exactly rangesum works because I have this code "rangesum(above(num(funkcion,'#.###0'),0,RowNo())".&lt;BR /&gt;but when summing it changes my numbers from 0 decimal places to 3 places as it is in the data retrieved from the database you can see in the screenshot the difference using rangesum and without it, is it possible to write code to sum integers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Killer_IT_2-1666693632613.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92086i2C5849B8F1918919/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Killer_IT_2-1666693632613.png" alt="Luke_Killer_IT_2-1666693632613.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:58:15 GMT</pubDate>
    <dc:creator>Luke_Killer_IT</dc:creator>
    <dc:date>2024-11-15T21:58:15Z</dc:date>
    <item>
      <title>RangeSum decimal numbers</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-decimal-numbers/m-p/1996532#M1225687</link>
      <description>&lt;P&gt;Good morning&lt;/P&gt;
&lt;P&gt;Could you explain to me how exactly rangesum works because I have this code "rangesum(above(num(funkcion,'#.###0'),0,RowNo())".&lt;BR /&gt;but when summing it changes my numbers from 0 decimal places to 3 places as it is in the data retrieved from the database you can see in the screenshot the difference using rangesum and without it, is it possible to write code to sum integers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Killer_IT_2-1666693632613.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92086i2C5849B8F1918919/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Killer_IT_2-1666693632613.png" alt="Luke_Killer_IT_2-1666693632613.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-decimal-numbers/m-p/1996532#M1225687</guid>
      <dc:creator>Luke_Killer_IT</dc:creator>
      <dc:date>2024-11-15T21:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum decimal numbers</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-decimal-numbers/m-p/1996545#M1225688</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/143282"&gt;@Luke_Killer_IT&lt;/a&gt;&lt;BR /&gt;The RangeSum() function in QlikView is used to do a selective sum on chosen fields which is not easily achieved by the sum function. It can take expressions containing other functions as its arguments and return the sum of those expressions. &amp;nbsp;RangeSum() returns the sum of a range of values. All non-numeric values are treated as 0.&lt;BR /&gt;Syntax: &amp;nbsp;&lt;I&gt;&lt;STRONG&gt;RangeSum(first_expr[, Expression])&lt;/STRONG&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look at the following:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense/August2022/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/RangeFunctions/rangesum.htm" target="_blank"&gt;&lt;STRONG&gt;RangeSum - script and chart function&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;A href="https://www.tutorialspoint.com/qlikview/qlikview_rangesum_function.htm" target="_blank"&gt;&lt;STRONG&gt;QlikView - RangeSum Function&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;A href="https://www.youtube.com/watch?v=6FQ9-8RTuWs" target="_blank"&gt;&lt;STRONG&gt;QlikView Rolling Total for n Period with RangeSum and Above function&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 10:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-decimal-numbers/m-p/1996545#M1225688</guid>
      <dc:creator>Chip_Matejowsky</dc:creator>
      <dc:date>2022-10-25T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum decimal numbers</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-decimal-numbers/m-p/1996554#M1225689</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/13651"&gt;@Chip_Matejowsky&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand that if my expression has several functions and they are calculated with a decimal number, and then the given value, which is the first expression, is superimposed function num, so that there are no decimal places. However, RangeSum, breaks the first expression into decimal numbers and sums them. Which is not correct because it brings up erroneous results for me&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-decimal-numbers/m-p/1996554#M1225689</guid>
      <dc:creator>Luke_Killer_IT</dc:creator>
      <dc:date>2022-10-25T11:32:09Z</dc:date>
    </item>
  </channel>
</rss>

