<?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: AGGR Problem with Previous month MTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-Problem-with-Previous-month-MTD/m-p/663956#M241812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, &lt;/P&gt;&lt;P&gt;&amp;nbsp; I am facing the same problem. Can you please help me for calculating the average the RunTime for each Job in previous month. Can you please go to the below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/669808"&gt;Aggr() with set analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 08:36:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-02T08:36:47Z</dc:date>
    <item>
      <title>AGGR Problem with Previous month MTD</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Problem-with-Previous-month-MTD/m-p/663954#M241810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Facing problem in AGGR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to calculate Average for sum of previous month (MTD)&lt;/P&gt;&lt;P&gt;and in my scenario I have to write aggr as i cannot directly calculate&amp;nbsp; avg&amp;nbsp; ie&amp;nbsp; i have to do (avg(aggr (sum(),Date,A,B))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i Select Calender month the expression is showing null value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA for reference to understand my problem .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 07:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Problem-with-Previous-month-MTD/m-p/663954#M241810</guid>
      <dc:creator />
      <dc:date>2014-09-10T07:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR Problem with Previous month MTD</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Problem-with-Previous-month-MTD/m-p/663955#M241811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to override the selection in calMonth in the set analysis expression. Try: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;avg(&lt;STRONG&gt;{&amp;lt;calMonth=&amp;gt;}&lt;/STRONG&gt;aggr(sum({&amp;lt;&lt;STRONG&gt;calMonth=,&lt;/STRONG&gt; Date={"&amp;gt;=$(=addmonths(monthstart(max(Date)),-1))&amp;lt;=$(=addmonths(max(Date),-1))"}&amp;gt;}Sale),Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 08:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Problem-with-Previous-month-MTD/m-p/663955#M241811</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-10T08:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR Problem with Previous month MTD</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Problem-with-Previous-month-MTD/m-p/663956#M241812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, &lt;/P&gt;&lt;P&gt;&amp;nbsp; I am facing the same problem. Can you please help me for calculating the average the RunTime for each Job in previous month. Can you please go to the below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/669808"&gt;Aggr() with set analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 08:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Problem-with-Previous-month-MTD/m-p/663956#M241812</guid>
      <dc:creator />
      <dc:date>2014-12-02T08:36:47Z</dc:date>
    </item>
  </channel>
</rss>

