<?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 in load script doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409395#M152226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are grouping by signatur it wont give you total 9 because if you note the signatur, both the values are different. So it wont get sum up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2013 11:31:17 GMT</pubDate>
    <dc:creator>sivarajs</dc:creator>
    <dc:date>2013-04-29T11:31:17Z</dc:date>
    <item>
      <title>SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409392#M152223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey users!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is very easy and I wonder that I don't get it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39949" class="jive-image-thumbnail jive-image" onclick="" alt="sum_load_script.jpg" src="https://community.qlik.com/legacyfs/online/39949_sum_load_script.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is, that it shows me the two field again, but I want a sum. It has to sum the values. 3 + 6 = 9. I thought that's what sum do!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Sometimes-Desperate-Inga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 10:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409392#M152223</guid>
      <dc:creator />
      <dc:date>2013-04-29T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409393#M152224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, Sum() only works together with a Group By. If you want to accumulate, you should use &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rangesum(Peek(Kumuliert),Betrag) as Kumuliert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make sure that it is correctly sorted...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 10:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409393#M152224</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-04-29T10:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409394#M152225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At script label,&lt;/P&gt;&lt;P&gt;if you are using&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;sum(@56) as [kumuliert: Ausleihen gesamt ]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then must be used groupby.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;**********************************************&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;you can simply try in your expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(Total(@56))&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 10:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409394#M152225</guid>
      <dc:creator />
      <dc:date>2013-04-29T10:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409395#M152226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are grouping by signatur it wont give you total 9 because if you note the signatur, both the values are different. So it wont get sum up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 11:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409395#M152226</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2013-04-29T11:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409396#M152227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps, I can show better what I've done, if you see my group by. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39968" class="jive-image-thumbnail jive-image" onclick="" alt="sum_load_new.jpg" src="https://community.qlik.com/legacyfs/online/39968_sum_load_new.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39969" class="jive-image-thumbnail jive-image" onclick="" alt="sum_load_ergebnis.jpg" src="https://community.qlik.com/legacyfs/online/39969_sum_load_ergebnis.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Hmmm, for example the 38 is grouped. But... There must be 106. And if I mark The 1 and the 21 in the table, there should be a 22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show me how to fill in in your rangesum-command? I don't get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Inga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 11:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409396#M152227</guid>
      <dc:creator />
      <dc:date>2013-04-29T11:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409397#M152228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you can see my group by. No, sum(total () ) doesn't work. But it was a good try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39971" class="jive-image-thumbnail jive-image" onclick="" alt="sum_total.jpg" src="https://community.qlik.com/legacyfs/online/39971_sum_total.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 11:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409397#M152228</guid>
      <dc:creator />
      <dc:date>2013-04-29T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409398#M152229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Use group by, as Sum() in load script always works with Group by.&lt;/P&gt;&lt;P&gt;2) Since,you are using the signatur field as dimension and since it has got two different values.&lt;/P&gt;&lt;P&gt;so the data gets&amp;nbsp; bifurcated and you get two values 6 and 3 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Snehal Nabar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 12:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409398#M152229</guid>
      <dc:creator />
      <dc:date>2013-04-29T12:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409399#M152230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Total(@56)) work in expression of Pivote table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 12:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409399#M152230</guid>
      <dc:creator />
      <dc:date>2013-04-29T12:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409400#M152231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Use group by, as Sum() in load script always works with Group by.&lt;/P&gt;&lt;P&gt;2) Since,you are using the signatur field as dimension and since it has got two different values.&lt;/P&gt;&lt;P&gt;so the data gets&amp;nbsp; bifurcated and you get two values 6 and 3 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Snehal Nabar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 12:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409400#M152231</guid>
      <dc:creator />
      <dc:date>2013-04-29T12:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409401#M152232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best solution for accumulation is often &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; to do it in the script. Instead you should do it in a chart/pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just load the data you have &lt;EM&gt;without any group by in the script&lt;/EM&gt;, and then create a chart where you define two expressions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum([Ausleihen gesamt])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(Above(Kumuliert), Sum([Ausleihen gesamt]))&lt;/P&gt;&lt;P&gt;and label the second expression "Kumuliert", then I think you will get what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 13:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409401#M152232</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-04-29T13:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409402#M152233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, the easy way is to create a listbox or a statistics box. I created a statistics box and sum the [Ausleihen gesamt]. It's nice to see, that it works, but for futher calculations I need a field and no object. It's terrible, but I don't give up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Inga &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409402#M152233</guid>
      <dc:creator />
      <dc:date>2013-04-29T14:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409403#M152234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Snehal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wooow, I can't believe that I desperate on a sum. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Yes, I have the exact field in my group by.&lt;/P&gt;&lt;P&gt;2) I deactivate "Signatur" but it doesn't work. It's the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I helped now with a statistics-box, but for futher calculations I can't use the objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Inga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409403#M152234</guid>
      <dc:creator />
      <dc:date>2013-04-29T14:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in load script doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409404#M152235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you want to have it in the script, you should do what I suggested earlier:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rangesum(Peek(Kumuliert),@56) as Kumuliert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 15:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-load-script-doesn-t-work/m-p/409404#M152235</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-04-29T15:13:42Z</dc:date>
    </item>
  </channel>
</rss>

