<?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 % of Total Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/of-Total-Calculation/m-p/429676#M489925</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 am still relatively new to QV so bear with me! Set up a pivot tables based mostly on Product and month. Product is the row and month total sales is each column (has to be set up this way - for now). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 1: &lt;/P&gt;&lt;P&gt;PRODUCT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FEB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAR...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD&lt;/P&gt;&lt;P&gt;Product A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $17 etc through December and YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the YTD column there should be a % of Total column. I would like this to do Product A / Total Revenue on Line 1 (Product A), Product B / Total Revenue on Line 2, etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shouldn't be so hard to figure out, I wouldn't think! My challenge here is telling the expresion that Line 1 should only be Product A / Total, while Line 2 should be Product B / Total. A very basic excel template is shown to protect product names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense. Thank you very much!&lt;IMG __jive_id="25038" class="jive-image" alt="QV example.JPG" src="/legacyfs/online/25038_QV example.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2012 16:58:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-13T16:58:11Z</dc:date>
    <item>
      <title>% of Total Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-Calculation/m-p/429676#M489925</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 am still relatively new to QV so bear with me! Set up a pivot tables based mostly on Product and month. Product is the row and month total sales is each column (has to be set up this way - for now). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 1: &lt;/P&gt;&lt;P&gt;PRODUCT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FEB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAR...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD&lt;/P&gt;&lt;P&gt;Product A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $17 etc through December and YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the YTD column there should be a % of Total column. I would like this to do Product A / Total Revenue on Line 1 (Product A), Product B / Total Revenue on Line 2, etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shouldn't be so hard to figure out, I wouldn't think! My challenge here is telling the expresion that Line 1 should only be Product A / Total, while Line 2 should be Product B / Total. A very basic excel template is shown to protect product names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense. Thank you very much!&lt;IMG __jive_id="25038" class="jive-image" alt="QV example.JPG" src="/legacyfs/online/25038_QV example.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 16:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-Calculation/m-p/429676#M489925</guid>
      <dc:creator />
      <dc:date>2012-11-13T16:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-Calculation/m-p/429677#M489926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you add an expression in the pivot table with month pivoted to columns then it will be shown as a column for every value of month. It is possible to add a calculated dimension: num(aggr(sum(Revenue),Product)/sum(total Revenue),'##.# %') to show directly after the product column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 17:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-Calculation/m-p/429677#M489926</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-13T17:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-Calculation/m-p/429678#M489927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip! I used =sum(Revenue)/sum (total Revenue). Your answer worked as well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 18:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-Calculation/m-p/429678#M489927</guid>
      <dc:creator />
      <dc:date>2012-11-13T18:34:54Z</dc:date>
    </item>
  </channel>
</rss>

