<?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 Creating advanced partial sums in a Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-advanced-partial-sums-in-a-Pivot-table/m-p/338659#M572882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there everybody..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this time i need your scholar help with defining a calculated partial sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the file attached there is a Pivot chart with the following details: A Key attribute, Meter(or miles for that matter), Total fuel cost per refueling and location.&lt;/P&gt;&lt;P&gt;What i need to do is create a calculation of the following kind:&lt;/P&gt;&lt;P&gt;1. Take the highest meter score for every key attribute and subtract it with the lowest one. that is in the form of a subtotal appeared in the table - per each Key attribute.&lt;/P&gt;&lt;P&gt;2. take the fuel cost for every key attribute, sum it (minus the last fuel - which will be determined by the highest meter score) and show it as a form of a subtotal appeared in the table.&lt;/P&gt;&lt;P&gt;3. Then after that, divide the sum of cost by the sum of meter to get the &lt;STRONG&gt;price per meter for every Key attribute&lt;/STRONG&gt;. this is the main goal. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your convenient, i have attached a ready QVW file with all the details and the XL origin file..&lt;/P&gt;&lt;P&gt;I have tried a few methods but without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Evya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Aug 2012 15:11:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-05T15:11:28Z</dc:date>
    <item>
      <title>Creating advanced partial sums in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-advanced-partial-sums-in-a-Pivot-table/m-p/338659#M572882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there everybody..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this time i need your scholar help with defining a calculated partial sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the file attached there is a Pivot chart with the following details: A Key attribute, Meter(or miles for that matter), Total fuel cost per refueling and location.&lt;/P&gt;&lt;P&gt;What i need to do is create a calculation of the following kind:&lt;/P&gt;&lt;P&gt;1. Take the highest meter score for every key attribute and subtract it with the lowest one. that is in the form of a subtotal appeared in the table - per each Key attribute.&lt;/P&gt;&lt;P&gt;2. take the fuel cost for every key attribute, sum it (minus the last fuel - which will be determined by the highest meter score) and show it as a form of a subtotal appeared in the table.&lt;/P&gt;&lt;P&gt;3. Then after that, divide the sum of cost by the sum of meter to get the &lt;STRONG&gt;price per meter for every Key attribute&lt;/STRONG&gt;. this is the main goal. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your convenient, i have attached a ready QVW file with all the details and the XL origin file..&lt;/P&gt;&lt;P&gt;I have tried a few methods but without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Evya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2012 15:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-advanced-partial-sums-in-a-Pivot-table/m-p/338659#M572882</guid>
      <dc:creator />
      <dc:date>2012-08-05T15:11:28Z</dc:date>
    </item>
  </channel>
</rss>

