<?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 Loading column values if not null? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-column-values-if-not-null/m-p/315128#M1196959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vikas,&lt;/P&gt;&lt;P&gt;In addition to what Deepak suggests, and in regards to sum some values, the above is correct if you don't want to load any records where the field value is null. However, you may want to create a flag in those fields, so you can take them on or off a set analysis easily&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Table:LOAD Code, Amount, Date, If(Len(Date) = 0, 1, 0) AS NullFlagFROM File.qvd (qvd) // or any other&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt; NullFlag = {1} &amp;gt;} Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2011 10:39:44 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-03-21T10:39:44Z</dc:date>
    <item>
      <title>Loading column values if not null?</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-column-values-if-not-null/m-p/315126#M1196957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to check for the column values while loading so that the null values should not get loaded .&lt;/P&gt;&lt;P&gt;And if i want to sum the column value i want to neglect the null value s data . How should i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 10:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-column-values-if-not-null/m-p/315126#M1196957</guid>
      <dc:creator />
      <dc:date>2011-03-21T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Loading column values if not null?</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-column-values-if-not-null/m-p/315127#M1196958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vikas,&lt;/P&gt;&lt;P&gt;YOu can do it by following method.&lt;/P&gt;&lt;P&gt;Load * from Table where isnull(Fieldname) =0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from table where len(trim(Fieldname)) &amp;gt;0 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 10:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-column-values-if-not-null/m-p/315127#M1196958</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-03-21T10:22:22Z</dc:date>
    </item>
    <item>
      <title>Loading column values if not null?</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-column-values-if-not-null/m-p/315128#M1196959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vikas,&lt;/P&gt;&lt;P&gt;In addition to what Deepak suggests, and in regards to sum some values, the above is correct if you don't want to load any records where the field value is null. However, you may want to create a flag in those fields, so you can take them on or off a set analysis easily&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Table:LOAD Code, Amount, Date, If(Len(Date) = 0, 1, 0) AS NullFlagFROM File.qvd (qvd) // or any other&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt; NullFlag = {1} &amp;gt;} Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 10:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-column-values-if-not-null/m-p/315128#M1196959</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-21T10:39:44Z</dc:date>
    </item>
  </channel>
</rss>

