<?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: Problemas con Totales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860279#M301202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Ramon,&lt;/P&gt;&lt;P&gt;Te haz percatado que la suma de los valores por mes y el total no son iguales?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2015 18:19:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-04T18:19:22Z</dc:date>
    <item>
      <title>Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860271#M301194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hola Comunidad!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Como están, espero que bien.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tengo un problema con un cuadro en Qlikview espero puedas ayudarme.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Del cuadro que envío:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- La columna "Ponderado" es una dimensión y contienen una formula para hallar el promedio ponderado por mes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=SUM(DISTINCT PRESUPUESTO_TOTALHA * COSTODIRECTO_AREA)/SUM(DISTINCT COSTODIRECTO_AREA)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hasta aquí todo bien.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- El problema aparece cuando quiero totalizar todos esos promedios ponderados, pues debo sumarlos. Tengo el siguiente código pero no me funciona.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SUM(AGGR((SUM(COSTODIRECTO_TOTALCOSTOHA * COSTODIRECTO_AREA)/SUM(DISTINCT COSTODIRECTO_AREA)), FUNDO_ZONA, PERIODO_MES))&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Espero puedan ayudarme con esto, ya le vengo dando vueltas un par de días y no logro solucionarlo.&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Muchas gracias de antemano.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atte.&lt;/P&gt;&lt;P&gt;Pyerre Mosquito Peña&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura_Cuadro_2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85611_Captura_Cuadro_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjunto mi archivo qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 19:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860271#M301194</guid>
      <dc:creator />
      <dc:date>2015-04-30T19:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860272#M301195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Puedes subir tu archivo qvw, por favor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 20:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860272#M301195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T20:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860273#M301196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;alguna razon por la que no puedas usar el subtotal que esta en presentacion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;los quieres totalizar por anio ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 22:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860273#M301196</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-30T22:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860274#M301197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Ramon,&lt;/P&gt;&lt;P&gt;Lo que pasa es que, calculo en la expresión los valores ponderados por mes.&lt;/P&gt;&lt;P&gt;Ahora en el total, quiero mostrar la suma de esas ponderaciones pero calcula otro valor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguna idea de que puede ser el problema?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura_Cuadro.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85465_Captura_Cuadro.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 23:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860274#M301197</guid>
      <dc:creator />
      <dc:date>2015-04-30T23:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860275#M301198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola, Pyerre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No entiendo muy bien lo que&amp;nbsp;&amp;nbsp; el resultado que&amp;nbsp; buscas, para darme una idea me puedes&amp;nbsp; mostrar cual el&amp;nbsp; resultado que&amp;nbsp; buscas por&amp;nbsp; favor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 23:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860275#M301198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T23:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860276#M301199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;el total que tienes en este momento es el calculo que hace QV o el de tu formula ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ya intentase usando total ?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;=IF(Dimensionality() = 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;,SUM(DISTINCT total PRESUPUESTO_TOTALHA * COSTODIRECTO_AREA)/SUM( total DISTINCT COSTODIRECTO_AREA)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;,SUM(SUM(DISTINCT PRESUPUESTO_TOTALHA * COSTODIRECTO_AREA)/SUM(DISTINCT COSTODIRECTO_AREA))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;que posibilidad existe de que tengas &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PRESUPUESTO_TOTALHA * COSTODIRECTO_AREA que se repitan por mes?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;si asi fuera el caso debido distinct el &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt;cálculo&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt; unicamente lo va a tomar en cuenta una vez en lugar de la cantidad que se repita y eso afecta tu resultado&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 17:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860276#M301199</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-01T17:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860277#M301200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Buenas tardes Comunidad,&lt;/P&gt;&lt;P&gt;Ya subi el qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En resumen lo que quiero es obtener la sumatoria correcta de la columna, pues como podrán ver el el qvw no cuadra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muchas gracias por el apoyo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 17:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860277#M301200</guid>
      <dc:creator />
      <dc:date>2015-05-04T17:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860278#M301201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;algo asi ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 17:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860278#M301201</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-04T17:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860279#M301202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Ramon,&lt;/P&gt;&lt;P&gt;Te haz percatado que la suma de los valores por mes y el total no son iguales?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 18:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860279#M301202</guid>
      <dc:creator />
      <dc:date>2015-05-04T18:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860280#M301203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola ya ha pasado algun tiempo pero respondo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quiero suponer que lo que dices, es que la sumatoria de todos los meses esta erronea y ese&amp;nbsp; es tu problema.&lt;/P&gt;&lt;P&gt;tambien quiero suponer que tu expresion te esta dando los datos correctos, entonces solo hay que arreglar el primer punto, prueba con esta expresion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(SUM(COSTODIRECTO_TOTALCOSTOHA * COSTODIRECTO_AREA) / SUM(DISTINCT COSTODIRECTO_AREA),FUNDO_ZONA,PERIODO_AÑOFISCAL,PERIODO_MES))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Espero te ayude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 17:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860280#M301203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-07T17:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con Totales</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860281#M301204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;se me habia olvidado este &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; thread , el problema esta en el distinct que esta siendo utilizado, los totales en qlikview son calculados de manera diferente a lo que hace excel, en este caso el total es el cálculo de la expresión como si no tuviera ningun filtro de por medio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;como Enrique menciona intenta solo utilizando la expresión del aggr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(aggr(SUM(COSTODIRECTO_TOTALCOSTOHA * COSTODIRECTO_AREA) / SUM(DISTINCT COSTODIRECTO_AREA),FUNDO_ZONA,PERIODO_AÑOFISCAL,PERIODO_MES))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 18:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-Totales/m-p/860281#M301204</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-07T18:33:39Z</dc:date>
    </item>
  </channel>
</rss>

