<?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 Creating a More efficient Set Analysis Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-More-efficient-Set-Analysis-Expression/m-p/181261#M47351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this without set analysis. Use IF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;count(IF(match(FieldA,'3','19')=0,FieldB))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Konstantins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Mar 2010 10:00:21 GMT</pubDate>
    <dc:creator>skaredovs</dc:creator>
    <dc:date>2010-03-16T10:00:21Z</dc:date>
    <item>
      <title>Creating a More efficient Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-More-efficient-Set-Analysis-Expression/m-p/181259#M47349</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'm doing some set analysis on a pie chart where we only want to show 36 out of 38 values on it. I've done this previously using set analysis which works fine. However, my method has been to do it as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;count( {$&amp;lt; FieldA = {"1", "2", "4", "5"} &amp;gt;} FieldB)&lt;/PRE&gt;This therefore counts FieldB where the inputs are 1,2,4 or 5, ie, not 3. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;However, I don't see this as a particularly efficient way as if I have 38 values for a field and I want to exclude 2, I don't want a set analysis expression with the other 36 contained in it. Therefore is there a way in which you can use '&amp;lt;&amp;gt;' instead of '='? This would mean I could just state the 2 values i wish to exclude. It didnt seem to work for me when i used &amp;lt;&amp;gt;.&lt;/P&gt;&lt;P&gt;Any suggestions? I know I could do this in the script but I want to keep all the underlying data in a raw data table.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 09:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-More-efficient-Set-Analysis-Expression/m-p/181259#M47349</guid>
      <dc:creator />
      <dc:date>2010-03-16T09:43:08Z</dc:date>
    </item>
    <item>
      <title>Creating a More efficient Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-More-efficient-Set-Analysis-Expression/m-p/181260#M47350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({$&amp;lt; FieldA -= {3, 19} &amp;gt;} FieldB)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;to exclude values 3 and 19, but take into account the rest of FieldA values. By the way, there is no need to quote when using numeric values. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 09:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-More-efficient-Set-Analysis-Expression/m-p/181260#M47350</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-16T09:50:07Z</dc:date>
    </item>
    <item>
      <title>Creating a More efficient Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-More-efficient-Set-Analysis-Expression/m-p/181261#M47351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this without set analysis. Use IF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;count(IF(match(FieldA,'3','19')=0,FieldB))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Konstantins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 10:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-More-efficient-Set-Analysis-Expression/m-p/181261#M47351</guid>
      <dc:creator>skaredovs</dc:creator>
      <dc:date>2010-03-16T10:00:21Z</dc:date>
    </item>
  </channel>
</rss>

