<?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: Exclude zero and negative values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459217#M435736</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; font-size: 13px;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;You can write a simple if condition in your expression as below&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; font-size: 13px;"&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; font-size: 13px;"&gt;if(USD&amp;gt;0,Sum(USD))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 05:56:27 GMT</pubDate>
    <dc:creator>vishalmanu</dc:creator>
    <dc:date>2018-01-05T05:56:27Z</dc:date>
    <item>
      <title>Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459214#M435733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to Exclude &lt;STRONG&gt;zero&lt;/STRONG&gt; and &lt;STRONG&gt;negative&lt;/STRONG&gt; values in the Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="imggo.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189002_imggo.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 05:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459214#M435733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T05:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459215#M435734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In expression try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(USD&amp;gt;0,Sum(USD))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 05:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459215#M435734</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-01-05T05:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459216#M435735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create flag in script like-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(USD) or USD&amp;lt;0,1,0) as flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANd use this flah in your expression like-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Flag= {0}&amp;gt;}USD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 05:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459216#M435735</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2018-01-05T05:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459217#M435736</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; font-size: 13px;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;You can write a simple if condition in your expression as below&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; font-size: 13px;"&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; font-size: 13px;"&gt;if(USD&amp;gt;0,Sum(USD))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 05:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459217#M435736</guid>
      <dc:creator>vishalmanu</dc:creator>
      <dc:date>2018-01-05T05:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459218#M435737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can some one help me, result should be like this in the screenshot, attached source for your reference.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img123.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189003_img123.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 05:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459218#M435737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T05:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459219#M435738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this? I didn't test due to there is no &lt;STRONG&gt;S/W&lt;/STRONG&gt; in my machine&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;[Cus ID] = {"=Sum(USD)&amp;gt;0"}&amp;gt;} USD)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 06:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459219#M435738</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-05T06:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459220#M435739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try any of the above solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 06:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459220#M435739</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-01-05T06:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459221#M435740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 06:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459221#M435740</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2018-01-05T06:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459222#M435741</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;You can try using the expression that i have posted above. its working and i am able to get the result as per the screenshot posted by you. Or you can try using the expression posted by Anil Babu. Both the expressions will give you the same output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 06:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459222#M435741</guid>
      <dc:creator>vishalmanu</dc:creator>
      <dc:date>2018-01-05T06:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude zero and negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459223#M435742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, the below one is working in background expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;if(USD&amp;gt;0,USD) as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="jive-thread-reply-btn" style="margin: 15px 0 -10px; font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-weight: inherit; font-style: inherit; font-size: 11.7px; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1411748" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-size: 11.7px; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;Re: Exclude zero and negative values&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 06:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-zero-and-negative-values/m-p/1459223#M435742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T06:47:34Z</dc:date>
    </item>
  </channel>
</rss>

