<?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: Handle Null Values as a result from associative engine behavior between tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Handle-Null-Values-as-a-result-from-associative-engine-behavior/m-p/1996366#M82494</link>
    <description>&lt;P&gt;try below calculated dimension&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=aggr(if(Age,Age,'NA'),Customer)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 03:15:16 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-10-25T03:15:16Z</dc:date>
    <item>
      <title>Handle Null Values as a result from associative engine behavior between tables</title>
      <link>https://community.qlik.com/t5/App-Development/Handle-Null-Values-as-a-result-from-associative-engine-behavior/m-p/1996063#M82481</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I am having troubles handling Null values when they are a result of the associative engine between tables.&lt;/P&gt;
&lt;P&gt;For example, I define the following two tables:&lt;/P&gt;
&lt;PRE&gt;Table_Customer:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;ID_Cust , Customer , Age&lt;BR /&gt;01 , Luke , 22&lt;BR /&gt;02 , John , 32&lt;BR /&gt;03 , Marius , 24&lt;BR /&gt;04 , Linda , 30&lt;BR /&gt;];&lt;/PRE&gt;
&lt;PRE&gt;Table_Sales:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;ID , Customer , Value , Country&lt;BR /&gt;004 , Marius , 15, IT&lt;BR /&gt;015 , Luke , 25, ES&lt;BR /&gt;022 , Brenda , 40, IT&lt;BR /&gt;030 , Matt , 20, FR&lt;BR /&gt;];&lt;/PRE&gt;
&lt;P&gt;The Table_Customer holds data about four customers, whereas the Table_Sales holds data about Sales.&amp;nbsp; The tables will be joined together by the Qlik associative engine based on the "Customer" field, which is common between the two tables.&lt;/P&gt;
&lt;P&gt;In the Analyze tab I want to display Customers and Age, however I don't have Age info for all the customers, therefore I get the following result&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tommaso26_0-1666604734916.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91997i2FB14373169A46A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tommaso26_0-1666604734916.png" alt="tommaso26_0-1666604734916.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What I am trying to do is to avoid displaying the null value by defining an arbitrary value in the &lt;STRONG&gt;Data Load Editor&amp;nbsp;&lt;/STRONG&gt;(or example using the&amp;nbsp;&lt;STRONG&gt;NullAsValue&lt;/STRONG&gt; function) as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tommaso26_1-1666604999809.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91999iA26D94F0DCAAB5B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tommaso26_1-1666604999809.png" alt="tommaso26_1-1666604999809.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to define an arbitrary value for a field that comes as a result of the associative engine, without joining the tables together?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 09:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Handle-Null-Values-as-a-result-from-associative-engine-behavior/m-p/1996063#M82481</guid>
      <dc:creator>tommaso26</dc:creator>
      <dc:date>2022-10-24T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Null Values as a result from associative engine behavior between tables</title>
      <link>https://community.qlik.com/t5/App-Development/Handle-Null-Values-as-a-result-from-associative-engine-behavior/m-p/1996081#M82482</link>
      <description>&lt;P&gt;You would have to expression for the Dimension,&lt;/P&gt;
&lt;P&gt;Something like IF(ISNULL(AGE), 'NA', AGE)&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 10:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Handle-Null-Values-as-a-result-from-associative-engine-behavior/m-p/1996081#M82482</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2022-10-24T10:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Null Values as a result from associative engine behavior between tables</title>
      <link>https://community.qlik.com/t5/App-Development/Handle-Null-Values-as-a-result-from-associative-engine-behavior/m-p/1996366#M82494</link>
      <description>&lt;P&gt;try below calculated dimension&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=aggr(if(Age,Age,'NA'),Customer)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 03:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Handle-Null-Values-as-a-result-from-associative-engine-behavior/m-p/1996366#M82494</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-10-25T03:15:16Z</dc:date>
    </item>
  </channel>
</rss>

