<?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 Excluding values from Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255811#M1188855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TextCount (if([P/N]) &amp;lt;&amp;gt;'E',[P/N]) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 09:19:01 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2011-08-08T09:19:01Z</dc:date>
    <item>
      <title>Excluding values from Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255809#M1188851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I'm very new to Qlikview, so newbie apologies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field in my data called P/N. The values in the field for each row of data are either P, N or E. I would like to draw a pie chart but excluding the Es (i.e. it will have two segments, either P or N)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've started with my Expression as&amp;nbsp;&amp;nbsp;&amp;nbsp; TextCount ([P/N])&amp;nbsp; but I'm not sure how to go about excluding all the Es. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be very appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 08:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255809#M1188851</guid>
      <dc:creator />
      <dc:date>2011-08-08T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding values from Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255810#M1188853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jenark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attachment sample file for clearity. On the example i conditionally sum the values with the help of this condition =Sum(If([P/N]='P' or&amp;nbsp; [P/N]='N',Val)) you exclude the value E from the calculation and draw a pie chart.I thin it is clear for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 09:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255810#M1188853</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-08T09:17:12Z</dc:date>
    </item>
    <item>
      <title>Excluding values from Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255811#M1188855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TextCount (if([P/N]) &amp;lt;&amp;gt;'E',[P/N]) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 09:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255811#M1188855</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-08T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Excluding values from Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255812#M1188857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your work Anand, but though it worked in your file, I couldn't recreate it in my original one (said that Val was an error). Sunil, yours worked fine apart from there is a superflous ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be TextCount (if([P/N] &amp;lt;&amp;gt;'E',[P/N]) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From another source, I've got this code too, I'm not sure how it works but it does&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ({$&amp;lt;[P/N]={'P'}+{'N'}&amp;gt;}[P/N]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 09:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-values-from-Expressions/m-p/255812#M1188857</guid>
      <dc:creator />
      <dc:date>2011-08-08T09:41:50Z</dc:date>
    </item>
  </channel>
</rss>

