<?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 Row Values in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358092#M132906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate your question??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding you want the percentage of a product from total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, your calculation should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(amount received) / sum(total amount received).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetu SIngh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 11:04:25 GMT</pubDate>
    <dc:creator>neetu_singh</dc:creator>
    <dc:date>2012-03-19T11:04:25Z</dc:date>
    <item>
      <title>Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358091#M132905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping someone can point me in the right direction, I want to do a calculation on a pivot table to work out the percentage for each item, so I need to get the value for the total of the row... i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product A Total: 4000&lt;/P&gt;&lt;P&gt;When expanded, you see the subtotal for each sub-product:&lt;/P&gt;&lt;P&gt;P1 2000&lt;/P&gt;&lt;P&gt;P2 1000&lt;/P&gt;&lt;P&gt;P3 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my calculation would be:&lt;/P&gt;&lt;P&gt;P1 4000/2000&lt;/P&gt;&lt;P&gt;P2 4000/1000&lt;/P&gt;&lt;P&gt;P3 4000/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried TOTAL, but I don't want the total for all of the products, just the product related to the sub-product.. Hope this makes sense!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 10:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358091#M132905</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2012-03-19T10:49:47Z</dc:date>
    </item>
    <item>
      <title>Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358092#M132906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate your question??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding you want the percentage of a product from total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, your calculation should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(amount received) / sum(total amount received).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetu SIngh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358092#M132906</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2012-03-19T11:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358093#M132907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use group in the TOTAL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Sales)/Sum(TOTAL &amp;lt;SubProducts&amp;gt; Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358093#M132907</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-19T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358094#M132908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358094#M132908</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-03-19T11:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358095#M132909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neetu, by using TOTAL - I get the total for all products, but what I need is the sub total for each product for the sub-products, so unfortunately that doesn't work. &lt;/P&gt;&lt;P&gt;I tried using the group in the total, and I get the below - should the expression for Part 4054X be 3437?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358095#M132909</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2012-03-19T11:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358096#M132910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;qlikuser14,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your post, but I use set analysis in my calculation - so I don't think I can use AGGR - and I need it in one column.. Do you have any other suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358096#M132910</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2012-03-19T11:17:24Z</dc:date>
    </item>
    <item>
      <title>Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358097#M132911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it in one column, I just gave you all the formulas in different columns so you can understand it. What do you mean you use set analysis? It would be the same... If you give me an example I tell you how to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358097#M132911</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-03-19T11:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358098#M132912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dayna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;amount received&lt;/SPAN&gt;) / aggr((sum(amount received)),sub product) ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358098#M132912</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2012-03-19T11:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358099#M132913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dayna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr function will work with Set Analysis, as i am also using set analysis &amp;amp; aggr function in a single expression as mention below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;sum(aggr(sum({&amp;lt;Store={"=rank(sum(Sales))&amp;lt;3"}&amp;gt;} Sales),Store,Customer)).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Neetu Singh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358099#M132913</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2012-03-19T11:27:43Z</dc:date>
    </item>
    <item>
      <title>Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358100#M132914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; O great, I'll give it a go! For some reason, I thought you couldn't use Set Analysis and Aggr together.. (If you can, then great!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the record, my calculation is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=date(addmonths(today(),-1),'MMM YYYY'))'},CV_tr_type = {'ISS-WO'}&amp;gt;} CV_tr_qty_loc) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Kind Regards,&lt;/P&gt;&lt;P&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358100#M132914</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2012-03-19T11:33:46Z</dc:date>
    </item>
    <item>
      <title>Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358101#M132915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this, but plz check your set analysis expression as in addmonths 'mmm yyyy' it shows error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({'$(=date(addmonths(today(),-1),'MMM YYYY'))'},CV_tr_type = {'ISS-WO'}&amp;gt;} CV_tr_qty_loc)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(aggr(sum({'$(=date(addmonths(today(),-1),'MMM YYYY'))'},CV_tr_type = {'ISS-WO'}&amp;gt;} CV_tr_qty_loc),SubProduct))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 11:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358101#M132915</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2012-03-19T11:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Row Values in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358102#M132916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still no joy I'm afraid, it just comes up blank.. I'll try and get an example application sorted. For the moment, I wouldn't worry about the full expression - just the total ﻿﻿﻿[ sum(aggr(sum({'$(=date(addmonths(today(),-1),'MMM YYYY'))'},CV_tr_type = {'ISS-WO'}&amp;gt;} CV_tr_qty_loc),SubProduct)) ] would be wonderful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your continued help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Dayna&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 14:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Row-Values-in-Pivot-Table/m-p/358102#M132916</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2012-03-19T14:05:44Z</dc:date>
    </item>
  </channel>
</rss>

