<?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 Handling in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692518#M250528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;In the script you would have to create a field to store the result of the comparison.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(alt(t1,0)-(alt(t2,0))&amp;lt;&amp;gt; 0 ,'NO','same')&lt;STRONG&gt; as FieldNameHere&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 09:37:34 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-09-25T09:37:34Z</dc:date>
    <item>
      <title>Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692517#M250527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have&amp;nbsp; t1, t2 columns.. . these 2 fields having null values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to subtract these two&amp;nbsp; t1-t2&lt;/P&gt;&lt;P&gt; when am doing in table level its working fine&amp;nbsp; as&amp;nbsp; if(alt(t1,0)-(alt(t2,0))&amp;lt;&amp;gt; 0 ,'NO','same')&lt;/P&gt;&lt;P&gt;but same thing is not working in script level.. how can&amp;nbsp;&amp;nbsp; i handle&amp;nbsp; above expression in script level. i would like to show like above&amp;nbsp; if&amp;nbsp; t1,t2 values are equals i should&amp;nbsp; treat this as 'same'&amp;nbsp;&amp;nbsp; else 'different'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692517#M250527</guid>
      <dc:creator />
      <dc:date>2014-09-25T09:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692518#M250528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;In the script you would have to create a field to store the result of the comparison.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(alt(t1,0)-(alt(t2,0))&amp;lt;&amp;gt; 0 ,'NO','same')&lt;STRONG&gt; as FieldNameHere&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692518#M250528</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-25T09:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692519#M250529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried&amp;nbsp; same thing.&lt;/P&gt;&lt;P&gt;but&amp;nbsp; same&amp;nbsp; logic is not working properly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692519#M250529</guid>
      <dc:creator />
      <dc:date>2014-09-25T09:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692520#M250530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333339691162px;"&gt;TRY THIS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333339691162px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333339691162px;"&gt;if(if(isnull(t1),0,t1)-if(isnull(t2),0,t2) &amp;lt;&amp;gt;0,'NO','SAME') as [FIELD NAME] &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692520#M250530</guid>
      <dc:creator>varunjain</dc:creator>
      <dc:date>2014-09-25T09:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692521#M250531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 10:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692521#M250531</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-25T10:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692522#M250532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333339691162px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333339691162px;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333339691162px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333339691162px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333339691162px;"&gt;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333339691162px;"&gt;if(if(isnull(t1),0,t1)-if(isnull(t2),0,t2) &amp;lt;&amp;gt;0,'NO','SAME') as [FIELD NAME]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333339691162px;"&gt;FROM ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 10:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692522#M250532</guid>
      <dc:creator>varunjain</dc:creator>
      <dc:date>2014-09-25T10:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692523#M250533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps your data contains text values or strings of spaces so the t1 and t2 columns are interpreted as text instead of as numbers. Try using the num() function: if(alt(num(t1),0)-alt(num(t2),0),'NO','same')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 10:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692523#M250533</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-25T10:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Null Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692524#M250534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the nulls you are having are due to how the data you are showing in front end (my guess: straight table) over dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields u are using in the chart are coming from one single QV table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not you need to replicate the same logic as in front end in the script too and then use the expression given by other members&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 10:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Handling/m-p/692524#M250534</guid>
      <dc:creator />
      <dc:date>2014-09-25T10:07:10Z</dc:date>
    </item>
  </channel>
</rss>

