<?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 Count with set expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-with-set-expression/m-p/781070#M276713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;student/grade&lt;/P&gt;&lt;P&gt;a =2&lt;/P&gt;&lt;P&gt;a=3&lt;/P&gt;&lt;P&gt;b=0&lt;/P&gt;&lt;P&gt;c=3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to calculate the average grade among the student with significant values:&lt;/P&gt;&lt;P&gt;(2+3+3)/2=4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I express this formula with something like as: Sum(value)/count (DISTINCT student)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 15:20:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-06T15:20:46Z</dc:date>
    <item>
      <title>Count with set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-set-expression/m-p/781070#M276713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;student/grade&lt;/P&gt;&lt;P&gt;a =2&lt;/P&gt;&lt;P&gt;a=3&lt;/P&gt;&lt;P&gt;b=0&lt;/P&gt;&lt;P&gt;c=3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to calculate the average grade among the student with significant values:&lt;/P&gt;&lt;P&gt;(2+3+3)/2=4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I express this formula with something like as: Sum(value)/count (DISTINCT student)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 15:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-set-expression/m-p/781070#M276713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T15:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count with set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-set-expression/m-p/781071#M276714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM(Grade)/Count(Distinct Student)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SUM(Grade)/Count({&amp;lt;Student = {"=SUM(Grade)&amp;gt;0"}&amp;gt;}Distinct Student)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 15:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-set-expression/m-p/781071#M276714</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-06T15:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count with set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-set-expression/m-p/781072#M276715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first one is what i've written, but it's wrong because it counts also B student, who is without grade; contrariwise the second one is perfect...just what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gt-baf-back"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 15:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-set-expression/m-p/781072#M276715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T15:49:20Z</dc:date>
    </item>
  </channel>
</rss>

