<?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 Sum of rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608984#M224849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this data:&lt;/P&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this data:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-503424-56693/pastedImage_0.png"&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/56699_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a table.I want to set an expression to have this result:&lt;/P&gt;&lt;P&gt;A -&amp;gt; 6 (sum of all Number with Period=A)&lt;/P&gt;&lt;P&gt;C -&amp;gt; 4 (sum of all Number with Period=C)&lt;/P&gt;&lt;P&gt;B -&amp;gt; 50 (sum of all Number with Period=B)&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I set the sum() ? Aggr ( sum (Distinct Number), Period) doesn't work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a table.I want to set an expression to have this result:&lt;/P&gt;&lt;P&gt;A -&amp;gt; 6 (sum of all Number with Period=A)&lt;/P&gt;&lt;P&gt;C -&amp;gt; 4 (sum of all Number with Period=C)&lt;/P&gt;&lt;P&gt;B -&amp;gt; 50 (sum of all Number with Period=B)&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I set the sum() ? sum (Number) or Aggr ( sum (Distinct Number), Period) doesn't work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messaggio modificato da luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 09:31:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-07T09:31:49Z</dc:date>
    <item>
      <title>Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608984#M224849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this data:&lt;/P&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this data:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-503424-56693/pastedImage_0.png"&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/56699_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a table.I want to set an expression to have this result:&lt;/P&gt;&lt;P&gt;A -&amp;gt; 6 (sum of all Number with Period=A)&lt;/P&gt;&lt;P&gt;C -&amp;gt; 4 (sum of all Number with Period=C)&lt;/P&gt;&lt;P&gt;B -&amp;gt; 50 (sum of all Number with Period=B)&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I set the sum() ? Aggr ( sum (Distinct Number), Period) doesn't work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a table.I want to set an expression to have this result:&lt;/P&gt;&lt;P&gt;A -&amp;gt; 6 (sum of all Number with Period=A)&lt;/P&gt;&lt;P&gt;C -&amp;gt; 4 (sum of all Number with Period=C)&lt;/P&gt;&lt;P&gt;B -&amp;gt; 50 (sum of all Number with Period=B)&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I set the sum() ? sum (Number) or Aggr ( sum (Distinct Number), Period) doesn't work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messaggio modificato da luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608984#M224849</guid>
      <dc:creator />
      <dc:date>2014-04-07T09:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608985#M224850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use a chart (straigth table) with&lt;/P&gt;&lt;P&gt;dimension&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period&lt;/P&gt;&lt;P&gt;expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Number) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608985#M224850</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-07T09:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608986#M224851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'va already done that, but i.e. for A I have 300, not 50..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608986#M224851</guid>
      <dc:creator />
      <dc:date>2014-04-07T09:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608987#M224852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post your qlikview doc, if possible&lt;/P&gt;&lt;P&gt;I think you have some other fields other than Period&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608987#M224852</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-07T09:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608988#M224853</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;Try this it may helpful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(total aggr(nondistinct sum(Number),Period,date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ASHOK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608988#M224853</guid>
      <dc:creator />
      <dc:date>2014-04-07T09:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608989#M224854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi luca,&lt;/P&gt;&lt;P&gt;Sum(Number) -&amp;gt; Use This Expression in Straight Table&lt;/P&gt;&lt;P&gt;Aggr(Sum(Number),Type)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608989#M224854</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-07T09:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608990#M224855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have another field in my table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/56695_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I thought it was not important..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608990#M224855</guid>
      <dc:creator />
      <dc:date>2014-04-07T09:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608991#M224856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRY THIS ....&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/56691_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608991#M224856</guid>
      <dc:creator />
      <dc:date>2014-04-07T09:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608992#M224857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take a straight table. Use period as dimension and sum(value) as Expression..U should get it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 06:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608992#M224857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-08T06:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608993#M224858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using Aggr function, use total function.&lt;/P&gt;&lt;P&gt;This will show the sum of number across period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the below expression:&lt;/P&gt;&lt;P&gt;sum(total&amp;lt;Period&amp;gt;number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you..!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 09:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608993#M224858</guid>
      <dc:creator />
      <dc:date>2014-04-08T09:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608994#M224859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at The Attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 10:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-rows/m-p/608994#M224859</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-08T10:02:41Z</dc:date>
    </item>
  </channel>
</rss>

