<?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 handle nulls caused due to table association? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527925#M107470</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/3514"&gt;@Sivapriya_d&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can solve this issue with 2 ways:&lt;BR /&gt;&lt;BR /&gt;Creating a measure instead a dimension in your table with this code below:&lt;/P&gt;&lt;P&gt;Coalesce(Department, 'No Departament')&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="savioricardog_1-1755716171326.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183042iA86BBAB6C0DDC3B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="savioricardog_1-1755716171326.png" alt="savioricardog_1-1755716171326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or solve this issue in your script with this code below:&lt;/P&gt;&lt;DIV&gt;A:&lt;/DIV&gt;&lt;DIV&gt;Load * Inline [&lt;/DIV&gt;&lt;DIV&gt;ID,Name&lt;/DIV&gt;&lt;DIV&gt;1,xx&lt;/DIV&gt;&lt;DIV&gt;2,yy&lt;/DIV&gt;&lt;DIV&gt;3,zz&lt;/DIV&gt;&lt;DIV&gt;4,aa&lt;/DIV&gt;&lt;DIV&gt;];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;left Join(A)&lt;/DIV&gt;&lt;DIV&gt;Load * Inline [&lt;/DIV&gt;&lt;DIV&gt;ID,Department&lt;/DIV&gt;&lt;DIV&gt;1,Dept1&lt;/DIV&gt;&lt;DIV&gt;2,Dept2&lt;/DIV&gt;&lt;DIV&gt;3,Dept3&lt;/DIV&gt;&lt;DIV&gt;];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;A_B:&lt;/DIV&gt;&lt;DIV&gt;load&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Coalesce(Department, 'No Departament') as Departament_Transform&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;resident A;&lt;/DIV&gt;&lt;DIV&gt;Drop table A;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="savioricardog_0-1755715829342.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183041i66A304D0DE1BABBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="savioricardog_0-1755715829342.png" alt="savioricardog_0-1755715829342.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 18:58:03 GMT</pubDate>
    <dc:creator>savioricardog</dc:creator>
    <dc:date>2025-08-20T18:58:03Z</dc:date>
    <item>
      <title>How to handle nulls caused due to table association?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527890#M107456</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to handle the null in the front end. Please refer below example.&lt;/P&gt;&lt;P&gt;A:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;ID,Name&lt;BR /&gt;1,xx&lt;BR /&gt;2,yy&lt;BR /&gt;3,zz&lt;BR /&gt;4,aa&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;B:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;ID,Department&lt;BR /&gt;1,Dept1&lt;BR /&gt;2,Dept2&lt;BR /&gt;3,Dept3&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;My output table :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sivapriya_d_0-1755701802082.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183034iDC222BBF3E405420/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sivapriya_d_0-1755701802082.png" alt="Sivapriya_d_0-1755701802082.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For ID - 4 instead of null, I would like to show no department. I tried below options, but doesn't help&lt;BR /&gt;=IF(Isnull(Department) or Len(trim(Department))=0, 'No Department',Department)&lt;BR /&gt;&lt;BR /&gt;=Coalesce(Department,'No Department')&lt;BR /&gt;&lt;BR /&gt;Please let me know how this can be solved ? . Note: I dont want to join the tables.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 15:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527890#M107456</guid>
      <dc:creator>Sivapriya_d</dc:creator>
      <dc:date>2025-08-20T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle nulls caused due to table association?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527891#M107457</link>
      <description>&lt;P&gt;=Aggr(IF(IsNull(Department) or Len(Trim(Department)) = 0, 'UNKNOWN', Department),Department,ID,Name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Aggr(IF(IsNull(Department), 'UNKNOWN', Department),ID,Name)&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 15:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527891#M107457</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2025-08-20T15:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle nulls caused due to table association?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527913#M107465</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Alt(Department, 'No Department')&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;=If(Len(Trim(Department))=0, 'No Department', Department)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 18:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527913#M107465</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-08-20T18:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle nulls caused due to table association?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527923#M107469</link>
      <description>&lt;P&gt;To create a new table B with the ids that are not in table A:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;A:
Load * Inline [
ID,Name
1,xx
2,yy
3,zz
4,aa
];

B:
Load * Inline [
ID,Department
1,Dept1
2,Dept2
3,Dept3
];

C:
LOAD 'temp' as tbl, ID
RESIDENT A;
LEFT JOIN 
LOAD 'temp' as tbl, ID, Department
RESIDENT B;

New_B:
NoConcatenate
LOAD ID, Coalesce(Department, 'UNKNOWN') as Department
RESIDENT C;

DROP TABLES B, C;

EXIT SCRIPT;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 18:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527923#M107469</guid>
      <dc:creator>adilio_silva</dc:creator>
      <dc:date>2025-08-20T18:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle nulls caused due to table association?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527925#M107470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/3514"&gt;@Sivapriya_d&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can solve this issue with 2 ways:&lt;BR /&gt;&lt;BR /&gt;Creating a measure instead a dimension in your table with this code below:&lt;/P&gt;&lt;P&gt;Coalesce(Department, 'No Departament')&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="savioricardog_1-1755716171326.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183042iA86BBAB6C0DDC3B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="savioricardog_1-1755716171326.png" alt="savioricardog_1-1755716171326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or solve this issue in your script with this code below:&lt;/P&gt;&lt;DIV&gt;A:&lt;/DIV&gt;&lt;DIV&gt;Load * Inline [&lt;/DIV&gt;&lt;DIV&gt;ID,Name&lt;/DIV&gt;&lt;DIV&gt;1,xx&lt;/DIV&gt;&lt;DIV&gt;2,yy&lt;/DIV&gt;&lt;DIV&gt;3,zz&lt;/DIV&gt;&lt;DIV&gt;4,aa&lt;/DIV&gt;&lt;DIV&gt;];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;left Join(A)&lt;/DIV&gt;&lt;DIV&gt;Load * Inline [&lt;/DIV&gt;&lt;DIV&gt;ID,Department&lt;/DIV&gt;&lt;DIV&gt;1,Dept1&lt;/DIV&gt;&lt;DIV&gt;2,Dept2&lt;/DIV&gt;&lt;DIV&gt;3,Dept3&lt;/DIV&gt;&lt;DIV&gt;];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;A_B:&lt;/DIV&gt;&lt;DIV&gt;load&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Coalesce(Department, 'No Departament') as Departament_Transform&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;resident A;&lt;/DIV&gt;&lt;DIV&gt;Drop table A;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="savioricardog_0-1755715829342.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183041i66A304D0DE1BABBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="savioricardog_0-1755715829342.png" alt="savioricardog_0-1755715829342.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 18:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2527925#M107470</guid>
      <dc:creator>savioricardog</dc:creator>
      <dc:date>2025-08-20T18:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle nulls caused due to table association?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2528006#M107476</link>
      <description>&lt;P&gt;NULL isn't equally to an error else it's a valid information. This means it mustn't mandatory be replaced else only if there are special needs to access or count them. If so - it should be done within the data-model.&lt;/P&gt;&lt;P&gt;In your case it would mean to populate the missing data - preferable by adding them per concatenate to the target, for example with something like this:&lt;/P&gt;&lt;P&gt;t1: load * from X;&lt;/P&gt;&lt;P&gt;t2: load *, ID as Check from Y;&lt;/P&gt;&lt;P&gt;concatenate(t2) load ID, 'missing' as Department&lt;BR /&gt;resident t1 where not exists(Check, ID);&lt;BR /&gt;drop fields Check;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 09:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-handle-nulls-caused-due-to-table-association/m-p/2528006#M107476</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-08-21T09:21:22Z</dc:date>
    </item>
  </channel>
</rss>

