<?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: Changing NULL Value to a specific value in load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429993#M160287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/mayilvahanan" id="jive-887781616231511626014" style="background-color: #d6f5b9; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;Ramasamy&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. I found what I was looking for with your idea. Didn't try the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2012 14:13:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-21T14:13:15Z</dc:date>
    <item>
      <title>Changing NULL Value to a specific value in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429989#M160283</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;In one the tables in the DB I have a field name Subscriber. &lt;/P&gt;&lt;P&gt;Here are the following valus for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Print&lt;/P&gt;&lt;P&gt;2. Digital&lt;/P&gt;&lt;P&gt;3. Null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using QV 10 and want to change Null with 'Non Subscriber' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to specify it in the load statement? If yes can someone write the statement?&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;&lt;/P&gt;&lt;P&gt;PS: Is it also possible to change Digital with something else...."Digital+Print" for example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 13:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429989#M160283</guid>
      <dc:creator />
      <dc:date>2012-09-21T13:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing NULL Value to a specific value in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429990#M160284</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 like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, if(Subscriber='Null','Non Subscriber',Subscriber) as Subscriber from tablename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;For Ps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, if(fieldName = 'Digital', 'DigitalPrint',FieldName) as FieldName from table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 13:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429990#M160284</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-21T13:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Changing NULL Value to a specific value in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429991#M160285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pick( &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;match(Subscriber,'Print','Digital')+1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Non Subscriber',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Print',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Digital+Print'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;) as Subscriber&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM Table;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 13:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429991#M160285</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-21T13:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing NULL Value to a specific value in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429992#M160286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the following statement in your load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( isnull(Subscriber), 'Non Subscriber', if(Subscriber='Digital', 'Digital+Print' ,Subscriber)) as Subscriber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 13:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429992#M160286</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2012-09-21T13:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing NULL Value to a specific value in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429993#M160287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/mayilvahanan" id="jive-887781616231511626014" style="background-color: #d6f5b9; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;Ramasamy&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. I found what I was looking for with your idea. Didn't try the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429993#M160287</guid>
      <dc:creator />
      <dc:date>2012-09-21T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing NULL Value to a specific value in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429994#M160288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I do not think that was a correct answer.&lt;/P&gt;&lt;P&gt;You can not determine a null value by using&amp;nbsp; &lt;STRONG&gt;&amp;nbsp; if Subscriber='Null'&lt;/STRONG&gt;, you need to use isnull() function.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429994#M160288</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2012-09-21T14:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing NULL Value to a specific value in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429995#M160289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexpanjhc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, you might be right. Infact for now I just tried his "PS" part and it worked. &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>Fri, 21 Sep 2012 14:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-NULL-Value-to-a-specific-value-in-load-statement/m-p/429995#M160289</guid>
      <dc:creator />
      <dc:date>2012-09-21T14:20:39Z</dc:date>
    </item>
  </channel>
</rss>

