<?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 Re: Need help in understanding the Expression..? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640745#M234761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will give you a value of decimal zero when you have a negative figure in Amnt, thus only summing up positive values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression (Amnt&amp;gt;0) will either return True (-1) or False (0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to clear up your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 06:54:54 GMT</pubDate>
    <dc:creator>struniger</dc:creator>
    <dc:date>2014-05-21T06:54:54Z</dc:date>
    <item>
      <title>Need help in understanding the Expression..?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640742#M234758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen on e expression, which is like : Sum(-(Amnt&amp;gt;0)*Amnt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why we have to write like this , what is the need , since we have got Amnt already in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why we have to use sum(-(Amnt&amp;gt;0)) extra..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 06:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640742#M234758</guid>
      <dc:creator />
      <dc:date>2014-05-21T06:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the Expression..?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640743#M234759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amnt&amp;gt;0&amp;nbsp;&amp;nbsp; returns -1 (True) or 0 (False). Hence&amp;nbsp; Sum(-(Amnt&amp;gt;0)) sums -(-1) (i.e. 1) for values of Amnt greater than zero. Hence the entire expression is actually equivalent to&amp;nbsp; Sum(If(Amnt&amp;gt;0, Amnt,0)).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 06:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640743#M234759</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-21T06:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the Expression..?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640744#M234760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(-(Amnt&amp;gt;0)*Amnt)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Amnt&amp;gt;0&lt;/SPAN&gt; is true then the expression become: Sum(-(-1)*Amnt) that is Sum(Amnt) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If amnt&amp;gt;0 is false then Sum(-(0)*Amnt) that is 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;We are summing only positive values for amount&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 06:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640744#M234760</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-21T06:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the Expression..?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640745#M234761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will give you a value of decimal zero when you have a negative figure in Amnt, thus only summing up positive values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression (Amnt&amp;gt;0) will either return True (-1) or False (0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to clear up your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 06:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640745#M234761</guid>
      <dc:creator>struniger</dc:creator>
      <dc:date>2014-05-21T06:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the Expression..?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640746#M234762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, that is ok but.. why we have to use this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Sum(-(Amnt&amp;gt;0))&lt;/SPAN&gt;, instaed directly we can use &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Sum(Amnt) rt..?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 06:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640746#M234762</guid>
      <dc:creator />
      <dc:date>2014-05-21T06:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the Expression..?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640747#M234763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have negative values in Amnt, they would not be summed. Sum(Amnt) - sums all irrespective of if Amnt is positive or negative. Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 06:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-Expression/m-p/640747#M234763</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-21T06:59:23Z</dc:date>
    </item>
  </channel>
</rss>

