<?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 How to replace missing values with a string value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575757#M741302</link>
    <description>&lt;P&gt;Hi Qlik community,&lt;/P&gt;&lt;P&gt;Currently I'm working on a project which requires to filter our customerbase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We linked specific labels to our customer key (Debiteur_Key)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Table.JPG" style="width: 98px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11300i9D4947B86B3D8B6D/image-size/small?v=v2&amp;amp;px=200" role="button" title="Table.JPG" alt="Table.JPG" /&gt;&lt;/span&gt;I want to replace the '-' with 'None Specified' value. In order to filter exclusively between customer groups.&lt;/P&gt;&lt;P&gt;Currently my script looks like this:&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;WFS_WTlabel:&lt;BR /&gt;LOAD Debiteur_Key,&lt;BR /&gt;BedrijfType as BedrijfsTypeKlant&lt;BR /&gt;FROM&lt;BR /&gt;[TradevsWF.xlsx]&lt;BR /&gt;(xxxx);&lt;/P&gt;&lt;P&gt;WTRADEFILTER:&lt;BR /&gt;LOAD&lt;BR /&gt;Debiteur_Key,&lt;BR /&gt;if(Len(Trim(BedrijfsTypeKlant))&amp;gt;0, BedrijfsTypeKlant, 'None Specified') as WTfilter&lt;/P&gt;&lt;P&gt;Resident WFS_WTlabel;&lt;/P&gt;&lt;P&gt;Drop Table WFS_WTlabel;&lt;/P&gt;&lt;P&gt;But this is not providing me the desired result...&lt;/P&gt;&lt;P&gt;Can someone help me? Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>thymenkristen</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to replace missing values with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575757#M741302</link>
      <description>&lt;P&gt;Hi Qlik community,&lt;/P&gt;&lt;P&gt;Currently I'm working on a project which requires to filter our customerbase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We linked specific labels to our customer key (Debiteur_Key)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Table.JPG" style="width: 98px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11300i9D4947B86B3D8B6D/image-size/small?v=v2&amp;amp;px=200" role="button" title="Table.JPG" alt="Table.JPG" /&gt;&lt;/span&gt;I want to replace the '-' with 'None Specified' value. In order to filter exclusively between customer groups.&lt;/P&gt;&lt;P&gt;Currently my script looks like this:&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;WFS_WTlabel:&lt;BR /&gt;LOAD Debiteur_Key,&lt;BR /&gt;BedrijfType as BedrijfsTypeKlant&lt;BR /&gt;FROM&lt;BR /&gt;[TradevsWF.xlsx]&lt;BR /&gt;(xxxx);&lt;/P&gt;&lt;P&gt;WTRADEFILTER:&lt;BR /&gt;LOAD&lt;BR /&gt;Debiteur_Key,&lt;BR /&gt;if(Len(Trim(BedrijfsTypeKlant))&amp;gt;0, BedrijfsTypeKlant, 'None Specified') as WTfilter&lt;/P&gt;&lt;P&gt;Resident WFS_WTlabel;&lt;/P&gt;&lt;P&gt;Drop Table WFS_WTlabel;&lt;/P&gt;&lt;P&gt;But this is not providing me the desired result...&lt;/P&gt;&lt;P&gt;Can someone help me? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575757#M741302</guid>
      <dc:creator>thymenkristen</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace missing values with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575764#M741303</link>
      <description>&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;WFS_WTlabel:&lt;BR /&gt;LOAD Debiteur_Key,&lt;BR /&gt;BedrijfType as BedrijfsTypeKlant&lt;BR /&gt;FROM&lt;BR /&gt;[TradevsWF.xlsx]&lt;BR /&gt;(xxxx);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;NullAsValue *; SET NullValue = 'None Specified';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;WTRADEFILTER:&lt;BR /&gt;LOAD&lt;BR /&gt;Debiteur_Key,&lt;BR /&gt;BedrijfsTypeKlant as WTfilter&lt;/P&gt;&lt;P&gt;Resident WFS_WTlabel;&lt;/P&gt;&lt;P&gt;Drop Table WFS_WTlabel;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;This works for all following Fields:&lt;/P&gt;&lt;P&gt;NullAsValue *; SET NullValue = ‘&amp;lt;NULL&amp;gt;’&lt;/P&gt;&lt;P&gt;This will only effect your desired field:&lt;/P&gt;&lt;P&gt;NullAsValue BedrijfsTypeKlant;SET NullValue = ‘&amp;lt;NULL&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 08:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575764#M741303</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2019-05-02T08:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace missing values with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575769#M741304</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;But still nothing is happening...&lt;/P&gt;&lt;P&gt;I get the same output..&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 08:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575769#M741304</guid>
      <dc:creator>thymenkristen</dc:creator>
      <dc:date>2019-05-02T08:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace missing values with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575771#M741305</link>
      <description>&lt;P&gt;then i think this are not real NULL Values.&lt;/P&gt;&lt;P&gt;Please check the values in Excel.&lt;/P&gt;&lt;P&gt;Maybe this line are already in Excel like "-"&lt;/P&gt;&lt;P&gt;then you can use:&lt;/P&gt;&lt;P&gt;if(trim(FIELD)='-', 'None Specified', FIELD) as FIELD&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 08:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575771#M741305</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2019-05-02T08:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace missing values with a string value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575778#M741307</link>
      <description>&lt;P&gt;Thanks Tim, you made think..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i found the solution;&lt;/P&gt;&lt;P&gt;My initial if(len( statement worked, but first i had to left_join the data and then reload the script.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 08:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-missing-values-with-a-string-value/m-p/1575778#M741307</guid>
      <dc:creator>thymenkristen</dc:creator>
      <dc:date>2019-05-02T08:53:00Z</dc:date>
    </item>
  </channel>
</rss>

