<?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: Excluding specific reason from chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310543#M1193210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas on my problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 11:53:19 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2011-06-23T11:53:19Z</dc:date>
    <item>
      <title>Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310534#M1193201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can anyone tell me how i would write an expression to show me waste values but excluding a specific reason please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fields are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StockValue&lt;/P&gt;&lt;P&gt;Narrative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 waste Narrative reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wastage and WASTAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to exclude the uppercase WASTE from my results (so i don't want them being added up in the total and i don't want them to display in the chart)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently i have a simple expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(StockValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this show's me both Narratives. I don't want to have a list box for the user to just select Wastage as our average users wouldn't know the difference between the 2 Narratives. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically WASTAGE is a system generated reason when the user downloads waste figures using an older program (this program should only be used for FREEZER BREAKDOWNS but now and again some of our customers use it by mistake)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wastage is the reason generated using the correct program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310534#M1193201</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-06-22T10:22:13Z</dc:date>
    </item>
    <item>
      <title>Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310535#M1193202</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;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(if(Narrative='Wastage',StockValue))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;Narrative={Wastage}&amp;gt;}&amp;nbsp; Stockvalue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both should do the job. The set analysis will be better eprformance wise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310535#M1193202</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-22T10:27:01Z</dc:date>
    </item>
    <item>
      <title>Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310536#M1193203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, thanks for your reply. &lt;/P&gt;&lt;P&gt;The first expression works but it still displays the WASTAGE lines in the chart (but with ZERO value) Is there a way i can completely stop the line from showing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis expression just displays ZERO's for StockValue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310536#M1193203</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-06-22T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310537#M1193204</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;check that on the presentation tab of the chart-&amp;gt;properties dialogue that you are suppressing both missing and zero values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310537#M1193204</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-22T10:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310538#M1193205</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;Yes, they are both ticked... but still showing the ZERO values as you can see from the attached image..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Wastage.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5368_Wastage.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310538#M1193205</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-06-22T10:48:21Z</dc:date>
    </item>
    <item>
      <title>Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310539#M1193206</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 have to apply the if() caluse to every expression in your cahrt. it looks like you have other expressions, most notably the display of the Narrative field which will cause every expression to be evaluated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The if() calsue is forcing the expression to null but it is being displayed because the row is being displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apply the if() everywhere or remove the other columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310539#M1193206</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-22T10:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310540#M1193207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, thanks, that makes sense now..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have altered your expression to ﻿:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Narrative&amp;lt;&amp;gt;'WASTAGE'and Narrative&amp;lt;&amp;gt;'DAMAGED',StockValue))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which seems to work, i will add the same IF statement to my other expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of my expressions is currently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(StockValue)/Sum(StockQty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how would i incorporate the IF statement into that?&lt;/P&gt;&lt;P&gt;I have tried&lt;/P&gt;&lt;P&gt;sum(if(Narrative&amp;lt;&amp;gt;'WASTAGE'and Narrative&amp;lt;&amp;gt;'DAMAGED',StockValue)/Sum(StockQty))&lt;/P&gt;&lt;P&gt;but doesn't seem to work..&lt;/P&gt;&lt;P&gt;Would the IF need to be on both StockValue and StockQty?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 11:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310540#M1193207</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-06-22T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310541#M1193208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you could try: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Narrative&amp;lt;&amp;gt;'WASTAGE'and Narrative&amp;lt;&amp;gt;'DAMAGED',StockValue)/Sum(if(Narrative&amp;lt;&amp;gt;'WASTAGE'and Narrative&amp;lt;&amp;gt;'DAMAGED',StockQty))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you can also write it as a set analysis expressions (which may be a better performance.&lt;/P&gt;&lt;P&gt;The syntax will be: &lt;/P&gt;&lt;P&gt;sum&amp;nbsp; ( {&amp;lt;Narrative -={WASTAGE, DAMAGED}&amp;gt;} StockValue) /&lt;/P&gt;&lt;P&gt;sum&amp;nbsp; ( {&amp;lt;Narrative -={WASTAGE, DAMAGED}&amp;gt;} StockQty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 11:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310541#M1193208</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-22T11:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310542#M1193209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your reply, but i can't get either examples to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression doesn't display any figures..&lt;/P&gt;&lt;P&gt;sum(if(Narrative&amp;lt;&amp;gt;'WASTAGE'and Narrative&amp;lt;&amp;gt;'DAMAGED',StockValue)/Sum(if(Narrative&amp;lt;&amp;gt;'WASTAGE'and Narrative&amp;lt;&amp;gt;'DAMAGED',StockQty))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this expression displays incorrect figures...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&amp;nbsp; ( {&amp;lt;Narrative -={WASTAGE, DAMAGED}&amp;gt;} StockValue) /&lt;/P&gt;&lt;P&gt;sum&amp;nbsp; ( {&amp;lt;Narrative -={WASTAGE, DAMAGED}&amp;gt;} StockQty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 08:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310542#M1193209</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-06-23T08:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310543#M1193210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas on my problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 11:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310543#M1193210</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-06-23T11:53:19Z</dc:date>
    </item>
    <item>
      <title>Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310544#M1193211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hopkinsc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can use a Calculated Dimension instead the expresión with Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(MATCH([Narrative],'WASTAGE','DAMAGED')= 0, [Narrative])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WASTED and DAMAGED data willl show with NULL value, then just you can Suppress the dimension when value is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 15:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310544#M1193211</guid>
      <dc:creator />
      <dc:date>2011-06-30T15:19:38Z</dc:date>
    </item>
    <item>
      <title>Excluding specific reason from chart</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310545#M1193212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can include another field in your load statement: &lt;/P&gt;&lt;P&gt;Load ... &lt;/P&gt;&lt;P&gt;Narrative, &lt;/P&gt;&lt;P&gt;If( Narrative = 'WASTAGE' or Narrative='DAMAGED', 1, 0) as flagNarrative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM / Resident .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then,&amp;nbsp; using set analysis on the chart:&lt;/P&gt;&lt;P&gt;sum&amp;nbsp; ( {&amp;lt;flagNarrative ={0}&amp;gt;} StockValue) /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&amp;nbsp; ( {&amp;lt;flagNarrative ={0}&amp;gt;} StockQty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 15:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-specific-reason-from-chart/m-p/310545#M1193212</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-30T15:44:30Z</dc:date>
    </item>
  </channel>
</rss>

