<?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 Does interval match require adjacent table? (Solved - Join issue) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000597#M82866</link>
    <description>&lt;P&gt;Does interval match require the table to be present immediately before in load script?&lt;/P&gt;
&lt;P&gt;At least Qlik seems to be confused if it is not there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is illustration of two examples&lt;/P&gt;
&lt;P&gt;1) Working example (Period table present immediately before IntervalMatch)&lt;BR /&gt;2) Failed example (The random table placed immediately before Intervalmatch)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Working example (Period table present immediately before IntervalMatch)&lt;/P&gt;
&lt;P&gt;=============================================&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RightMatch modelling" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92920i7BC5D8CEFE938E15/image-size/large?v=v2&amp;amp;px=999" role="button" title="IntervalMatchRight.png" alt="RightMatch modelling" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;RightMatch modelling&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Working:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Date , Hours, WorkedName&lt;BR /&gt;07.01.2022 , 40 , Worker A &lt;BR /&gt;07.02.2022 , 40 , Worker A &lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;AnotherTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;A,B&lt;BR /&gt;x,y&lt;BR /&gt;p,d&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Period:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;From , To , Period&lt;BR /&gt;01.01.2020 , 01.03.2022 , 1&lt;BR /&gt;01.03.2022 , 01.01.2025 , 2&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join (Working) &lt;BR /&gt;Inner Join IntervalMatch ( Date ) &lt;BR /&gt;LOAD From, To&lt;BR /&gt;Resident Period;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Failed example&lt;/P&gt;
&lt;P&gt;======================================================&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatchFailModelling" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92922i154D4383815AFD59/image-size/large?v=v2&amp;amp;px=999" role="button" title="IntervalMatchFailed.png" alt="MatchFailModelling" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MatchFailModelling&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Working:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Date , Hours, WorkedName&lt;BR /&gt;07.01.2022 , 40 , Worker A &lt;BR /&gt;07.02.2022 , 40 , Worker A &lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Period:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;From , To , Period&lt;BR /&gt;01.01.2020 , 01.03.2022 , 1&lt;BR /&gt;01.03.2022 , 01.01.2025 , 2&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;AnotherTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;A,B&lt;BR /&gt;x,y&lt;BR /&gt;p,d&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join (Working) &lt;BR /&gt;Inner Join IntervalMatch ( Date ) &lt;BR /&gt;LOAD From, To&lt;BR /&gt;Resident Period;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2022 13:16:58 GMT</pubDate>
    <dc:creator>oddgeir</dc:creator>
    <dc:date>2022-11-04T13:16:58Z</dc:date>
    <item>
      <title>Does interval match require adjacent table? (Solved - Join issue)</title>
      <link>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000597#M82866</link>
      <description>&lt;P&gt;Does interval match require the table to be present immediately before in load script?&lt;/P&gt;
&lt;P&gt;At least Qlik seems to be confused if it is not there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is illustration of two examples&lt;/P&gt;
&lt;P&gt;1) Working example (Period table present immediately before IntervalMatch)&lt;BR /&gt;2) Failed example (The random table placed immediately before Intervalmatch)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Working example (Period table present immediately before IntervalMatch)&lt;/P&gt;
&lt;P&gt;=============================================&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RightMatch modelling" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92920i7BC5D8CEFE938E15/image-size/large?v=v2&amp;amp;px=999" role="button" title="IntervalMatchRight.png" alt="RightMatch modelling" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;RightMatch modelling&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Working:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Date , Hours, WorkedName&lt;BR /&gt;07.01.2022 , 40 , Worker A &lt;BR /&gt;07.02.2022 , 40 , Worker A &lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;AnotherTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;A,B&lt;BR /&gt;x,y&lt;BR /&gt;p,d&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Period:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;From , To , Period&lt;BR /&gt;01.01.2020 , 01.03.2022 , 1&lt;BR /&gt;01.03.2022 , 01.01.2025 , 2&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join (Working) &lt;BR /&gt;Inner Join IntervalMatch ( Date ) &lt;BR /&gt;LOAD From, To&lt;BR /&gt;Resident Period;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Failed example&lt;/P&gt;
&lt;P&gt;======================================================&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatchFailModelling" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92922i154D4383815AFD59/image-size/large?v=v2&amp;amp;px=999" role="button" title="IntervalMatchFailed.png" alt="MatchFailModelling" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MatchFailModelling&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Working:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Date , Hours, WorkedName&lt;BR /&gt;07.01.2022 , 40 , Worker A &lt;BR /&gt;07.02.2022 , 40 , Worker A &lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Period:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;From , To , Period&lt;BR /&gt;01.01.2020 , 01.03.2022 , 1&lt;BR /&gt;01.03.2022 , 01.01.2025 , 2&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;AnotherTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;A,B&lt;BR /&gt;x,y&lt;BR /&gt;p,d&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join (Working) &lt;BR /&gt;Inner Join IntervalMatch ( Date ) &lt;BR /&gt;LOAD From, To&lt;BR /&gt;Resident Period;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 13:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000597#M82866</guid>
      <dc:creator>oddgeir</dc:creator>
      <dc:date>2022-11-04T13:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Does interval match require adjacent table?</title>
      <link>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000604#M82868</link>
      <description>&lt;P&gt;No, the position of the tables shouldn't matter, as long as they're before the IntervalMatch.&lt;/P&gt;&lt;P&gt;I suggest you check your script again: It (incorrectly) contains TWO joins, where one of them refers to previous table:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Left Join (Working)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Inner Join IntervalMatch"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And - you don't need the join at all.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 10:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000604#M82868</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-11-04T10:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Does interval match require adjacent table?</title>
      <link>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000605#M82869</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's becouse you are using a&amp;nbsp;&lt;SPAN&gt;Left Join (Working) and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Inner Join IntervalMatch ( Date ).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;STRONG&gt;Left Join (Working)&lt;/STRONG&gt; make a join with Working&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;STRONG&gt;Inner Join make &lt;/STRONG&gt;a join with previous table&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think the good script is :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Working:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Date , Hours, WorkedName&lt;BR /&gt;07.01.2022 , 40 , Worker A&lt;BR /&gt;07.02.2022 , 40 , Worker A&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Period:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;From , To , Period&lt;BR /&gt;01.01.2020 , 01.03.2022 , 1&lt;BR /&gt;01.03.2022 , 01.01.2025 , 2&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;AnotherTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;A,B&lt;BR /&gt;x,y&lt;BR /&gt;p,d&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Left Join (Period)&lt;BR /&gt;IntervalMatch ( Date )&lt;BR /&gt;LOAD From, To&lt;BR /&gt;Resident Period;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 10:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000605#M82869</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2022-11-04T10:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Does interval match require adjacent table?</title>
      <link>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000695#M82877</link>
      <description>&lt;P&gt;Thanks a lot (both of you) for pointing me in right direction for my issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess this is something survived from a previous example on Internet which worked for the purpose, and I just haven't dug into the issues of different joins before moving on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 13:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Does-interval-match-require-adjacent-table-Solved-Join-issue/m-p/2000695#M82877</guid>
      <dc:creator>oddgeir</dc:creator>
      <dc:date>2022-11-04T13:14:23Z</dc:date>
    </item>
  </channel>
</rss>

