<?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 Aggr Problem with more than one month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291266#M108117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this option and was correct thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 17:35:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-26T17:35:34Z</dc:date>
    <item>
      <title>Aggr Problem with more than one month</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291263#M108114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have a vertical bar graph with a Time Cyclic Group Dimension Called "Tiempo" ("Año" (Year),"Semestre" (Semester),"Trimestre" (Quarter) and "Mes" (Month)) the expression is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(TOTAL AGGR(Sum(DISTINCT{&amp;lt;[Codigo Cuenta PUC Gastos]={'522010','512010','732010'}, [Nombre Tipo Unidad de Negocio]={'Cadena'}&amp;gt;} &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match(Mid([Nombre Centro de Costo],1,8),'Regional')&amp;gt;0,[Valor Gastos])),Año,Semestre,Trimestre,Mes))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of expression is correct when i select one month, but when i have two or more months the result is diferent, i don't know what's the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for some idea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 17:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291263#M108114</guid>
      <dc:creator />
      <dc:date>2011-09-26T17:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Problem with more than one month</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291264#M108115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why you need a nested sum here. Have you tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sum({&amp;lt;[Codigo Cuenta PUC Gastos]={'522010','512010','732010'}, [Nombre Tipo Unidad de Negocio]={'Cadena'}, &lt;/P&gt;&lt;P&gt;[Nombre Centro de Costo] = {"*Regional*"}&amp;gt;} DISTINCT [Valor Gastos])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if this correct for your problem, but if you need the nested sum, have you tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sum(TOTAL AGGR(Sum({&amp;lt;[Codigo Cuenta PUC Gastos]={'522010','512010','732010'}, [Nombre Tipo Unidad de Negocio]={'Cadena'}, &lt;/P&gt;&lt;P&gt;[Nombre Centro de Costo] = {"*Regional*"}&amp;gt;} DISTINCT [Valor Gastos])),Año,Semestre,Trimestre,Mes))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 17:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291264#M108115</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-09-26T17:32:09Z</dc:date>
    </item>
    <item>
      <title>Aggr Problem with more than one month</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291265#M108116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression&amp;nbsp; is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(TOTAL AGGR(Sum(DISTINCT {&amp;lt;[Codigo Cuenta PUC Gastos]={'523535','513535','733535'}, [Nombre Tipo Unidad de Negocio]={'Cadena'}&amp;gt;}&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match(Mid([Nombre Centro de Costo],1,8),'Gerencia')&amp;gt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match([Nombre Zona],'Gerencia Administrativa Financiera')=0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Valor Gastos],0))),Año,Semestre,Trimestre,Mes))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry in the original post is wrong please refeer to this post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 17:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291265#M108116</guid>
      <dc:creator />
      <dc:date>2011-09-26T17:32:57Z</dc:date>
    </item>
    <item>
      <title>Aggr Problem with more than one month</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291266#M108117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this option and was correct thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 17:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem-with-more-than-one-month/m-p/291266#M108117</guid>
      <dc:creator />
      <dc:date>2011-09-26T17:35:34Z</dc:date>
    </item>
  </channel>
</rss>

