<?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 set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231767#M504231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria!&lt;/P&gt;&lt;P&gt;good to see you here!&lt;/P&gt;&lt;P&gt;I think the condition "&amp;gt;0" will eliminate nulls or blanks as well - are you experiencing any problems with it?&lt;/P&gt;&lt;P&gt;Worst case - you could also move all those validations back into the script and create a flag that = 1 whn all the necessary conditions are met. Then you can simply summarize the flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2010 05:57:28 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2010-02-05T05:57:28Z</dc:date>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231761#M504225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to divide the sum of [Email Promotions] by a count of [Individual Ids] but I want to exclude Individual Ids with Email Promotions=0 from this count.&lt;/P&gt;&lt;P&gt;The calculation below doesn't seem to work.&lt;/P&gt;&lt;P&gt;Any ideas what I am missing?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;SUM([Number of Email Promotions])/count({$&amp;lt;[Number of Email Promotions] &amp;gt;= {'1'}&amp;gt;}[Individual Id])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 23:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231761#M504225</guid>
      <dc:creator />
      <dc:date>2010-02-04T23:11:07Z</dc:date>
    </item>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231762#M504226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think the problem is the symbol in red color in the formula:&lt;/P&gt;&lt;P&gt;SUM([Number of Email Promotions])/count({$&amp;lt;[Number of Email Promotions] &lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt; = {'1'}&amp;gt;}[Individual Id])&lt;/P&gt;&lt;P&gt;Maybe you can use an "if" clause... something like If([Number of Email Promotions]&amp;gt;0...)&lt;/P&gt;&lt;P&gt;but I'm not sure if it's gonna give the same result.&lt;/P&gt;&lt;P&gt;Or maybe (if you want to use set analysis) you can try with {&lt;STRONG&gt;1-$&lt;/STRONG&gt;&amp;lt;[Number of Email Promotions] = {0}&amp;gt;} instead. But I'm not very good using set analysis.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 23:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231762#M504226</guid>
      <dc:creator />
      <dc:date>2010-02-04T23:39:17Z</dc:date>
    </item>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231763#M504227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is in the syntax of the Set Analysis.Try the following syntax:&lt;/P&gt;&lt;P&gt;SUM([Number of Email Promotions])/count({$&amp;lt;[Number of Email Promotions] = {"&amp;gt;0"}&amp;gt;}[Individual Id])&lt;/P&gt;&lt;P&gt;Notice three corrections:&lt;/P&gt;&lt;P&gt;1. Equal sign = instead of &amp;gt;= (the sign = means that your set is replacing user selections for that field)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2. Double Quotes instead of single quotes. Single quotes are used for textual values, while double quotes signify search.&lt;/P&gt;&lt;P&gt;3. The search criteria is "&amp;gt;0"&lt;/P&gt;&lt;P&gt;this Set Analysis expression should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 00:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231763#M504227</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-02-05T00:03:47Z</dc:date>
    </item>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231764#M504228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg Hi!&lt;/P&gt;&lt;P&gt;how about nulls? I just noticed that my values are not 0 actually but nulls or blanks.&lt;/P&gt;&lt;P&gt;How could I exclude them from the count?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 00:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231764#M504228</guid>
      <dc:creator />
      <dc:date>2010-02-05T00:40:25Z</dc:date>
    </item>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231765#M504229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using&lt;/P&gt;&lt;P&gt;SUM([Number of Email Promotions])/count({$&amp;lt;[Number of Email Promotions] = {'&amp;gt;=1'}&amp;gt;}[Individual Id])&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 01:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231765#M504229</guid>
      <dc:creator />
      <dc:date>2010-02-05T01:46:02Z</dc:date>
    </item>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231766#M504230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stand corrected, it should be double quotes as suggested by Oleg&lt;/P&gt;&lt;P&gt;nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 01:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231766#M504230</guid>
      <dc:creator />
      <dc:date>2010-02-05T01:51:00Z</dc:date>
    </item>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231767#M504231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria!&lt;/P&gt;&lt;P&gt;good to see you here!&lt;/P&gt;&lt;P&gt;I think the condition "&amp;gt;0" will eliminate nulls or blanks as well - are you experiencing any problems with it?&lt;/P&gt;&lt;P&gt;Worst case - you could also move all those validations back into the script and create a flag that = 1 whn all the necessary conditions are met. Then you can simply summarize the flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 05:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/231767#M504231</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-02-05T05:57:28Z</dc:date>
    </item>
  </channel>
</rss>

