<?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 Promedio en total de tabla pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Promedio-en-total-de-tabla-pivot/m-p/360719#M578803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola a todos!&lt;/P&gt;&lt;P&gt;Necesito ayuda con la presentación de un subtotal en una tabla pivotante:&lt;/P&gt;&lt;P&gt;quiero calcular el promedio de una serie de porcentajes (que se obtienen de una expresión con set análisis) pero no lo consigo&lt;/P&gt;&lt;P&gt;La tabla pivotante me devuelve un total de 40% (máximo valor de la columna) cuando lo que necesito es un promedio (por ejemplo 37%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 163px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt; width: 62pt;" width="83"&gt;dimension 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="width: 60pt;" width="80"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 2&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 3&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 5&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 6&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;40%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl64" height="20" style="height: 15pt;"&gt;TOTAL&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;40%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;PROMEDIO&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;27%&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;Consulté en articulos del foro, y se proponen soluciones con dimensionality()=1 o =2. Logré reemplazar el total por 0, pero no logro obtener el promedio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Les copio la expresión de la que surgen los porcentajes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality() = 1,&amp;nbsp; 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt; AñoFactura={$(=max(AñoFactura))}&amp;gt;}Ejecutado)&lt;/P&gt;&lt;P&gt;/sum({$ &amp;lt; AñoObjetivo={$(=max(AñoFactura))}&amp;gt;}Objetivo)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gracias!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 19:08:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-20T19:08:57Z</dc:date>
    <item>
      <title>Promedio en total de tabla pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Promedio-en-total-de-tabla-pivot/m-p/360719#M578803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola a todos!&lt;/P&gt;&lt;P&gt;Necesito ayuda con la presentación de un subtotal en una tabla pivotante:&lt;/P&gt;&lt;P&gt;quiero calcular el promedio de una serie de porcentajes (que se obtienen de una expresión con set análisis) pero no lo consigo&lt;/P&gt;&lt;P&gt;La tabla pivotante me devuelve un total de 40% (máximo valor de la columna) cuando lo que necesito es un promedio (por ejemplo 37%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 163px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt; width: 62pt;" width="83"&gt;dimension 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="width: 60pt;" width="80"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 2&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 3&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 5&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;dimension 6&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;40%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl64" height="20" style="height: 15pt;"&gt;TOTAL&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;40%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;PROMEDIO&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;27%&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;Consulté en articulos del foro, y se proponen soluciones con dimensionality()=1 o =2. Logré reemplazar el total por 0, pero no logro obtener el promedio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Les copio la expresión de la que surgen los porcentajes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality() = 1,&amp;nbsp; 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt; AñoFactura={$(=max(AñoFactura))}&amp;gt;}Ejecutado)&lt;/P&gt;&lt;P&gt;/sum({$ &amp;lt; AñoObjetivo={$(=max(AñoFactura))}&amp;gt;}Objetivo)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gracias!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 19:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Promedio-en-total-de-tabla-pivot/m-p/360719#M578803</guid>
      <dc:creator />
      <dc:date>2012-03-20T19:08:57Z</dc:date>
    </item>
  </channel>
</rss>

