<?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: How to allocate a default value if the data is missing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629915#M1091530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnull(Country) or Trim(Country)='', 'Missing', Country) as Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Resident myTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 15:57:58 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-05-12T15:57:58Z</dc:date>
    <item>
      <title>How to allocate a default value if the data is missing</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629913#M1091528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a bit of coding help required. I have two spreadsheets from two different sources. In one of the spreadsheets that I am loading, it does not hold data for the country (wierd I know).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I want to do is assign a text value during the load process that will identify that the data is missing. Add in the word 'Missing'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the IsNull but I don't think the source field is being recognised as a null, just a Blank or empty string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I code around this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All replies gratefully recieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629913#M1091528</guid>
      <dc:creator />
      <dc:date>2014-05-12T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate a default value if the data is missing</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629914#M1091529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;if(len(Trim(fieldName))&amp;lt;1,'Missing',fieldName)&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Isnull(fieldName),'Missing',FieldName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629914#M1091529</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-05-12T15:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate a default value if the data is missing</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629915#M1091530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnull(Country) or Trim(Country)='', 'Missing', Country) as Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Resident myTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629915#M1091530</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-12T15:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate a default value if the data is missing</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629916#M1091531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - worked a treat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 16:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629916#M1091531</guid>
      <dc:creator />
      <dc:date>2014-05-12T16:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate a default value if the data is missing</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629917#M1091532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alessandro - very helpful&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 16:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allocate-a-default-value-if-the-data-is-missing/m-p/629917#M1091532</guid>
      <dc:creator />
      <dc:date>2014-05-12T16:02:02Z</dc:date>
    </item>
  </channel>
</rss>

