<?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 Pivot Table Drill Down Calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Drill-Down-Calculations/m-p/200156#M589986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved thanks to Tim @ QV! Incase anyone needs to know the aggrigation should have been on [Company] and [Theme] (which is the drill dow dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 11:51:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-05T11:51:07Z</dc:date>
    <item>
      <title>Pivot Table Drill Down Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Drill-Down-Calculations/m-p/200155#M589985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having trouble trying to get a calculation to work correctly in a pivot table with a drill down dimension. Here's a little bit of background:&lt;/P&gt;&lt;P&gt;The data represents numbers of articles found about 6 different companies and a range of major and minor themes about those companies. I want the pivot to to display linear gauges where the bars will all be proportioned to the maximum value of the displayed set. For example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-792_sourceID:792" /&gt;&lt;/P&gt;&lt;P&gt;So Company A, Environment/Ethics is the highest value with 1513 and I want all the bars calculated as a proportion of this. You then can drill down to Minor Theme. I have the calculation working at the bottom level but it does not seem to work at the top level.&lt;/P&gt;&lt;P&gt;The following pictures illustrate my point (I have added 2 text fields after the bars to show the 2 numbers needed to calculate the bars by dividing one by the other)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-793_sourceID:793" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-794_sourceID:794" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation I am using for the linear gauge is as follows:&lt;/P&gt;&lt;P&gt;(count(uri) / max(total aggr(count(uri),Company, [Major Theme], [Minor Theme]))) * 100&lt;/P&gt;&lt;P&gt;Can anyone shed any light on this as I am clearly missing some important little snippet of info to make this work!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 00:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Drill-Down-Calculations/m-p/200155#M589985</guid>
      <dc:creator />
      <dc:date>2010-01-05T00:39:55Z</dc:date>
    </item>
    <item>
      <title>Pivot Table Drill Down Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Drill-Down-Calculations/m-p/200156#M589986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved thanks to Tim @ QV! Incase anyone needs to know the aggrigation should have been on [Company] and [Theme] (which is the drill dow dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Drill-Down-Calculations/m-p/200156#M589986</guid>
      <dc:creator />
      <dc:date>2010-01-05T11:51:07Z</dc:date>
    </item>
  </channel>
</rss>

