<?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 Using exclude E() with multiple set modifiers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240223#M461228</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;I am trying to return some data by excluding particular items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;: Return all the sales that are not dogs or were not paid by cash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The following function does not give me what I want, because there are nulls in the data that I also want to return&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum( &amp;lt;${&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;Animal -= {'Dog'}&amp;gt; +&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;Payment -= {'Cash'}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I was hoping to use exclude instead, as it handles the nulls. However, this won't work either - I think it is because E() cannot handle multiple set modifiers.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum( &amp;lt;${&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;OrderNumber = E({$ &amp;lt;Animal = {'Dog'}&amp;gt; +&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 150px; font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Payment = {'Cash'}&amp;gt;})&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Any thoughts or help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2017 01:57:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-09T01:57:15Z</dc:date>
    <item>
      <title>Using exclude E() with multiple set modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240223#M461228</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;I am trying to return some data by excluding particular items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;: Return all the sales that are not dogs or were not paid by cash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The following function does not give me what I want, because there are nulls in the data that I also want to return&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum( &amp;lt;${&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;Animal -= {'Dog'}&amp;gt; +&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;Payment -= {'Cash'}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I was hoping to use exclude instead, as it handles the nulls. However, this won't work either - I think it is because E() cannot handle multiple set modifiers.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum( &amp;lt;${&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;OrderNumber = E({$ &amp;lt;Animal = {'Dog'}&amp;gt; +&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 150px; font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Payment = {'Cash'}&amp;gt;})&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Any thoughts or help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 01:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240223#M461228</guid>
      <dc:creator />
      <dc:date>2017-02-09T01:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using exclude E() with multiple set modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240224#M461229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum(&amp;lt;${OrderNumber = E({$&amp;lt;Animal = {'Dog'}&amp;gt;}) + E({$&amp;lt;Payment = {'Cash'}&amp;gt;})&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or this&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum(&amp;lt;${OrderNumber = E({$&amp;lt;Animal = {'Dog'}&amp;gt;}) * E({$&amp;lt;Payment = {'Cash'}&amp;gt;})&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 02:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240224#M461229</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-09T02:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using exclude E() with multiple set modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240225#M461230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&amp;lt;${OrderNumber = {"=Animal &amp;lt;&amp;gt; 'Dog' or Payment &amp;lt;&amp;gt; 'Cash'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 02:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240225#M461230</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-09T02:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using exclude E() with multiple set modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240226#M461231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic! Thanks, Sunny. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your prompt and accurate response &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 06:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-exclude-E-with-multiple-set-modifiers/m-p/1240226#M461231</guid>
      <dc:creator />
      <dc:date>2017-02-09T06:04:02Z</dc:date>
    </item>
  </channel>
</rss>

