<?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: Left Join with script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553454#M687885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact you can create the IntervalMatch table and use it afterwards.&lt;/P&gt;&lt;P&gt;By using this function, you should not have overlapping grades, for example 45000 may belong to several grades.&lt;/P&gt;&lt;P&gt;grade 1 can finish at 45000 but grade2 must begin at 45001 or 45000.01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//SOLUTION 1 : problem, your tables must have very few rows because the first JOIN will create many rows (nb of rows of table 1 x nb of rows of table 2). But it is easy to understand. First you do a JOIN (with a lot of rows), after that you create the real table with a WHERE statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;EmpCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;EmpName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;EmpSurname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalaryGrade&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// SOLUTION 2: with the IntervalMatch that populates a temp_tableC, that is used for the join with TableA&lt;/P&gt;&lt;P&gt;But you still don't have what you wanted first. I can do a secondary JOIN to get the SalaryGrade (I use the XX field I have create to do the JOIN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableC&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INTERVALMATCH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEFT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '-'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;XX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableC&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEFT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalaryGrade&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '-'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;XX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableC&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;field&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;XX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2013 14:38:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-10T14:38:41Z</dc:date>
    <item>
      <title>Left Outer Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553451#M687882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can anyone help me!&lt;/P&gt;&lt;P&gt;I have to transate the simple sql statement:&lt;/P&gt;&lt;P&gt;Select A.*, B.SalaryGrade&lt;/P&gt;&lt;P&gt;from A Left outer join B&lt;/P&gt;&lt;P&gt;on a.Salary between B.MinSG and b:MaxSG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try with "IntervalMatch" but i'm not able to have the final result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simplifying I have table A:&lt;/P&gt;&lt;P&gt;EmpCode, EmpName, EmpSurname, Year, Month, GrossSalary&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 1, 45000&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 2, 45000&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 3, 50000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the Table B:&lt;/P&gt;&lt;P&gt;SalaryGrade, MinSG, MaxSG&lt;/P&gt;&lt;P&gt;Grade 01, 30000, 40000&lt;/P&gt;&lt;P&gt;Grade 02, 40000, 45000&lt;/P&gt;&lt;P&gt;Grade 03, 45000, 55000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want have the table C like this:&lt;/P&gt;&lt;P&gt;EmpCode, EmpName, EmpSurname, Year, Month, GrossSalary, SalaryGrade&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 1, 45000, Grade 02&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 2, 45000, Grade 02&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 3, 50000, Grade 03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 13:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553451#M687882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T13:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553452#M687883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dario &lt;/P&gt;&lt;P&gt;You better to use Intevelmatch() function here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SalaryGrade, MinSG, MaxSG&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Grade 01, 30000, 40000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Grade 02, 40000, 45000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Grade 03, 45000, 55000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table A:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EmpCode, EmpName, EmpSurname, Year, Month, GrossSalary&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;0000001, xxxxx, yyyyyy, 2013, 1, 45000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;0000001, xxxxx, yyyyyy, 2013, 2, 45000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;0000001, xxxxx, yyyyyy, 2013, 3, 50000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table C:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IntervalMatch(GrossSalary) Load MinSG,MaxSg resident Table B;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope you can get with this ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 13:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553452#M687883</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2013-12-10T13:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553453#M687884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasi,&lt;/P&gt;&lt;P&gt;thank for you reply but i don't want have two table with a link. I want have only one table.&lt;/P&gt;&lt;P&gt;I have just try this solution &lt;/P&gt;&lt;P&gt;and don't work fine GrossSalary 45000 is Grade02 and Grade03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;load * inline &lt;/P&gt;&lt;P&gt;[EmpCode, EmpName, EmpSurname, Year, Month, GrossSalary&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 1, 45000&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 2, 45000&lt;/P&gt;&lt;P&gt;0000001, xxxxx, yyyyyy, 2013, 3, 50000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[SalaryGrade, MinSG, MaxSG&lt;/P&gt;&lt;P&gt;Grade 01, 30000, 40000&lt;/P&gt;&lt;P&gt;Grade 02, 40000, 45000&lt;/P&gt;&lt;P&gt;Grade 03, 45000, 55000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:&lt;/P&gt;&lt;P&gt;IntervalMatch(GrossSalary) Load MinSG, MaxSG resident B;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Immagine.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50259_Immagine.png" style="width: 620px; height: 80px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 14:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553453#M687884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553454#M687885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact you can create the IntervalMatch table and use it afterwards.&lt;/P&gt;&lt;P&gt;By using this function, you should not have overlapping grades, for example 45000 may belong to several grades.&lt;/P&gt;&lt;P&gt;grade 1 can finish at 45000 but grade2 must begin at 45001 or 45000.01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//SOLUTION 1 : problem, your tables must have very few rows because the first JOIN will create many rows (nb of rows of table 1 x nb of rows of table 2). But it is easy to understand. First you do a JOIN (with a lot of rows), after that you create the real table with a WHERE statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;EmpCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;EmpName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;EmpSurname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalaryGrade&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// SOLUTION 2: with the IntervalMatch that populates a temp_tableC, that is used for the join with TableA&lt;/P&gt;&lt;P&gt;But you still don't have what you wanted first. I can do a secondary JOIN to get the SalaryGrade (I use the XX field I have create to do the JOIN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableC&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INTERVALMATCH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEFT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;GrossSalary&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '-'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;XX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableC&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEFT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableA&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SalaryGrade&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MinSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '-'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MaxSG&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;XX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Temp_TableC&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;field&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;XX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 14:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553454#M687885</guid>
      <dc:creator />
      <dc:date>2013-12-10T14:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553455#M687886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aunez,&lt;/P&gt;&lt;P&gt;thank for your help.&lt;/P&gt;&lt;P&gt;I prefer the first solution (it's most heavy&amp;nbsp; for the machine) but i can have a contiguos range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 14:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553455#M687886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T14:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553456#M687887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that the first solution is an inner join and not a left join ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 15:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553456#M687887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T15:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553457#M687888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dario,&lt;/P&gt;&lt;P&gt;In fact, there is no common fields (so inner JOIN ???, yes, that is the default keyword).&lt;/P&gt;&lt;P&gt;That is why you will get a large table: nb of rows of A&amp;nbsp; X nb of rows of Table B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get your result, please check the answer as correct for other people looking for the same solution.&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 07:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553457#M687888</guid>
      <dc:creator />
      <dc:date>2013-12-11T07:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Left Outer Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553458#M687889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aunez,&lt;/P&gt;&lt;P&gt;In the title I had forgotten the word Outer, so I need to do a left outer join.&lt;/P&gt;&lt;P&gt;The first solution do a perfect LEFT JOIN,&amp;nbsp; but if there are records in table A that have have values ​​outside the range of Table B, these records are omitted in the resulting table C.&lt;/P&gt;&lt;P&gt;In the second solution is the problem of contiguity, I can't know the number of decimal that are upload by excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To this the answer does not satisfy the requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 09:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553458#M687889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-11T09:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Left Outer Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553459#M687890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should have all possible intervals, if not some rows will be lost. You could create an extra one: 50000 to 100 millions to be sure to catch everyone&lt;/P&gt;&lt;P&gt;These intervals must not overlap because you will get a salary belonging to several intervals. Not very good, I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a trick I have seen in HIC's post: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4310"&gt;http://community.qlik.com/docs/DOC-4310&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable with a very small number:&lt;/P&gt;&lt;P&gt;vEpsilon=pow(2, -27)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a number belonging to 2 intervals, like 45000, you can let this boundary as it is for one, and do this boundary - (minus) vEpsilon for the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 09:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553459#M687890</guid>
      <dc:creator />
      <dc:date>2013-12-11T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Left Outer Join with script</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553460#M687891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, your solution is working.&lt;/P&gt;&lt;P&gt;I have modified the first solution and now it work like a left outer join, but it's not performant and not elegant. &lt;/P&gt;&lt;P&gt;It's incredible that it's impossible make a "Left outer join" in the script using to load data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 13:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Outer-Join-with-script/m-p/553460#M687891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-11T13:27:56Z</dc:date>
    </item>
  </channel>
</rss>

