<?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: filtering missing values and insert a character string if the condition is met in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976613#M650020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Gysbert ! It was perfect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2015 14:15:33 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2015-09-04T14:15:33Z</dc:date>
    <item>
      <title>filtering missing values and insert a character string if the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976610#M650016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, it's my first time here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading some fields in a dimension table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code as [% Commercial ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name as [Commercial name]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the problem is that there are some missing values in the code field when I'm loading, resulting to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98012_test.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I just want to insert and display 'NA' for this case into my table. I don't know what I should use and how to use it between an If statement (into the load block) or a CASE (into sql block) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 11:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976610#M650016</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2015-09-04T11:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: filtering missing values and insert a character string if the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976611#M650017</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: 13px;"&gt;Try a preceding 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; font-size: 13px;"&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: 13px;"&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; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If( len(trim(Code)),Code, 'NA') Code as [% Commercial ID],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Commercial name];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name as [Commercial name]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 13:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976611#M650017</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-04T13:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: filtering missing values and insert a character string if the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976612#M650018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use NullasValue function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;NullasValue Code;&lt;/P&gt;&lt;P&gt;Set NullValue='NA';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;*;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;Code,&lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976612#M650018</guid>
      <dc:creator>malini_qlikview</dc:creator>
      <dc:date>2015-09-04T14:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: filtering missing values and insert a character string if the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976613#M650020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Gysbert ! It was perfect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976613#M650020</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2015-09-04T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: filtering missing values and insert a character string if the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976614#M650021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Malini ! I tried the solution provided by Gysbert and it's working, I'll try the null value function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-missing-values-and-insert-a-character-string-if-the/m-p/976614#M650021</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2015-09-04T14:17:27Z</dc:date>
    </item>
  </channel>
</rss>

