<?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: Set Analysis on Aggregated Average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449687#M167817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kaushik, this works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can now see where I was going wrong by putting the {1} at the beginning rather than within the aggregated average.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2013 18:43:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-11T18:43:47Z</dc:date>
    <item>
      <title>Set Analysis on Aggregated Average</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449681#M167811</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;I have the following in a pivot table: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr (nodistinct (round (avg(x),0.01)), a, b, c, d, e, f)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is to add this aggregated average into a secondary pivot table (that has additional dimensions) but I don't want the aggregate to change based on the additional dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the Qlikview Help file it states "By default, the aggregation function will aggregate over the set of possible records defined by the selection. An alternative set of records can be defined by a &lt;A _jive_internal="true" class="xref_1" href="https://community.qlik.com/community"&gt;&lt;EM&gt;Set Analysis&lt;/EM&gt;&lt;/A&gt; expression". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is it possible to do a Set Analysis on an aggregated average?&amp;nbsp; If so, how do I go about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 19:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449681#M167811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-23T19:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on Aggregated Average</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449682#M167812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want both to display the same data, irrespective of selection, you will probably need to implement the same set analysis in both functions.&amp;nbsp; Take a look at this presentation for more info on set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 20:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449682#M167812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-23T20:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on Aggregated Average</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449683#M167813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the attachment, it was a useful read but I'm still unable to get this working.&amp;nbsp; For testing purposes I removed the second Pivot table and added the Set Analysis as follows:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sum({1} aggr (nodistinct (round (avg(x),0.01)), a, b, c, d, e, f))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works correctly but as soon as I filter on a, b, c, d, e or f the aggregated average is recalculated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used {1} as the document stated this "represents the full set of all records in the application" but perhaps I've misinterpreted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 12:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449683#M167813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-25T12:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on Aggregated Average</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449684#M167814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample of your file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 20:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449684#M167814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-28T20:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on Aggregated Average</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449685#M167815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for the delay in responding.&amp;nbsp; I don't seem to be able to attach files to the forum so here's a &lt;A href="http://aptbet.com/qlikview_test_db.qvw"&gt;link&lt;/A&gt; to a cut down version of my file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will see that whenever a name is selected the vAvg and vDiff values are changed.&amp;nbsp; I want the opposite, select the name and the vAvg and vDiff values remain as they are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2013 01:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449685#M167815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-10T01:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on Aggregated Average</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449686#M167816</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr (nodistinct&amp;nbsp; (round (avg({1}race_winning_time),0.01)), race_course, race_type, race_distance_f, race_going, race_class, race_major)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;aggr (nodistinct (avg ({1}race_winning_time)), race_course, race_type, race_distance_f, race_going, race_class, race_major) - horse_race_time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 08:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449686#M167816</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-11T08:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on Aggregated Average</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449687#M167817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kaushik, this works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can now see where I was going wrong by putting the {1} at the beginning rather than within the aggregated average.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 18:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-Aggregated-Average/m-p/449687#M167817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T18:43:47Z</dc:date>
    </item>
  </channel>
</rss>

