<?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 IF NOT formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-NOT-formula/m-p/366781#M493864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you give this a try?^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension tab:&lt;/P&gt;&lt;P&gt;Supplier (check "Suppress When Value is Null")&lt;/P&gt;&lt;P&gt;Expression tab:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;PACKAGE_CONFIG -={'No Package'}&amp;gt;} TOTAL_ALLOCATION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 02:50:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-25T02:50:14Z</dc:date>
    <item>
      <title>IF NOT formula</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NOT-formula/m-p/366780#M493863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a pie chart that sums all of a certain amount, exlcuding records for which "Package Config" = "No Package".&amp;nbsp; The "Package Config" dimension is not used in the pie chart, just Supplier.&amp;nbsp; The weird thing is: if I apply the formula below to a bar graph that has "Package Config" as one of the dimensions, it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my attempt (not working for pie charts):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=if(not(PACKAGE_CONFIG = 'No Package'),sum(TOTAL_ALLOCATION))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&amp;nbsp; Can the IF NOT function only be used if the chart includes the dimension that I'm trying to qualify?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also: I would love to do this using Set Analysis, but don't know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 23:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NOT-formula/m-p/366780#M493863</guid>
      <dc:creator />
      <dc:date>2012-04-24T23:52:43Z</dc:date>
    </item>
    <item>
      <title>IF NOT formula</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NOT-formula/m-p/366781#M493864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you give this a try?^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension tab:&lt;/P&gt;&lt;P&gt;Supplier (check "Suppress When Value is Null")&lt;/P&gt;&lt;P&gt;Expression tab:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;PACKAGE_CONFIG -={'No Package'}&amp;gt;} TOTAL_ALLOCATION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 02:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NOT-formula/m-p/366781#M493864</guid>
      <dc:creator />
      <dc:date>2012-04-25T02:50:14Z</dc:date>
    </item>
    <item>
      <title>IF NOT formula</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NOT-formula/m-p/366782#M493865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;if((PACKAGE_CONFIG &amp;lt;&amp;gt; 'No Package'),sum(TOTAL_ALLOCATION))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its always better to write sum in starting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;EM style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;EM style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;EM style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;sum(&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;if(PACKAGE_CONFIG &amp;lt;&amp;gt; 'No Package',TOTAL_ALLOCATION))&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 06:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NOT-formula/m-p/366782#M493865</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-04-25T06:26:12Z</dc:date>
    </item>
  </channel>
</rss>

