<?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: Null appears in chart Calculated Dimension in spite of IsNull test in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064075#M925720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a screen shot of the table, with the revised formulae suggested. As you can see, both the if(Len(Trim statement and the Len() statement return a Null which is displayed by the text that I put in the Table | Properties | Presentation | Null Symbol field..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="07-04-2016 10-03-23.png" class="jive-image image-1" src="/legacyfs/online/120845_07-04-2016 10-03-23.png" style="width: 620px; height: 310px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 08:10:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-07T08:10:37Z</dc:date>
    <item>
      <title>Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064070#M925715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I have created a chart in QlikView in which I am using a Calculated Dimension that uses the following expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;IsNull&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[GCK HQ-System]&lt;/SPAN&gt;),'zzNull',&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Trim&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[GCK HQ-System]&lt;/SPAN&gt;)='','zzBlank',&lt;SPAN style="color: #800000;"&gt;[GCK HQ-System]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Now, in spite of using the IsNull() function in the IF() statement, the expression itself returns a NULL value. T&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;he NULL value is displayed as whatever string value that I enter in the Chart Properties | Presentation | Null Symbol box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;It seems that IsNull() on the "GCK" field name never gives a positive test. But nevertheless the overall expression itself is generating an exception that causes a NULL value to be output and displayed as the "Null Symbol" string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;What is going on? And how can I fix it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064070#M925715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064071#M925716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using a calculated dimension you won't be able to change anything for the expression. To fix the expression, you might need to do a similar InNull() test on the expression. Note: IsNull() won't work for Missing Value (&lt;A href="https://community.qlik.com/docs/DOC-3155"&gt;NULL handling in QlikView&lt;/A&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 15:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064071#M925716</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-06T15:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064072#M925717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a script,&lt;/P&gt;&lt;P&gt;If(Len(Trim([GCK HQ-System])) = 0, 'zzNull', If(Len(Trim([GCK HQ-System])) &amp;gt; 0, [GCK HQ-System], 'zzBlank'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 18:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064072#M925717</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-04-06T18:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064073#M925718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sometimes in qlikview if there is a null value it might not treat it as null.. using the same condition check for len(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[GCK HQ-System)=0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; in order to understand more about your data do this in a script and create one more field called len(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[GCK HQ-System) put that new field in list box and check how the nulls are treated. Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 18:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064073#M925718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-06T18:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064074#M925719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you provide a sample application to demonstrate a solution?&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 23:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064074#M925719</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-04-06T23:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064075#M925720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a screen shot of the table, with the revised formulae suggested. As you can see, both the if(Len(Trim statement and the Len() statement return a Null which is displayed by the text that I put in the Table | Properties | Presentation | Null Symbol field..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="07-04-2016 10-03-23.png" class="jive-image image-1" src="/legacyfs/online/120845_07-04-2016 10-03-23.png" style="width: 620px; height: 310px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 08:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064075#M925720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T08:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064076#M925721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And here BTW is a screenshot showing that the test IsNull() does itself return a Null value instead of True or False as one would expect..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="07-04-2016 10-12-55.png" class="jive-image image-1" src="/legacyfs/online/120847_07-04-2016 10-12-55.png" style="width: 620px; height: 307px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 08:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064076#M925721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T08:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Null appears in chart Calculated Dimension in spite of IsNull test</title>
      <link>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064077#M925722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this looks indeed strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you maybe comment on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Which QV version are you using (and I assume you are referring to the desktop client)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- In above screenshots, you are using a plain straight table with the given dimension &amp;amp; expression, not other settings changed (except 'Null symbol' on presentation tab)? No hidden expressions / attribute expressions, maybe using set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Do you see this issue also when using other fields? &lt;/P&gt;&lt;P&gt;&amp;nbsp; - If not, is there anything special about [GCK HQ-System]? &lt;/P&gt;&lt;P&gt;&amp;nbsp; - Is it a key field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I assume the line will disappear when using 'Suppress when Value is NULL' on dimension tab (you are just not using it for demonstration of the issue itself)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Have you tried isolating the issue by loading only this field and trying to reproduce the issue with your chart? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Would it then be feasible that you share this sample QVW (attaching it to your post)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-appears-in-chart-Calculated-Dimension-in-spite-of-IsNull/m-p/1064077#M925722</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-07T13:53:31Z</dc:date>
    </item>
  </channel>
</rss>

