<?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: How can I avoid displaying null values? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565178#M548368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display only non-null values,In straight table - presentation tab - select suppress zero values check-box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2014 22:21:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-10T22:21:34Z</dc:date>
    <item>
      <title>How can I avoid displaying null values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565175#M548365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to restrict the output of a chart to only those values that are not null?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users at my company want to take a look at policy&amp;nbsp; retention in the form of a Triangle, which looks something like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Starting Month&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Initial Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;One Month&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Two Months&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Three Months&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Four Months&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jan 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Feb 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Mar 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;9&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;8&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Apr 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;May 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jun 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each policy is assigned to a group based on what month the customer signed up, and then tracked until they are no longer with the company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been asked to provide a graph of the "Lifetime Estimate", which is an equation that basically asks, 'on average, what percentage of initial customers make it to the rightmost edge of the triangle?' For Jun 2013, it would be the red numbers above over their initial values, or (11/11 + 10/11 + 10/12 + 8/12 + 6/11); for May 2013 it would be the blue numbers over their initials, or (11/11 + 11/12 + 9/12 + 7/11 +5/10), one diagonal behind the rightmost edge. Unfortunately, Qlikview doesn't seem to be particularly well equipped to handle this particular type of data structure. In particular, if I try to put this in a chart using [Starting Month] as my dimension, I would have to write it as:&lt;/P&gt;&lt;P&gt;sum([Initial Value])/sum([Initial Value]) + above(sum([One Month])/sum([Initial Value])) +&lt;/P&gt;&lt;P&gt;above(sum([Two Months])/sum([Initial Value]),2) + above(sum([Three Months])/sum([Initial Value]),3) +&lt;/P&gt;&lt;P&gt;above(sum([Four Months])/sum([Initial Value]),4). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works, except that for Jan 2013- Apr 2013, above(function, 4) doesn't exist, so the equation breaks down. What I wind up with is a chart that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Starting Month&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Lifetime Estimate&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jan 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Feb 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Mar 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Apr 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;May 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3.80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jun 2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3.95&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to avoid having the blanks&amp;nbsp; at the beginning? I have a workaround using pick(match()) but unfortunately this is running very slowly. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 21:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565175#M548365</guid>
      <dc:creator />
      <dc:date>2014-02-10T21:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I avoid displaying null values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565176#M548366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using rangesum() instead of the addition operator + should be more stable when handling NULL as operands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum([Initial Value])/sum([Initial Value]),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;above(sum([One Month])/sum([Initial Value])),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;above(sum([Two Months])/sum([Initial Value]),2),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;above(sum([Three Months])/sum([Initial Value]),3),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;above(sum([Four Months])/sum([Initial Value]),4)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565176#M548366</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-02-10T22:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I avoid displaying null values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565177#M548367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suwehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually using rangesum() in the application already. Unfortunately, it does not solve the problem of QlikView needing to populate the dimension field for the earlier months in the chart object in order to be able to calculate the equation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To put it another way, having a NULL value there is actually the DESIRED result, as when there is not enough data for me to get all five elements in the equation, I do not want it to return a result, as that will confuse users. (If the equation was applied to the 'Jan 2013' row and NULL values were assigned a value of 0, the equation would return (10/10+0+0+0+0) = 1, which would suggest very poor customer retention in that month - something that simply isn't true.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565177#M548367</guid>
      <dc:creator />
      <dc:date>2014-02-10T22:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I avoid displaying null values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565178#M548368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display only non-null values,In straight table - presentation tab - select suppress zero values check-box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565178#M548368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-10T22:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I avoid displaying null values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565179#M548369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Nitha, that doesn't seem to work - I think it's due to the particular way the Above() function works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-avoid-displaying-null-values/m-p/565179#M548369</guid>
      <dc:creator />
      <dc:date>2014-02-10T22:31:35Z</dc:date>
    </item>
  </channel>
</rss>

