<?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: Connecting Tables, Null() Values are missing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050582#M939954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried to solve the Null issue in the listbox is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SET Nullvalue = '';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;NULLASVALUE *;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And while I did this, I noticed that the outer join only works for 2 tables at a time. (It worked for the missing values but only for one join)&amp;nbsp; Maybe it's worth mentioning, that I try to connect data out of three different databases, so that's why I can't join them in SQL directly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did so far is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO&amp;nbsp; [Database A];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE A: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;BR /&gt;id,&lt;/P&gt;&lt;P&gt;a_country,&lt;/P&gt;&lt;P&gt;a_name,&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;from ...&lt;BR /&gt;;&lt;BR /&gt;DISCONNECT; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CONNECT TO [Database B];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN&lt;BR /&gt;TABLE B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;id, &lt;/P&gt;&lt;P&gt;b_city,&lt;/P&gt;&lt;P&gt;b_age,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;DISCONNECT; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO [Database C]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN&lt;BR /&gt;TABLE C:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;id,&lt;/P&gt;&lt;P&gt;c_language,&lt;/P&gt;&lt;P&gt;c_level,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;from...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;DISCONNECT; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to have&amp;nbsp; is:&lt;BR /&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113679_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;(note: this is not how my data looks like, it's just to make the problem clear &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment , it seems like this is not my outcome.&amp;nbsp; &lt;BR /&gt;For example, there would be no Null value for 7 in a_country and a_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the very beginning, I had no join at all. I know that I can use OUTER JOIN(NAME OF TABLE) to specify the table it should join with, because otherwise it is just joining the previous one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I join them all three together so that every id has a value or null() for each field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my problem got clear and I kind of think there should be a simple solution for this, but I couldn't find it yet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 08:55:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-05T08:55:11Z</dc:date>
    <item>
      <title>Connecting Tables, Null() Values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050579#M939951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty much a newbie to QlikView and I was hoping that someone could help me with the issue I have right now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created 3 different tables, each one of them has the column "id" , so that this is the key with which they are connected. Viewing the table structure everything looks fine to me. &lt;BR /&gt;Now, I would expect that Qlik VIew joins the tables, so that for each id, that is missing in one table, NULL would be assigned for the missing values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems as if this is not the case. I have a listbox with a field which is not existent for every user, so I want to have another option in this listbox "unknown" for all NULL() . I used an if expression, which would be:&lt;BR /&gt;=if(isNULL(field_a),'unknown',field_a)&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I also tried the command "JOIN" in the script and it behaved the same way. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I found some articles about MAPPING, but this would assign a value to existent null values caused by a join, correct? In my case, I want them to stay null, I just want to be able to identify them. &lt;BR /&gt;&lt;BR /&gt;I really hope my problem is clear and that someone is able to help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jaqueline&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050579#M939951</guid>
      <dc:creator />
      <dc:date>2016-02-04T11:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting Tables, Null() Values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050580#M939952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I already figured something out. &lt;BR /&gt;What I woul need ideally, is an outer Join on all three tables. &lt;BR /&gt;Is that possible? &lt;BR /&gt;So far, I could only join 2 at a time, so that values keep missing. &lt;/P&gt;&lt;P&gt;I really would appreciate your help.&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>Thu, 04 Feb 2016 18:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050580#M939952</guid>
      <dc:creator />
      <dc:date>2016-02-04T18:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting Tables, Null() Values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050581#M939953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post some sample lines of data and the table you expect to get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to JOIN tables in the script, you can use an&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN (Table) LOAD ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 18:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050581#M939953</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-04T18:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting Tables, Null() Values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050582#M939954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried to solve the Null issue in the listbox is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SET Nullvalue = '';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;NULLASVALUE *;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And while I did this, I noticed that the outer join only works for 2 tables at a time. (It worked for the missing values but only for one join)&amp;nbsp; Maybe it's worth mentioning, that I try to connect data out of three different databases, so that's why I can't join them in SQL directly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did so far is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO&amp;nbsp; [Database A];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE A: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;BR /&gt;id,&lt;/P&gt;&lt;P&gt;a_country,&lt;/P&gt;&lt;P&gt;a_name,&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;from ...&lt;BR /&gt;;&lt;BR /&gt;DISCONNECT; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CONNECT TO [Database B];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN&lt;BR /&gt;TABLE B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;id, &lt;/P&gt;&lt;P&gt;b_city,&lt;/P&gt;&lt;P&gt;b_age,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;DISCONNECT; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO [Database C]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN&lt;BR /&gt;TABLE C:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;id,&lt;/P&gt;&lt;P&gt;c_language,&lt;/P&gt;&lt;P&gt;c_level,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;from...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;DISCONNECT; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to have&amp;nbsp; is:&lt;BR /&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113679_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;(note: this is not how my data looks like, it's just to make the problem clear &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment , it seems like this is not my outcome.&amp;nbsp; &lt;BR /&gt;For example, there would be no Null value for 7 in a_country and a_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the very beginning, I had no join at all. I know that I can use OUTER JOIN(NAME OF TABLE) to specify the table it should join with, because otherwise it is just joining the previous one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I join them all three together so that every id has a value or null() for each field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my problem got clear and I kind of think there should be a simple solution for this, but I couldn't find it yet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 08:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050582#M939954</guid>
      <dc:creator />
      <dc:date>2016-02-05T08:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting Tables, Null() Values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050583#M939955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I narrowed it down to the main issue: &lt;BR /&gt;I have "missing values" , which means that there is not even a record for this, but I need a null() or something else to make it selectable in the listbox (I know, that I can't select null(), but I can use the trick I used before and set the nulls with a value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd appreciate your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaqueline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 16:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050583#M939955</guid>
      <dc:creator />
      <dc:date>2016-02-05T16:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting Tables, Null() Values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050584#M939956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone? I'd be very thankful for any help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 12:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050584#M939956</guid>
      <dc:creator />
      <dc:date>2016-02-09T12:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting Tables, Null() Values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050585#M939957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still not sure what you are talking about. Looking at your image,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, ValueA&lt;/P&gt;&lt;P&gt;1, A&lt;/P&gt;&lt;P&gt;2, B&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, ValueB&lt;/P&gt;&lt;P&gt;2, C&lt;/P&gt;&lt;P&gt;3, D&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; * INLINE [&lt;/P&gt;&lt;P&gt;ID, ValueC&lt;/P&gt;&lt;P&gt;4, E&lt;/P&gt;&lt;P&gt;4, F&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems it replicates your expected result. Or maybe I just don't get what you are expecting here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are missing complete records, look into&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the referenced tech doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-Tables-Null-Values-are-missing/m-p/1050585#M939957</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-09T14:13:38Z</dc:date>
    </item>
  </channel>
</rss>

