<?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 Expression Logic Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311809#M1197895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello You just need to add a ~ sign like sum( {$&amp;lt;~Type= {"*NEW*"}&amp;gt;} Amount) This excludes the selection containing NEW.&lt;/P&gt;&lt;P&gt;ANDY&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 16:34:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-08T16:34:27Z</dc:date>
    <item>
      <title>Expression Logic Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311805#M1197891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({$&amp;lt;Type = {'New'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand it this will sum Amount as long as the Type is equal to 'New'. How do you change this formula so that it sums Amount if type is NOT equal to new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Type &amp;lt;&amp;gt; {'New'}&amp;gt;} Amount) but the use of the &amp;lt;&amp;gt; does not seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 15:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311805#M1197891</guid>
      <dc:creator />
      <dc:date>2011-03-08T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Expression Logic Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311806#M1197892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;try something like:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Type = Type - {'New'}&amp;gt;} Amount)&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 15:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311806#M1197892</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2011-03-08T15:51:34Z</dc:date>
    </item>
    <item>
      <title>Expression Logic Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311807#M1197893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following which replaces the '=' with '-':&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Type - {'New'}&amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 15:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311807#M1197893</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2011-03-08T15:51:38Z</dc:date>
    </item>
    <item>
      <title>Expression Logic Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311808#M1197894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, one more question...&lt;/P&gt;&lt;P&gt;If I want to make sure that a column called Quantity is equal to 1,&lt;/P&gt;&lt;P&gt;would it just be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Quantity = {1}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading the help file says that {1} represents the whole set. So I am a bit confused.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 16:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311808#M1197894</guid>
      <dc:creator />
      <dc:date>2011-03-08T16:31:24Z</dc:date>
    </item>
    <item>
      <title>Expression Logic Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311809#M1197895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello You just need to add a ~ sign like sum( {$&amp;lt;~Type= {"*NEW*"}&amp;gt;} Amount) This excludes the selection containing NEW.&lt;/P&gt;&lt;P&gt;ANDY&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 16:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311809#M1197895</guid>
      <dc:creator />
      <dc:date>2011-03-08T16:34:27Z</dc:date>
    </item>
    <item>
      <title>Expression Logic Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311810#M1197896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first part of the set inside the '{' is the set identifier. In your case $, meaning the records based on the current selection. If you replaced the $ with 1, then your set identifier would represent a full set of all records.&lt;/P&gt;&lt;P&gt;Inside the &amp;lt;&amp;gt; brackets is your set modifier. As part of the set modifier, the {1} represents the value 1.&lt;/P&gt;&lt;P&gt;Your set would read - Returns the Amount for the current selection with a new selection for Quantity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 19:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311810#M1197896</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2011-03-08T19:02:40Z</dc:date>
    </item>
    <item>
      <title>Expression Logic Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311811#M1197897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi HeyZeusChris,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt; Try this expression,&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Type = - {'New'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 06:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Logic-Question/m-p/311811#M1197897</guid>
      <dc:creator />
      <dc:date>2011-03-09T06:54:54Z</dc:date>
    </item>
  </channel>
</rss>

