<?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: Options to deal with missing and NULL representation in charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436317#M513065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think I've managed to get across what I'm looking for, please find attached an example dataset and Qlikview document. &lt;SPAN style="font-size: 10pt;"&gt;I've exemplified my dataset and the problems I'm having with the three KPI_IDs. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When selecting KPI_ID 1; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;The graph shows months 1 through 5 and has a genuine dip to 0 in month 4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When selecting &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;KPI_ID &lt;/STRONG&gt;&lt;/SPAN&gt;2;&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;The graph skips month 2 because the data is missing for that month and so can't be plotted. I would like, instead, for there to be a dot at month 1, then a gap showing month 2, and for the graph to continue with months 3 to 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When selecting &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;KPI_ID &lt;/STRONG&gt;&lt;/SPAN&gt;3; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;The graph shows months 1 to 5, but there is a NULL in month 3 which is being represented as a 0. This is incorrect because the value isn't 0 and I am looking for it to show a gap instead. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using alt(value, 'string') changes the value for KPI_ID 3 from NULL to 'string' in month 3 but this has no impact on the chart presentation since the value is still being represented erroneously as 0 instead of a gap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help so far! Hopefully there'll be an elegant solution somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tim Coultas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Oct 2017 15:53:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-10-02T15:53:42Z</dc:date>
    <item>
      <title>Options to deal with missing and NULL representation in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436313#M513061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I've been scouring the forums attempting to gather all the best ways to handle nulls and missing values in charts. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My SPC chart plots KPIs across the months in financial years, pretty standard.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When the value of the data in the month is 0, I need to show that because it's significant.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When the value of the data in the month is missing, I also need to show that because the submission should have come in but didn't.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Currently, if the data is missing in the month then the chart will skip that month. &lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;I could remedy this with "show all values" on the month dimension. This isn't desirable because then the dimension will no longer react to selections and the data point value will show as 0, which is not correct. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;I could check "suppress zero-values" under presentation to solve this issue but then genuine 0s will be suppressed, which is not correct.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My current method for solving this issue is to create a &lt;/SPAN&gt;Cartesian&lt;SPAN style="font-size: 10pt;"&gt; product of the fact table with the master calendar on the primary key(s) so that I have rows of NULLS ready to be filled with data, leaving NULLS where the data is missing. This method has its own downsides, namely the fact that it's a really big table with nothing in and in order to distinguish between missing and 0 values, you need a system that reports positively on 0 values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I'm sure the Qlik Community has come across this problem before, what are your solutions?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436313#M513061</guid>
      <dc:creator />
      <dc:date>2017-09-28T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Options to deal with missing and NULL representation in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436314#M513062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you differentiate the missing and null values?&lt;/P&gt;&lt;P&gt;Is there a flag or something that says that for a specific month, the value is missing rather than null?&lt;/P&gt;&lt;P&gt;As im thinking it, either way the value is "missing" not being quite clear as to what makes the difference between the two.&lt;/P&gt;&lt;P&gt;How would you plot something if its missing and has zero value as to not having a value for the month and so being null?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436314#M513062</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-09-28T18:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Options to deal with missing and NULL representation in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436315#M513063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my purposes it's not necessary to distinguish between missing and NULL values, only between 0s and missing &lt;EM&gt;or &lt;/EM&gt;NULL values. Apologies, I should have made that clearer.&lt;/P&gt;&lt;P&gt;There is not currently a flag but the distinguishing feature between the two would be that NULLS have empty rows in the data and have dates attached, while missing values are not in the dataset at all. Unless I create my Cartesian product I would not expect NULLS in the dataset, only missing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the data is missing or NULL I would expect the line on the chart to stop for that month, then continue when data is available again, but I would expect the empty month to be visible so the user can identify that there is no data. I would also expect the line to dip down to 0 when the value of the KPI is 0 for that month. Does that make my meaning clearer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tim Coultas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 09:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436315#M513063</guid>
      <dc:creator />
      <dc:date>2017-09-29T09:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Options to deal with missing and NULL representation in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436316#M513064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do something like this on the field your trying to plot in the KPIs, by using the Alt(Val1,Val2) statement.&lt;/P&gt;&lt;P&gt;This way, if the row exists and the value isn't there, it's missing, and so its filled with a zero (or other value that you want) rather than not showing it, because there's no data to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableX:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *, // fields that are in the table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alt(Value,0) as Value // in this case, if the value is missing, it will be zero, rather than null&lt;/P&gt;&lt;P&gt;From [Whatever];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i'm seeing it, when you select a month that has incomplete data (missing) the Value field in the example would be 0, showing in the KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 16:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436316#M513064</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-09-29T16:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Options to deal with missing and NULL representation in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436317#M513065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think I've managed to get across what I'm looking for, please find attached an example dataset and Qlikview document. &lt;SPAN style="font-size: 10pt;"&gt;I've exemplified my dataset and the problems I'm having with the three KPI_IDs. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When selecting KPI_ID 1; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;The graph shows months 1 through 5 and has a genuine dip to 0 in month 4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When selecting &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;KPI_ID &lt;/STRONG&gt;&lt;/SPAN&gt;2;&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;The graph skips month 2 because the data is missing for that month and so can't be plotted. I would like, instead, for there to be a dot at month 1, then a gap showing month 2, and for the graph to continue with months 3 to 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When selecting &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;KPI_ID &lt;/STRONG&gt;&lt;/SPAN&gt;3; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;The graph shows months 1 to 5, but there is a NULL in month 3 which is being represented as a 0. This is incorrect because the value isn't 0 and I am looking for it to show a gap instead. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using alt(value, 'string') changes the value for KPI_ID 3 from NULL to 'string' in month 3 but this has no impact on the chart presentation since the value is still being represented erroneously as 0 instead of a gap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help so far! Hopefully there'll be an elegant solution somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tim Coultas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 15:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436317#M513065</guid>
      <dc:creator />
      <dc:date>2017-10-02T15:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Options to deal with missing and NULL representation in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436318#M513066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood what you mean now, see the attached example, now differentiating between Missing and Null values (I've put labels on them, so you can see the data in the table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what i did was join the CalTable dates with&amp;nbsp; all the different types of KPI_IDs, giving a complete month, KPI_ID table, and then I can say that the values that are incomplete on the first table (from Datatable) are "missing" and the joined elements of the months that aren't in this table are "null".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 16:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436318#M513066</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-10-02T16:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Options to deal with missing and NULL representation in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436319#M513067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felip, yeah that'll do it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tim Coultas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 08:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Options-to-deal-with-missing-and-NULL-representation-in-charts/m-p/1436319#M513067</guid>
      <dc:creator />
      <dc:date>2017-10-05T08:44:19Z</dc:date>
    </item>
  </channel>
</rss>

