<?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: Total SUM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477631#M481704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;I know it's a correct answer, but there is a way to get the result by adding a field without using before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 16:13:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-09-25T16:13:44Z</dc:date>
    <item>
      <title>Total SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477629#M481702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have a problem with qlik and when I put the partial sums of the system.&lt;/P&gt;&lt;P&gt;The problem is the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 896px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" width="64"&gt; &lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="64"&gt;&lt;STRONG&gt;D3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl71" colspan="4" style="border-right: .5pt solid white; border-left: none;" width="256"&gt;&lt;STRONG&gt;23/09/2013&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl71" colspan="4" style="border-right: .5pt solid white; border-left: none;" width="256"&gt;&lt;STRONG&gt;24/09/2013&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl75" colspan="4" style="border-right: .5pt solid white; border-left: none;" width="256"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="20" style="border-top: none;"&gt;&lt;STRONG&gt;D1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt;D2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V3/V1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V3/V1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;V3/V1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" width="64"&gt; B&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;17&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;16&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;88.2%&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;8&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;50.0%&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="64"&gt;25&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="64"&gt;23&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="64"&gt;19&lt;/TD&gt;&lt;TD class="xl80" style="border-top: none; border-left: none;" width="64"&gt;76.0%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system total show 76%, it's normal, but I need (88.2+50)/2= 69.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution is add a column whit this (before([V3/V1]) +[V3/V1]) /2, but is not good for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 15:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477629#M481702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-25T15:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Total SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477630#M481703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview give the correct answer: 19/25=76%.(sum(v3)/sum(v1))&lt;/P&gt;&lt;P&gt;In statistic you cannot calculate the average of percentages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 16:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477630#M481703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-25T16:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Total SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477631#M481704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;I know it's a correct answer, but there is a way to get the result by adding a field without using before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 16:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477631#M481704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-25T16:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Total SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477632#M481705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly, QlikView calculates the "Expression Total" at your subtotal levels and you'd like to calculate the average of the subtotals instead...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Advanced Aggregation (funciton AGGR) to pre-calculate the subtotals at the relevant level of detail, and then to apply average to the pre-calculated results: something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG( AGGR ( sum(V3)/SUM(V1), D1, D2) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually the same expression should work equally well for all levels. If it doesn't, then you can use Dimensionality() to define what calculation to use at what level:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF (Dimensionality() = 0, &amp;lt;Formula1&amp;gt;, &amp;lt;Formula2&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.masterssummit.com/"&gt;www.masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 19:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM/m-p/477632#M481705</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-09-25T19:21:19Z</dc:date>
    </item>
  </channel>
</rss>

