<?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: Calculate Averages in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259676#M518827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need same average across days, if so try like:&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;=Avg(&lt;STRONG&gt;Total&lt;/STRONG&gt; aggr(Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime),Day))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2016 09:50:49 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-12-01T09:50:49Z</dc:date>
    <item>
      <title>Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259668#M518818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate averages for the attached file. The formula I have used to calculate &lt;/P&gt;&lt;P&gt;Total_PreviewTime=Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime) and I want to calculate the &lt;STRONG&gt;Average Total_PreviewTime&lt;/STRONG&gt;&amp;nbsp; and similarly for&lt;/P&gt;&lt;P&gt;Total_CallTime=sum(CallTime) I want to calculate &lt;STRONG&gt;Average Total_CallTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 08:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259668#M518818</guid>
      <dc:creator />
      <dc:date>2016-12-01T08:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259669#M518820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about &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;Avg({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime) &lt;/SPAN&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;and&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;Avg({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Total_CallTime&lt;/SPAN&gt;={1}&amp;gt;}Total_CallTime) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 08:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259669#M518820</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-12-01T08:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259670#M518821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually looking for the Average of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime), if there is something like&lt;/SPAN&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;avg(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime)). Not sure if this is possible&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; font-size: 13px;"&gt;&lt;BR /&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; font-size: 13px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259670#M518821</guid>
      <dc:creator />
      <dc:date>2016-12-01T09:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259671#M518822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like:&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;avg(&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime), &lt;STRONG&gt;Dim1&lt;/STRONG&gt;))&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;&lt;BR /&gt;&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;Where Dim1 is dimension(s) on which the aggregation is desired.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259671#M518822</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-12-01T09:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259672#M518823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime), CallCentre, Desk, Team_Lead, Agent_Name, Day))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259672#M518823</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-01T09:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259673#M518824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use Aggr as per Tresesco;s reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg(Aggr(SUM(YourExpression),Dim1,Dim2,Dim3))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259673#M518824</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-12-01T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259674#M518825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the all the responses, when I use this&amp;nbsp; =Avg(aggr(Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime),Day)) and I use Interval format (hh:mm:ss) and my graph comes like &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145412_Capture.PNG" style="height: 223px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259674#M518825</guid>
      <dc:creator />
      <dc:date>2016-12-01T09:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259675#M518826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is not what you are looking to do? What is your expected output here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259675#M518826</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-01T09:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259676#M518827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need same average across days, if so try like:&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;=Avg(&lt;STRONG&gt;Total&lt;/STRONG&gt; aggr(Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime),Day))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259676#M518827</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-12-01T09:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259677#M518828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula is fine but now when I put on the line graph, the I select the format of Interval hh:mm:ss is not translating correctly. I am expecting the time intervals of 00:00:00  to 00:30:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259677#M518828</guid>
      <dc:creator />
      <dc:date>2016-12-01T09:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259678#M518829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the output you are getting has to be parsed as seconds. Try like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Time#&lt;/STRONG&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Avg(aggr(Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime),Day)),&lt;STRONG&gt; 'ss')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then apply your time format in the presentation tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 10:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259678#M518829</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-12-01T10:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259679#M518830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Moses,&lt;/P&gt;&lt;P&gt;you can try &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;Aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum ({&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime)&lt;/SPAN&gt;,Dim1,Dim2,Dim3) / Count (&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;PreviewedFirst={1}&amp;gt;}PreviewTime&lt;/SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 10:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259679#M518830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-01T10:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259680#M518831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you much for&amp;nbsp; your assistance and but Payal's is correct and the format is also correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 10:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-in-set-analysis/m-p/1259680#M518831</guid>
      <dc:creator />
      <dc:date>2016-12-01T10:41:22Z</dc:date>
    </item>
  </channel>
</rss>

