<?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 Null Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234425#M85843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the begining before you load the data. Just press F1 on NullAsValue and you will se a good documentation on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2010 16:16:40 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2010-02-09T16:16:40Z</dc:date>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234422#M85840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added the following logic to my script to check for null values. It works just fine until I create a report. I used the following to sum up contracts not started : sum( if ( status = 'NS', [Total Sales], 0)) Nothing happens it's all zeros.&lt;/P&gt;&lt;P&gt;STATUS:&lt;BR /&gt;LEFT JOIN (VBAK)&lt;BR /&gt;LOAD Status,&lt;BR /&gt; [Status Desc]&lt;BR /&gt;FROM &lt;D&gt; (ansi, txt, delimiter is ',', embedded labels, msq);&lt;/D&gt;&lt;/P&gt;&lt;P&gt;NullMap:&lt;BR /&gt;mapping LOAD&lt;BR /&gt; null(), 'NS'&lt;BR /&gt;AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;map Status using NullMap;&lt;BR /&gt;right join (VBAK)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; *&lt;BR /&gt;RESIDENT VBAK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 15:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234422#M85840</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-02-09T15:47:01Z</dc:date>
    </item>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234423#M85841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check QV help documentation for NullAsValue. This should give you what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 15:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234423#M85841</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-09T15:51:30Z</dc:date>
    </item>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234424#M85842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rakesh,&lt;/P&gt;&lt;P&gt;I am new to qlikview (6mths). Where exactly should the NullsAsValue go?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 16:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234424#M85842</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-02-09T16:06:54Z</dc:date>
    </item>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234425#M85843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the begining before you load the data. Just press F1 on NullAsValue and you will se a good documentation on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 16:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234425#M85843</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-09T16:16:40Z</dc:date>
    </item>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234426#M85844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rakesh,&lt;/P&gt;&lt;P&gt;I have tried placing that stmt everywhere with no luck. Here is where I put it the last time. And this is the calculation I use : Sum(if(Status = 'NS', [Total Sales], 0))&lt;/P&gt;&lt;P&gt;ZTRPST:&lt;BR /&gt;LEFT JOIN (VBAK)&lt;BR /&gt;LOAD %ContractItemKey,&lt;BR /&gt; Status,&lt;BR /&gt; Date,&lt;BR /&gt; date(floor(weekend(Date, 0, -1)),'YYYY-MM-DD') as WEDAT,&lt;BR /&gt; num(floor(weekend(Date, 0, -1))) as numdatekey,&lt;BR /&gt; sum(Hours) as [Hrs Worked]&lt;BR /&gt;FROM &lt;D&gt; (qvd)&lt;BR /&gt; group by %ContractItemKey, Status, Date;&lt;BR /&gt;&lt;BR /&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;STATUS:&lt;BR /&gt;NullAsValue Status; &amp;lt;----------&lt;BR /&gt;LEFT JOIN (VBAK)&lt;BR /&gt;LOAD Status,&lt;BR /&gt; [Status Desc]&lt;BR /&gt;FROM &lt;D&gt; (ansi, txt, delimiter is ',', embedded labels, msq);&lt;/D&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NullMap:&lt;BR /&gt;mapping LOAD&lt;BR /&gt; null(), 'NS'&lt;BR /&gt;AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;map Status using NullMap;&lt;BR /&gt;right join (VBAK)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; *&lt;BR /&gt;RESIDENT VBAK;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 16:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234426#M85844</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-02-09T16:46:37Z</dc:date>
    </item>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234427#M85845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fixed.....Thanks for your help.&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 16:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234427#M85845</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-02-09T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234428#M85846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;NullAsValue Status; &amp;lt;----------&lt;/P&gt;&lt;P&gt;ZTRPST:&lt;BR /&gt;LEFT JOIN (VBAK)&lt;BR /&gt;LOAD %ContractItemKey,&lt;BR /&gt; Status,&lt;BR /&gt; Date,&lt;BR /&gt; date(floor(weekend(Date, 0, -1)),'YYYY-MM-DD') as WEDAT,&lt;BR /&gt; num(floor(weekend(Date, 0, -1))) as numdatekey,&lt;BR /&gt; sum(Hours) as [Hrs Worked]&lt;BR /&gt;FROM &lt;D&gt; (qvd)&lt;BR /&gt; group by %ContractItemKey, Status, Date;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (VBAK)&lt;BR /&gt;LOAD Status,&lt;BR /&gt; [Status Desc]&lt;BR /&gt;FROM &lt;D&gt; (ansi, txt, delimiter is ',', embedded labels, msq);&lt;/D&gt;&lt;/P&gt;&lt;P&gt;Then Sum(if(Status = null(), [Total Sales], 0)) or Sum(if(isnull(), [Total Sales], 0)) should work.&lt;/P&gt;&lt;P&gt;If doesn't work, can you post some sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 16:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234428#M85846</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-09T16:54:36Z</dc:date>
    </item>
    <item>
      <title>Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234429#M85847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just press F1 on NullAsValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tip of the day Rakesh .. thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 10:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-Values/m-p/234429#M85847</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-16T10:08:51Z</dc:date>
    </item>
  </channel>
</rss>

