<?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: Percentage calculation for totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-for-totals/m-p/673728#M244655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: 1 - sum(cost)/sum(price)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 13:37:32 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-10-07T13:37:32Z</dc:date>
    <item>
      <title>Percentage calculation for totals</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-for-totals/m-p/673727#M244654</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;I have a calculation of ship profit % as sum((price - cost) / price) which is calculating correctly and displayed as % with the show in percent(%) checked for every row.&lt;/P&gt;&lt;P&gt;The issue i am having is that the total displayed at the bottom is showing the sum of all the percentages for the calculation instead of calculating the percentages of the totals.For the totals i am looking to display the total(price - cost) / total price.&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;Price&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %&lt;/P&gt;&lt;P&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 66%&lt;/P&gt;&lt;P&gt;------------------------------------&lt;/P&gt;&lt;P&gt;50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 116%&amp;nbsp; -- Currently showing this which is sum of the two rows of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60%&amp;nbsp; --&amp;nbsp; Need QV to show this which is&amp;nbsp; (price - cost / price) as %age.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any recomendations to resolve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-for-totals/m-p/673727#M244654</guid>
      <dc:creator>raghuvr33</dc:creator>
      <dc:date>2014-10-07T13:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation for totals</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-for-totals/m-p/673728#M244655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: 1 - sum(cost)/sum(price)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-for-totals/m-p/673728#M244655</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-07T13:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation for totals</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-for-totals/m-p/673729#M244656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that did it with total mode as expression total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-for-totals/m-p/673729#M244656</guid>
      <dc:creator>raghuvr33</dc:creator>
      <dc:date>2014-10-07T13:41:16Z</dc:date>
    </item>
  </channel>
</rss>

