<?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 Formula use in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204829#M61564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is this syntax helpful:&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt; vAverageScore ={$(='"&amp;gt;=' &amp;amp; 0 &amp;amp;'&amp;lt;=' &amp;amp; 25 &amp;amp;'"' )} Distinct Student)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tjeerd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 15:02:55 GMT</pubDate>
    <dc:creator>tabletuner</dc:creator>
    <dc:date>2010-09-16T15:02:55Z</dc:date>
    <item>
      <title>Formula use in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204827#M61562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I have a set analysis sample here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;=Count({$&amp;lt; vAverageScore = {"&amp;gt;= 0 &amp;lt;= 25"}&amp;gt;} Distinct Student)&lt;/P&gt;&lt;P&gt;Where: vAverage is an Expression ; vAverage = avg(StudentScore)&lt;/P&gt;&lt;P&gt;This set analysis should count the number of student with an average is from 0 to 25.&lt;/P&gt;&lt;P&gt;Is this possible? Coz in my workfile the result is just the distinct count of Student. (the expression ignores the " vAverageScore = {"&amp;gt;= 0 &amp;lt;= 25"" part)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 14:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204827#M61562</guid>
      <dc:creator />
      <dc:date>2010-09-16T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Formula use in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204828#M61563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m not sure.....but you can not use expression(vAverageScore) to compare in your set!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must use just Dimensions!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 15:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204828#M61563</guid>
      <dc:creator />
      <dc:date>2010-09-16T15:02:28Z</dc:date>
    </item>
    <item>
      <title>Formula use in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204829#M61564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is this syntax helpful:&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt; vAverageScore ={$(='"&amp;gt;=' &amp;amp; 0 &amp;amp;'&amp;lt;=' &amp;amp; 25 &amp;amp;'"' )} Distinct Student)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tjeerd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 15:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204829#M61564</guid>
      <dc:creator>tabletuner</dc:creator>
      <dc:date>2010-09-16T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Formula use in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204830#M61565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Érico says, you can't do set analysis using a variable or expression like that. You can only use set analysis on fields. So the trick is figuring out how to do this using fields. And the trick to &lt;EM&gt;that&lt;/EM&gt; is realizing that you can use advanced search features. Untested, but I think it would look something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count({&amp;lt;Student={"=avg(StudentScore)&amp;gt;=0 and avg(StudentScore)&amp;lt;=25"}&amp;gt;} Student)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-use-in-set-analysis/m-p/204830#M61565</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T21:27:14Z</dc:date>
    </item>
  </channel>
</rss>

