<?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 Missing value vs null value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Missing-value-vs-null-value/m-p/667#M51</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;I'm calculating percentage margin. The formula is as simple as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;margin (percentage) = margin (value) / sales (value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when sale (value) &amp;lt;= 0 or sale cost = 0 the margin (percentage) makes no sense (it gives huge negative numbers, which disturbs analysis). So I want to get rid of that. I did that by following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;margin (percentage) = if( sales (value) &amp;lt;= 0 or sale cost = 0, null, margin (value) / sales (value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I almost works. Almost because that null value i put, doesn't count as missing value somehow (therefore when i uncheck "Include null values" in any dimension on graph/chart - they are included nonetheless).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 dimensional heatmap shows that perfectly (black with "-" are my NULLs, while blank, white squares are actual missing values (no sales within current month for given dimension, which is product manager in that case):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="nulls.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190065_nulls.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to make my NULLs act like actual missing values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 09:21:16 GMT</pubDate>
    <dc:creator>BeeGees</dc:creator>
    <dc:date>2018-01-15T09:21:16Z</dc:date>
    <item>
      <title>Missing value vs null value</title>
      <link>https://community.qlik.com/t5/App-Development/Missing-value-vs-null-value/m-p/667#M51</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;I'm calculating percentage margin. The formula is as simple as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;margin (percentage) = margin (value) / sales (value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when sale (value) &amp;lt;= 0 or sale cost = 0 the margin (percentage) makes no sense (it gives huge negative numbers, which disturbs analysis). So I want to get rid of that. I did that by following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;margin (percentage) = if( sales (value) &amp;lt;= 0 or sale cost = 0, null, margin (value) / sales (value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I almost works. Almost because that null value i put, doesn't count as missing value somehow (therefore when i uncheck "Include null values" in any dimension on graph/chart - they are included nonetheless).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 dimensional heatmap shows that perfectly (black with "-" are my NULLs, while blank, white squares are actual missing values (no sales within current month for given dimension, which is product manager in that case):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="nulls.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190065_nulls.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to make my NULLs act like actual missing values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 09:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Missing-value-vs-null-value/m-p/667#M51</guid>
      <dc:creator>BeeGees</dc:creator>
      <dc:date>2018-01-15T09:21:16Z</dc:date>
    </item>
  </channel>
</rss>

