<?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 Custom Others or Total calculation in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Others-or-Total-calculation-in-straight-table/m-p/386833#M566878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to customize the Others or Total aggregation in a straight table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;What I want: max(.15 - TotalSales / TotalSectorSales, 0) * TotalSectorSales where Total Sales = Sum_{c in companies} (Sales_c) and the same for sector sales&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt; QV seems to do the aggregation this way: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;Sum_{c in companies} ( max(.15 - Sales_c / SectorSales_c, 0) * SectorSales_c)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;Your help is greatly appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2012 16:47:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-28T16:47:14Z</dc:date>
    <item>
      <title>Custom Others or Total calculation in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Others-or-Total-calculation-in-straight-table/m-p/386833#M566878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to customize the Others or Total aggregation in a straight table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;What I want: max(.15 - TotalSales / TotalSectorSales, 0) * TotalSectorSales where Total Sales = Sum_{c in companies} (Sales_c) and the same for sector sales&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt; QV seems to do the aggregation this way: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;Sum_{c in companies} ( max(.15 - Sales_c / SectorSales_c, 0) * SectorSales_c)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;Your help is greatly appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 16:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Others-or-Total-calculation-in-straight-table/m-p/386833#M566878</guid>
      <dc:creator />
      <dc:date>2012-11-28T16:47:14Z</dc:date>
    </item>
  </channel>
</rss>

