<?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 Chart showing Zero but NOT null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800270#M282484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set which has some zero values but also some null values.&amp;nbsp; What I need to do is show the zero values but not the null values and am not sure how to achieve that.&amp;nbsp; I saw another post using the P() function but couldn't get that to work for me (may be ignorance on my part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart has actual values, average actual values (a running six-week average - less until it hits six weeks of actual data) and then predicted values going out about two months.&amp;nbsp; All these values come from the database and are not calculated within Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual values have some zero values I want to show but if I don't suppress zero values, it also extends the actual portion of the chart into the predicted area and likewise, the predicted portion of the chart overlaps with the actual area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample file with data and with the same chart twice - once with zero's suppressed and once with them not suppressed.&amp;nbsp; Neither is what I need but the zero suppressed is closer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 16:26:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-26T16:26:48Z</dc:date>
    <item>
      <title>Chart showing Zero but NOT null</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800270#M282484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set which has some zero values but also some null values.&amp;nbsp; What I need to do is show the zero values but not the null values and am not sure how to achieve that.&amp;nbsp; I saw another post using the P() function but couldn't get that to work for me (may be ignorance on my part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart has actual values, average actual values (a running six-week average - less until it hits six weeks of actual data) and then predicted values going out about two months.&amp;nbsp; All these values come from the database and are not calculated within Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual values have some zero values I want to show but if I don't suppress zero values, it also extends the actual portion of the chart into the predicted area and likewise, the predicted portion of the chart overlaps with the actual area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample file with data and with the same chart twice - once with zero's suppressed and once with them not suppressed.&amp;nbsp; Neither is what I need but the zero suppressed is closer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800270#M282484</guid>
      <dc:creator />
      <dc:date>2015-03-26T16:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Chart showing Zero but NOT null</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800271#M282485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a kludge type workaround but would like something better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've changed my query which brings the data in to check for 0 values and then assign them .001 as a value instead.&amp;nbsp; As I'm dealing with whole numbers (bigint), this works in this instance giving me the look a desire for the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, that is not an option in all cases so I'd still like to know how I can achieve the functionality without altering the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 17:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800271#M282485</guid>
      <dc:creator />
      <dc:date>2015-03-26T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Chart showing Zero but NOT null</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800272#M282486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark, Sum(Null()) will give a result of zero, so if you want to retrieve null or zero you can ask first if there is any value, if any value exist then do the sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Zero Not Supressed chart you can use this expressions:&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;Metric = {'Accepted Tests'}&amp;gt;} Tests), Sum({&amp;lt;Metric = {'Accepted Tests'}&amp;gt;} Tests))&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;Metric = {'Avg Accepted'}&amp;gt;} Tests), Sum({&amp;lt;Metric = {'Avg Accepted'}&amp;gt;} Tests))&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;Metric = {'Predicted Accepted'}&amp;gt;} Tests), Sum({&amp;lt;Metric = {'Predicted Accepted'}&amp;gt;} Tests))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 17:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800272#M282486</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-26T17:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Chart showing Zero but NOT null</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800273#M282487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 18:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-Zero-but-NOT-null/m-p/800273#M282487</guid>
      <dc:creator />
      <dc:date>2015-03-26T18:31:02Z</dc:date>
    </item>
  </channel>
</rss>

