<?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 How to get this set analysis into aggr expression(nested) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284686#M105836</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 expression &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(aggr([Actual value]*[Number of Respondents],[Question number],[Institution],[Subject],[Level])) / sum([Number of Respondents])&lt;/STRONG&gt; which works, but I now need to incorporate this simple set analysis into it : &lt;STRONG&gt;{$&amp;lt;Institution={'*'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unsure of which order it needs to be in and seem to be going around in circles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how it can be changed to bring the two expressions into one.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank-you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 15:17:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-22T15:17:32Z</dc:date>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284686#M105836</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 expression &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(aggr([Actual value]*[Number of Respondents],[Question number],[Institution],[Subject],[Level])) / sum([Number of Respondents])&lt;/STRONG&gt; which works, but I now need to incorporate this simple set analysis into it : &lt;STRONG&gt;{$&amp;lt;Institution={'*'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unsure of which order it needs to be in and seem to be going around in circles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how it can be changed to bring the two expressions into one.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank-you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 15:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284686#M105836</guid>
      <dc:creator />
      <dc:date>2011-09-22T15:17:32Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284687#M105837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14px;"&gt;sum(&lt;STRONG style="font-size: 14px;"&gt;{$&amp;lt;Institution={'*'}&amp;gt;} &lt;/STRONG&gt;aggr([Actual value]*[Number of Respondents],[Question number],[Institution],[Subject],[Level])) / sum([Number of Respondents])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;STRONG style="font-size: 14px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 15:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284687#M105837</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T15:53:12Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284688#M105838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but it give me the same result as : &lt;/P&gt;&lt;P&gt;sum(aggr([Actual value]*[Number of Respondents],[Question number],[Institution],[Subject],[Level]))/&lt;/P&gt;&lt;P&gt;sum([Number of Respondents])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284688#M105838</guid>
      <dc:creator />
      <dc:date>2011-09-22T16:00:37Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284689#M105839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you looking for the expression to do exactly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284689#M105839</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T16:02:53Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284690#M105840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the first expression works out the Average, for what ever is selected in the app.&lt;/P&gt;&lt;P&gt;Then with the second expression, I want to give an Average for all Institutions, regardless of which one is selected.&lt;/P&gt;&lt;P&gt;ie. {$&amp;lt;Institution={'*'}&amp;gt;}&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284690#M105840</guid>
      <dc:creator />
      <dc:date>2011-09-22T16:10:19Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284691#M105841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah - try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14px;"&gt;sum(&lt;STRONG style="font-size: 14px;"&gt;{$&amp;lt;Institution= &amp;gt;} &lt;/STRONG&gt;aggr([Actual value]*[Number of Respondents],[Question number],[Institution],[Subject],[Level])) / sum([Number of Respondents])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284691#M105841</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T16:12:36Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284692#M105842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's really odd, because both expressions give the same values.&lt;/P&gt;&lt;P&gt;I'm going to attach the sample I'm working on to the original post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284692#M105842</guid>
      <dc:creator />
      <dc:date>2011-09-22T16:19:56Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284693#M105843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to remove "Institution" from the Aggr() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284693#M105843</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T16:21:20Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284694#M105844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also tried that, but strangely it still gives the same values for both expressions..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284694#M105844</guid>
      <dc:creator />
      <dc:date>2011-09-22T16:26:32Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284695#M105845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just had another look and think you need to add the set analysis into the second half of the equation too (although the number gets very small then!):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14px;"&gt;sum(&lt;STRONG style="font-size: 14px;"&gt;{$&amp;lt;Institution= &amp;gt;} &lt;/STRONG&gt;aggr([Actual value]*[Number of Respondents],[Question number],[Institution],[Subject],[Level])) / sum(&lt;STRONG style="font-size: 14px;"&gt;&lt;STRONG style="font-size: 14px;"&gt;{$&amp;lt;Institution= &amp;gt;} &lt;/STRONG&gt;&lt;/STRONG&gt;[Number of Respondents])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284695#M105845</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T16:28:32Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284696#M105846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not much luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284696#M105846</guid>
      <dc:creator />
      <dc:date>2011-09-22T16:34:35Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284697#M105847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be honest I was guessing!&amp;nbsp; Challenging one - I don't use Aggr() much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284697#M105847</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T16:36:20Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284698#M105848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll carry on at it. It appears so simple though..hmmm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284698#M105848</guid>
      <dc:creator />
      <dc:date>2011-09-22T16:46:53Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284699#M105849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking at it and wondering if the problem isn't in the data model.&amp;nbsp; What does "Number of respondents" mean? Should it be in the Fact table with Question number?&amp;nbsp; Or is it a number of respondents per question?&amp;nbsp; Can you give a little background on the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I'm hooked on this now...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284699#M105849</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T16:49:38Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284700#M105850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's basically student data with the Question Number being a key in the fact table, along with:&lt;/P&gt;&lt;P&gt;Institution, Subject, Level, [Question number], [Number of Respondents] and [Actual value] etc. etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Global Average used to just be the simple expression : //AVG({$&amp;lt;Institution={'*'}&amp;gt;}[Actual value]), which needed to be changed, as it wasn't giving the correct values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284700#M105850</guid>
      <dc:creator />
      <dc:date>2011-09-22T16:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284701#M105851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So does this record mean that 19 "Other undergraduates" studying Business Studies in the selected institution answered 63% for Q18?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="22-09-2011 18-01-58.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7469_22-09-2011+18-01-58.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 17:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284701#M105851</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T17:04:28Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284702#M105852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's exactly what it's saying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 17:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284702#M105852</guid>
      <dc:creator />
      <dc:date>2011-09-22T17:10:17Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284703#M105853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, just to be clear - did 19 students get Q18 63% correct or was the answer given by 19 students '63%'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 17:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284703#M105853</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T17:25:37Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284704#M105854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for not being clear.&lt;/P&gt;&lt;P&gt;So, it's saying that Q18 was answered(given) by 19 students.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 17:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284704#M105854</guid>
      <dc:creator />
      <dc:date>2011-09-22T17:53:19Z</dc:date>
    </item>
    <item>
      <title>How to get this set analysis into aggr expression(nested)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284705#M105855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And 63% of those 19 students got it right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 17:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-this-set-analysis-into-aggr-expression-nested/m-p/284705#M105855</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-22T17:56:21Z</dc:date>
    </item>
  </channel>
</rss>

