<?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: Chart displays 0(zero) for null values. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531972#M551167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that,but if will treat 0 values for months in YTD range also as nulls and we need to show them as ) but 0 values after the last month in YTD range only should be treated as nulls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words if sum(DataField) = 0 then keep 0 else if sum(blank cell) gives you 0 then convert that to null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 21:20:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-15T21:20:32Z</dc:date>
    <item>
      <title>Chart displays 0(zero) for null values.</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531968#M551162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a line chart with 2 expression, one displays YTD fiscal year data and other displays entire last fiscal year's data.&lt;/P&gt;&lt;P&gt;For current year values for future month in DB are nulls but in Chart object sum({&amp;lt;YTD calculation&amp;gt;}DataField) displays zero instead of nulls for future months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to display average trend for current year, since 0 is a values my average is skewed as the denominator is always 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Advice.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 19:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531968#M551162</guid>
      <dc:creator />
      <dc:date>2013-11-15T19:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Chart displays 0(zero) for null values.</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531969#M551163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this, because a sum of an empty set will return 0, not null, so you can test it and return null as needed&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;YTD calculation&amp;gt;}DataField)&lt;/SPAN&gt;&amp;lt;&amp;gt;0,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;YTD calculation&amp;gt;}DataField) &lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 19:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531969#M551163</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-11-15T19:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Chart displays 0(zero) for null values.</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531970#M551164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart is displayed of fiscal months, and issue here is that data could be genuinely zero values in between YTD range. &lt;/P&gt;&lt;P&gt;E.g: &lt;/P&gt;&lt;P&gt;Aug&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;Sep&amp;nbsp;&amp;nbsp; 15&lt;/P&gt;&lt;P&gt;Oct&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Nov&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;Dec&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my straight table should give me following representation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 20:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531970#M551164</guid>
      <dc:creator />
      <dc:date>2013-11-15T20:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Chart displays 0(zero) for null values.</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531971#M551166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try counting and checking if there´s some data for that period&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;STRONG&gt;count&lt;/STRONG&gt;({&amp;lt;YTD calculation&amp;gt;}DataField)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;lt;&amp;gt;0,&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;sum({&amp;lt;YTD calculation&amp;gt;}DataField) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 20:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531971#M551166</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-11-15T20:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Chart displays 0(zero) for null values.</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531972#M551167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that,but if will treat 0 values for months in YTD range also as nulls and we need to show them as ) but 0 values after the last month in YTD range only should be treated as nulls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words if sum(DataField) = 0 then keep 0 else if sum(blank cell) gives you 0 then convert that to null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 21:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531972#M551167</guid>
      <dc:creator />
      <dc:date>2013-11-15T21:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Chart displays 0(zero) for null values.</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531973#M551169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m not following you, what do you mean by '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;blank cell&lt;/SPAN&gt;'?&lt;/P&gt;&lt;P&gt;Is it possible to post a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 21:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-displays-0-zero-for-null-values/m-p/531973#M551169</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-11-15T21:24:34Z</dc:date>
    </item>
  </channel>
</rss>

