<?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 Why is this Right Join not working ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954743#M78737</link>
    <description>&lt;P&gt;I don't understand why the joins below are not working properly.&lt;BR /&gt;Here are the 3 tables I'm using with the expected and actual results, and the code section below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_0-1657640746156.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83975i14F8C7BA7DF5EF1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_0-1657640746156.png" alt="Derek_T_0-1657640746156.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_1-1657640756483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83976i025DF68BFFBBEDE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_1-1657640756483.png" alt="Derek_T_1-1657640756483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_2-1657640766218.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83977i4BD0DAA85EB172C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_2-1657640766218.png" alt="Derek_T_2-1657640766218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_3-1657640787057.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83978i7B155836035BA9A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_3-1657640787057.png" alt="Derek_T_3-1657640787057.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_4-1657640794871.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83979iD304B866F84AB9A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_4-1657640794871.png" alt="Derek_T_4-1657640794871.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is the code and how the table are joined together:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Resulting_Table:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; msn,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; operator&lt;BR /&gt;Resident Table1;&lt;/P&gt;
&lt;P&gt;Left Join &lt;BR /&gt;LOAD Distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; msn,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Date&lt;BR /&gt;Resident Table2;&lt;/P&gt;
&lt;P&gt;Right Join &lt;BR /&gt;LOAD Distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Date&lt;BR /&gt;Resident Calendar;&lt;/P&gt;
&lt;P&gt;By the "law of Join" the last Right Join should keep all the entries in Calendar table and just report the matching entries in the previous table. But I don't obtain the expected results, in fact I get the same results if I comment the Right Join section.&lt;BR /&gt;&lt;BR /&gt;PS: Just in case I've done the same thing by joining the first 2 tables in a "temp" table and use that temp table to join with the calendar but the results is still the same.&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 15:52:43 GMT</pubDate>
    <dc:creator>Derek_T</dc:creator>
    <dc:date>2022-07-12T15:52:43Z</dc:date>
    <item>
      <title>Why is this Right Join not working ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954743#M78737</link>
      <description>&lt;P&gt;I don't understand why the joins below are not working properly.&lt;BR /&gt;Here are the 3 tables I'm using with the expected and actual results, and the code section below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_0-1657640746156.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83975i14F8C7BA7DF5EF1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_0-1657640746156.png" alt="Derek_T_0-1657640746156.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_1-1657640756483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83976i025DF68BFFBBEDE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_1-1657640756483.png" alt="Derek_T_1-1657640756483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_2-1657640766218.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83977i4BD0DAA85EB172C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_2-1657640766218.png" alt="Derek_T_2-1657640766218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_3-1657640787057.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83978i7B155836035BA9A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_3-1657640787057.png" alt="Derek_T_3-1657640787057.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Derek_T_4-1657640794871.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83979iD304B866F84AB9A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Derek_T_4-1657640794871.png" alt="Derek_T_4-1657640794871.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is the code and how the table are joined together:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Resulting_Table:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; msn,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; operator&lt;BR /&gt;Resident Table1;&lt;/P&gt;
&lt;P&gt;Left Join &lt;BR /&gt;LOAD Distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; msn,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Date&lt;BR /&gt;Resident Table2;&lt;/P&gt;
&lt;P&gt;Right Join &lt;BR /&gt;LOAD Distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Date&lt;BR /&gt;Resident Calendar;&lt;/P&gt;
&lt;P&gt;By the "law of Join" the last Right Join should keep all the entries in Calendar table and just report the matching entries in the previous table. But I don't obtain the expected results, in fact I get the same results if I comment the Right Join section.&lt;BR /&gt;&lt;BR /&gt;PS: Just in case I've done the same thing by joining the first 2 tables in a "temp" table and use that temp table to join with the calendar but the results is still the same.&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 15:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954743#M78737</guid>
      <dc:creator>Derek_T</dc:creator>
      <dc:date>2022-07-12T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this Right Join not working ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954780#M78742</link>
      <description>&lt;P&gt;Your expected result is what I get when I run your code, replacing residents with inlines, other than it includes 01-01 (which I think you mistakenly left out):&lt;/P&gt;
&lt;P&gt;Resulting_Table:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;msn,&lt;BR /&gt;operator&lt;BR /&gt;inline [&lt;BR /&gt;msn, operator&lt;BR /&gt;1, A&lt;BR /&gt;2, B&lt;BR /&gt;3, B&lt;BR /&gt;4, C];&lt;/P&gt;
&lt;P&gt;Left Join&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;msn,&lt;BR /&gt;Date&lt;BR /&gt;inline [&lt;BR /&gt;msn, Date&lt;BR /&gt;1, 5&lt;BR /&gt;2, 10&lt;BR /&gt;3, 15&lt;BR /&gt;4, 20&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Right Join&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;Date&lt;BR /&gt;INLINE [&lt;BR /&gt;Date&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;5&lt;BR /&gt;6&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Or_0-1657645525880.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83983iE905DFBED28F1E43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Or_0-1657645525880.png" alt="Or_0-1657645525880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Possibly the issue is that you didn't drop the original resident tables?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 17:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954780#M78742</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-12T17:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this Right Join not working ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954834#M78745</link>
      <description>&lt;P&gt;I cannot drop the resident table unfortunately, they are part of the data model. I'm surprised that this play a role I have other tables build along the same line and they work it's just this one I don't get where the issue is coming from&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 19:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954834#M78745</guid>
      <dc:creator>Derek_T</dc:creator>
      <dc:date>2022-07-12T19:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this Right Join not working ?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954904#M78752</link>
      <description>&lt;P&gt;If your resident tables are still there, then you're seeing the values from those tables, not the values from your new left/right joined tables (or rather, you're seeing the combination).&amp;nbsp; In the below I've only loaded the first table as resident (and kept the original) but in your case it's actually all three. &lt;/P&gt;
&lt;P&gt;ResidentTable:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;msn,&lt;BR /&gt;operator&lt;BR /&gt;inline [&lt;BR /&gt;msn, operator&lt;BR /&gt;1, A&lt;BR /&gt;2, B&lt;BR /&gt;3, B&lt;BR /&gt;4, C];&lt;/P&gt;
&lt;P&gt;SecondTable:&lt;BR /&gt;NoConcatenate Load * Resident ResidentTable;&lt;/P&gt;
&lt;P&gt;Left Join&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;msn,&lt;BR /&gt;Date&lt;BR /&gt;inline [&lt;BR /&gt;msn, Date&lt;BR /&gt;1, 5&lt;BR /&gt;2, 10&lt;BR /&gt;3, 15&lt;BR /&gt;4, 20&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Right Join&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;Date&lt;BR /&gt;INLINE [&lt;BR /&gt;Date&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;5&lt;BR /&gt;6&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Or_0-1657661658030.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84014i766B585253161DC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Or_0-1657661658030.png" alt="Or_0-1657661658030.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 21:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-Right-Join-not-working/m-p/1954904#M78752</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-12T21:34:47Z</dc:date>
    </item>
  </channel>
</rss>

