<?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 SUM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343780#M832859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola creo que tu problema esta en el valor del CambioMedio para el total ya que no lo estas evaluando.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pruenba con algo como&amp;nbsp; &lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;MesFraud&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;SumOfPresupuesto&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;)&lt;/SPAN&gt;*avg(&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;MesFraud&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;=&amp;gt;}&lt;/SPAN&gt; CambioMedio,AgrupacionJerarquica) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 12:24:52 GMT</pubDate>
    <dc:creator>davidrobles</dc:creator>
    <dc:date>2017-06-09T12:24:52Z</dc:date>
    <item>
      <title>Problemas con SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343777#M832856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Buenos días,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tengo un poco de problema en resolver por qué no me esta haciendo los cálculos correctamente. les explico.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;La siguiente table muestra:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Valores del presupuesto de varios países&lt;/LI&gt;&lt;LI&gt;Cada valor fué multiplicado por el tipo de cambio correspondiente que se puede ver en la columna de ClaveLinkTC&lt;/LI&gt;&lt;LI&gt;Todos estos valores pertenecen a una Agrupación jerárquica que se llama SCF&lt;/LI&gt;&lt;LI&gt;el Campo CalveLinkTC esta compuesto por el país (SCF Austria por ejemplo) + la fecha (201701) + La moneda&lt;/LI&gt;&lt;LI&gt;La formula que uso para el cálculo total es : &lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;MesFraud&lt;/SPAN&gt;=&amp;gt;}&lt;SPAN style="color: #800000;"&gt;SumOfPresupuesto&lt;/SPAN&gt;)*&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;CambioMedio &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Los valores de cada línea estan correctos y el total debería ser 5,23879928003011&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Como pueden observar la suma total no la muestra, solo se vé un "-"&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/166356_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Ahora bien si modifico la formula &lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;MesFraud&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;=&amp;gt;}&lt;SPAN style="color: #800000;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;SumOfPresupuesto&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN&gt;CambioMedio&lt;/SPAN&gt; ) obtengo la tabla siguiente, que distorsiona todos los valores pero si me da la suma total que también está mal.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/166361_pastedImage_28.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Que estoy haciendo mal?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Gracias por la ayuda&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343777#M832856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343778#M832857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Buenas tardes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con el fin de hacer más fácil para ayudarle, podríamos ver un fragmento de los datos originales, y que desea obtener como resultado?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrés&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343778#M832857</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-06-09T12:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343779#M832858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use a formula of with nested if &lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEN(Exp)=0,sum(aggr(&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; ({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;MesFraud&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; =&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;SumOfBudget&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; ) * &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;ChangeMedia,Claveli TC)),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; ({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;MesFraud&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; =&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;SumOfBudget&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; ) * &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;ChangeMedia&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343779#M832858</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2017-06-09T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problemas con SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343780#M832859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola creo que tu problema esta en el valor del CambioMedio para el total ya que no lo estas evaluando.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pruenba con algo como&amp;nbsp; &lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;MesFraud&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;SumOfPresupuesto&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;)&lt;/SPAN&gt;*avg(&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;MesFraud&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Slab Serif', sans-serif; font-size: 15px;"&gt;=&amp;gt;}&lt;/SPAN&gt; CambioMedio,AgrupacionJerarquica) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problemas-con-SUM/m-p/1343780#M832859</guid>
      <dc:creator>davidrobles</dc:creator>
      <dc:date>2017-06-09T12:24:52Z</dc:date>
    </item>
  </channel>
</rss>

