<?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: Basic Scatter diagram/set analysis question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488352#M182476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shyamal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your response. Your updated statement of &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&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;"&gt;&lt;EM&gt;=&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Module&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;P&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Student&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Module&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Mark&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives the correct answer in terms of plotting the points on the scatter chart - unfortunately it has the same issue as my original statement of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Avg({$&amp;lt;Module=&amp;gt;} Mark)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that students who aren't taking the module are still shown in the legend and on the Excel extract if you write the results to Excel. For example, for module M4, Students E and F are shown even though they didn't take M4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 09:05:44 GMT</pubDate>
    <dc:creator>nicktodd</dc:creator>
    <dc:date>2013-12-17T09:05:44Z</dc:date>
    <item>
      <title>Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488344#M182468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made a small app (simplified version attached) to display student marks for a module versus their average across all modules - calculated by set analysis function &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Avg({$&amp;lt;Module=&amp;gt;} Mark) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that, because of the set analysis function, in selecting a module (for example, M4) all students are shown on the diagram legend even though some students (E and F) did not take that module. I'd like to exclude students who didn't take the module so that a user may export the scatter diagram to Excel and see students for that module only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a feeling there must be a very simple solution to this but I can't see it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488344#M182468</guid>
      <dc:creator>nicktodd</dc:creator>
      <dc:date>2013-12-16T09:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488345#M182469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this expression in your average expression, it will work&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Avg(agar(Avg({1&amp;lt;Module=&amp;gt;} Mark),Module))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488345#M182469</guid>
      <dc:creator>kiranmanoharrode</dc:creator>
      <dc:date>2013-12-16T09:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488346#M182470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;PFA. Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit : Just change your expression for Average to :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Avg&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Module&lt;/SPAN&gt; = &lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Student&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Module&lt;/SPAN&gt;)&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Mark&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488346#M182470</guid>
      <dc:creator />
      <dc:date>2013-12-16T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488347#M182471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shyamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! I had a play around with the P function before but got nowhere with it - now I know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488347#M182471</guid>
      <dc:creator>nicktodd</dc:creator>
      <dc:date>2013-12-16T09:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488348#M182472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shyamal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems I spoke too soon! Although your solution restricts the students displayed it appears to give the wrong answer!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;See the attached to show what I mean, giving the new logic on the left and the old logic on the right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 11:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488348#M182472</guid>
      <dc:creator>nicktodd</dc:creator>
      <dc:date>2013-12-16T11:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488349#M182473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but couldn't get it to work - should that be 'aggr'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 12:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488349#M182473</guid>
      <dc:creator>nicktodd</dc:creator>
      <dc:date>2013-12-16T12:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488350#M182474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA. Missed 1. Check the expression in the chart on left.&lt;/P&gt;&lt;P&gt;So, your expression should be :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;Avg&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Module&lt;/SPAN&gt; = &lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: #800000;"&gt;Student&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Module&lt;/SPAN&gt;)&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Mark&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this one helps! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 05:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488350#M182474</guid>
      <dc:creator />
      <dc:date>2013-12-17T05:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488351#M182475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why you are using set analysis ....&lt;/P&gt;&lt;P&gt;for Avg I have made a Simple chart please look at it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 07:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488351#M182475</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-12-17T07:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488352#M182476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shyamal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your response. Your updated statement of &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&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;"&gt;&lt;EM&gt;=&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Module&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;P&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Student&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Module&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Mark&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives the correct answer in terms of plotting the points on the scatter chart - unfortunately it has the same issue as my original statement of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Avg({$&amp;lt;Module=&amp;gt;} Mark)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that students who aren't taking the module are still shown in the legend and on the Excel extract if you write the results to Excel. For example, for module M4, Students E and F are shown even though they didn't take M4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488352#M182476</guid>
      <dc:creator>nicktodd</dc:creator>
      <dc:date>2013-12-17T09:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488353#M182477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikPahadi07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. The idea is to show on a scatter diagrams students marks for a module (Y axis) against the average for all modules (X axis) - hence points plotted above the diagonal are easier than average, points plotted below the line are harder than average. Your solution is plotting the points &lt;EM&gt;on&lt;/EM&gt; the line, which is not what we want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488353#M182477</guid>
      <dc:creator>nicktodd</dc:creator>
      <dc:date>2013-12-17T09:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Scatter diagram/set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488354#M182478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I suspected the answer was staring me in the face! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I did was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(not IsNull(Mark),Avg({$&amp;lt;Module=&amp;gt;} Mark))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now I get the right answer for only those students studying a module. Doh!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Scatter-diagram-set-analysis-question/m-p/488354#M182478</guid>
      <dc:creator>nicktodd</dc:creator>
      <dc:date>2013-12-17T09:56:24Z</dc:date>
    </item>
  </channel>
</rss>

