<?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 test if a field has value or is null (not linked)? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518548#M37063</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MapValues:
Mapping
LOAD 
	Name,
	Name1
Inline [
Name, Name1
A,
B, Sample
];


Table1:
load
	Name,
	Name1,
	if(isnull(Name1) or trim(Name1)='','True','False') as Flag_IsNull;
LOAD 
	Name,
 	ApplyMap('MapValues',Name,null()) as Name1
Inline [
Name
A
B
C
D
];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And the result is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-12-10 11_51_26-QlikView x64 - Copia del rivenditore - [C__Users_denardm1_Downloads_test.qvw_].png" style="width: 163px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1886iDC5F7BA9928E95FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-12-10 11_51_26-QlikView x64 - Copia del rivenditore - [C__Users_denardm1_Downloads_test.qvw_].png" alt="2018-12-10 11_51_26-QlikView x64 - Copia del rivenditore - [C__Users_denardm1_Downloads_test.qvw_].png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 10:53:13 GMT</pubDate>
    <dc:creator>micheledenardi</dc:creator>
    <dc:date>2018-12-10T10:53:13Z</dc:date>
    <item>
      <title>How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518458#M37056</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.png" style="width: 957px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1870i6B568F4620DA6566/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.png" alt="test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this problem.&lt;/P&gt;&lt;P&gt;I have table A with field 'CodiceArticolo' and table B with fields 'CodiceArticolo' and 'Articolo'.&lt;/P&gt;&lt;P&gt;In a visualization of table type (see image), I have do check if 'Articolo' has no value. I tried to use IsNull function but I noticed that it works only if record in table B exists, while if a record linked to that CodiceArticolo doesn't exist in table B (and so I have no value for 'Articolo') IsNull function returns a kind of null value.&lt;/P&gt;&lt;P&gt;How can I do? Does other specific function exist?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 09:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518458#M37056</guid>
      <dc:creator>Alessio</dc:creator>
      <dc:date>2018-12-10T09:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518484#M37057</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try IF(ISNULL(&lt;SPAN&gt;Articolo) OR LEN(Articolo) =0,'T','F')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 09:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518484#M37057</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2018-12-10T09:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518488#M37058</link>
      <description>&lt;P&gt;FIFO :&amp;nbsp; Try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Len(Articolo)&amp;gt;0, 'F', 'T')&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 10:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518488#M37058</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-12-10T10:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518491#M37059</link>
      <description>&lt;P&gt;Thanks but it doesn't work... none of 2 suggestions&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 10:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518491#M37059</guid>
      <dc:creator>Alessio</dc:creator>
      <dc:date>2018-12-10T10:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518496#M37060</link>
      <description>&lt;P&gt;Should work, For my case with sample it is working&lt;/P&gt;&lt;P&gt;Table1:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;Name&lt;BR /&gt;A&lt;BR /&gt;B&lt;BR /&gt;C&lt;BR /&gt;D&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Table2:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;Name, Name1&lt;BR /&gt;A,&lt;BR /&gt;B, Sample&lt;BR /&gt;C, Sample1&lt;BR /&gt;D,&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is your data looks like?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 10:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518496#M37060</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-12-10T10:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518505#M37061</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the script use script below before table A &amp;amp; B&lt;/P&gt;&lt;P&gt;Map_NullValues:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;NULL()&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AS [MapFrom],&lt;/P&gt;&lt;P&gt;'&amp;lt;Unknown&amp;gt;'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AS [MapTo]&lt;/P&gt;&lt;P&gt;AUTOGENERATE (0);&lt;/P&gt;&lt;P&gt;MAP * USING Map_NullValues;&lt;/P&gt;&lt;P&gt;Then in the UI you can then rewrite your expression IF(FieldName = '&lt;SPAN&gt;&amp;lt;Unknown&amp;gt;', 'T','F')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 10:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518505#M37061</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2018-12-10T10:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518511#M37062</link>
      <description>My data look like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table1:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;Name&lt;BR /&gt;A&lt;BR /&gt;B&lt;BR /&gt;C&lt;BR /&gt;D&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Table2:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;Name, Name1&lt;BR /&gt;A,&lt;BR /&gt;B, Sample&lt;BR /&gt;];</description>
      <pubDate>Mon, 10 Dec 2018 10:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518511#M37062</guid>
      <dc:creator>Alessio</dc:creator>
      <dc:date>2018-12-10T10:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to test if a field has value or is null (not linked)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518548#M37063</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MapValues:
Mapping
LOAD 
	Name,
	Name1
Inline [
Name, Name1
A,
B, Sample
];


Table1:
load
	Name,
	Name1,
	if(isnull(Name1) or trim(Name1)='','True','False') as Flag_IsNull;
LOAD 
	Name,
 	ApplyMap('MapValues',Name,null()) as Name1
Inline [
Name
A
B
C
D
];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And the result is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-12-10 11_51_26-QlikView x64 - Copia del rivenditore - [C__Users_denardm1_Downloads_test.qvw_].png" style="width: 163px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1886iDC5F7BA9928E95FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-12-10 11_51_26-QlikView x64 - Copia del rivenditore - [C__Users_denardm1_Downloads_test.qvw_].png" alt="2018-12-10 11_51_26-QlikView x64 - Copia del rivenditore - [C__Users_denardm1_Downloads_test.qvw_].png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 10:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-test-if-a-field-has-value-or-is-null-not-linked/m-p/1518548#M37063</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2018-12-10T10:53:13Z</dc:date>
    </item>
  </channel>
</rss>

