<?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() with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756772#M1042855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the below expression after using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt; ')' parenthesis at the end of the expression. But I am getting null value.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(sum({$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}RunTime),Week, Jobs)) /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}&lt;/STRONG&gt;Job_Count), Week, Jobs))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 09:41:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-02T09:41:44Z</dc:date>
    <item>
      <title>Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756764#M1042844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hi,&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; I am making a bar chat which is showing &lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;RunTime&lt;/STRONG&gt;(y-axis)&amp;nbsp; V/S&amp;nbsp; &lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;Jobs&lt;/STRONG&gt;(x-axis). But there are many Jobs which are running multiple&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; times in a day. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;There may be possibility that on the same date and time , many jobs are running. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;I used the below &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;expression for &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;&lt;STRONG&gt;Average value of RunTime taken by each Job in current week&lt;/STRONG&gt; which is giving right value:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum(aggr(sum(RunTime),Week, Jobs))/ Sum(aggr(Count(Job_Count), Week, Jobs))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;But I am getting problem with the expression of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;&lt;STRONG&gt;Average value of RunTime taken by each Job in previous week&lt;/STRONG&gt;. I am using below expression:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(aggr(sum({$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}RunTime),Week, Jobs))/ Sum(aggr(Count(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px;"&gt;{$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}&lt;/STRONG&gt;Job_Count), Week, Jobs)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Can somebody help me to know what is wrong with this expression.&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 07:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756764#M1042844</guid>
      <dc:creator />
      <dc:date>2014-12-02T07:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756765#M1042845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to remove Date selection by using aggr ({&amp;lt;Start_Date=, Week=&amp;gt;} &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 07:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756765#M1042845</guid>
      <dc:creator />
      <dc:date>2014-12-02T07:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756766#M1042846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Santosh,&lt;/P&gt;&lt;P&gt; I am not getting you. Can you please explain me more.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 07:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756766#M1042846</guid>
      <dc:creator />
      <dc:date>2014-12-02T07:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756767#M1042847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(aggr({&amp;lt;Week=&amp;gt;}sum({$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}RunTime),Week, Jobs))/ Sum(aggr(&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&lt;/STRONG&gt;&lt;/STRONG&gt;&amp;lt;&lt;STRONG&gt;Week&lt;/STRONG&gt;=&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;}&lt;/STRONG&gt;Count(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}&lt;/STRONG&gt;Job_Count), Week, Jobs)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 07:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756767#M1042847</guid>
      <dc:creator />
      <dc:date>2014-12-02T07:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756768#M1042848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not working. Some syntax error is coming. Can you suggest me something else. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 07:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756768#M1042848</guid>
      <dc:creator />
      <dc:date>2014-12-02T07:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756769#M1042849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/605896"&gt;AGGR Problem with Previous month MTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please refer to link ,I was having same issue .&lt;/P&gt;&lt;P&gt;It worked for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 07:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756769#M1042849</guid>
      <dc:creator />
      <dc:date>2014-12-02T07:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756770#M1042851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try the below expression&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px;"&gt;&amp;nbsp; =Sum(&lt;STRONG style="font-size: 12.8000001907349px; font-style: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(sum({$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}RunTime),Week, Jobs)) /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;STRONG style="font-size: 12.8000001907349px; font-style: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px;"&gt;Count(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}&lt;/STRONG&gt;Job_Count), Week, Jobs)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;but I am getting null value.&lt;/P&gt;&lt;P class="jive-thread-reply-btn" style="margin: 26px 0 -10px; font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/669808" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;Aggr() with set analysis&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 08:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756770#M1042851</guid>
      <dc:creator />
      <dc:date>2014-12-02T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756771#M1042853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meenakshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you forgot a ')' parenthesis at the end of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Giacomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 09:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756771#M1042853</guid>
      <dc:creator>giacomom</dc:creator>
      <dc:date>2014-12-02T09:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756772#M1042855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the below expression after using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt; ')' parenthesis at the end of the expression. But I am getting null value.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(sum({$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}RunTime),Week, Jobs)) /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}&lt;/STRONG&gt;Job_Count), Week, Jobs))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 09:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756772#M1042855</guid>
      <dc:creator />
      <dc:date>2014-12-02T09:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756773#M1042857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;use sum in place of count .beacuse job count is already a count.try below&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(sum({$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}RunTime),Week, Jobs)) /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{&amp;lt;Week=&amp;gt;}&lt;/STRONG&gt;aggr(&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "}&amp;gt;}&lt;/STRONG&gt;Job_Count), Week, Jobs)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 09:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756773#M1042857</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-02T09:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756774#M1042859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used Sum() Function instead of Count(). But it is not making any difference. Still null values are coming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 09:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756774#M1042859</guid>
      <dc:creator />
      <dc:date>2014-12-02T09:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756775#M1042861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;better if you could share sample file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Sum(aggr(sum({$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "},&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;Week=&lt;/STRONG&gt;&lt;/STRONG&gt;&amp;gt;}RunTime),Week, Jobs)) /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(aggr(&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;sum(&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;{$&amp;lt;Week = {" $(=Week(Start_Date - 7)) "},&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;STRONG style="font-style: inherit; font-size: 12.8000001907349px; font-family: inherit;"&gt;Week=&lt;/STRONG&gt;&lt;/STRONG&gt;&amp;gt;}&lt;/STRONG&gt;Job_Count), Week, Jobs)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 10:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756775#M1042861</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-02T10:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756776#M1042863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meenakshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use a simpler expression by exploiting the power of the sum() function as explained in the Reference Manual:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;sum([{set_expression}][distinct][total[&amp;lt;fld {, fld}&amp;gt;]] expression)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Returns the aggregated sum of expression or field iterated over the chart dimension(s).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try to use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sum(RunTime) / sum( total &amp;lt;Jobs, Week&amp;gt; RunTime)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and set &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the fields Jobs and Week as the dimensions of the chart?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Let me know,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Giacomo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 10:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/756776#M1042863</guid>
      <dc:creator>giacomom</dc:creator>
      <dc:date>2014-12-02T10:32:53Z</dc:date>
    </item>
  </channel>
</rss>

