<?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: Join Tables with Out Loops in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844157#M995683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really want to JOIN columns, then add this to your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LEFT JOIN (OrderDetail)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ActiveTruckNo AS TruckNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveTruckType AS TruckType&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT TruckActive;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to add a Date as a JOIN match field because it seems that the TruckActive table contains entries for trucks that are active on dates/in periods.However, I cannot see which Order field contains the Order Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2015 14:42:53 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-06-29T14:42:53Z</dc:date>
    <item>
      <title>Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844155#M995681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have problem joining two tables, in the below model i have OrderDetail, PeriodDimension and TruckActive. OrderDetail and TruckActive has TruckNo, and TruckActive has TruckType. If i join OrderDetail and TruckActive on TruckNo to get TruckType, it's creating a loop. i have to filter data on Trucktype for both OrderDetail and TruckActive. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 14:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844155#M995681</guid>
      <dc:creator />
      <dc:date>2015-06-29T14:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844156#M995682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your image is not showing all information needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look into&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3178"&gt;Circular References&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 14:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844156#M995682</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-29T14:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844157#M995683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really want to JOIN columns, then add this to your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LEFT JOIN (OrderDetail)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ActiveTruckNo AS TruckNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveTruckType AS TruckType&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT TruckActive;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to add a Date as a JOIN match field because it seems that the TruckActive table contains entries for trucks that are active on dates/in periods.However, I cannot see which Order field contains the Order Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 14:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844157#M995683</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-06-29T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844158#M995684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;As you can see from the Model, OrderDetail Is Joined to OrderHeader on ProNumber and OrderHeader is Joined to Consolidated and Consolidated is Joined to PeriodDimesion. My requirement is to filter data from both&amp;nbsp; TruckActive and OrderDetail based on TruckType. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataModel.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91184_DataModel.PNG" style="height: 495px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 14:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844158#M995684</guid>
      <dc:creator />
      <dc:date>2015-06-29T14:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844159#M995685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to join the tables then you have to use Left Join/Right Join/Inner Join based on the requirement.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Table2)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table2&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 14:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844159#M995685</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-29T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844160#M995687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linking internal tables is not the same as a JOIN, although the effect could be the same. JOINs happen in your Load Script. That's why everyone is suggesting script solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the data model you're after is largely there already. The only problem is that your OrderHeaders are linked to an aggregation table and not to your Period table (or a link table). It is unclear what field you are using to connect OrderHeaders to consolidated data. Can you connect orderheaders straight to the PeriodDimension table and turn it into a link table by adding required dimension values to the different key fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is going to be a bit of a hit/miss story if we cannot get a (optionally reduced) example document to work on. Can you upload oyur qvw in some form or another?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 15:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844160#M995687</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-06-29T15:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844161#M995689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I have attached my document, Can you please take a look! i'm new to Qlikview and tried my best with the data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844161#M995689</guid>
      <dc:creator />
      <dc:date>2015-06-30T14:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Join Tables with Out Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844162#M995690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Missing attachment &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Tables-with-Out-Loops/m-p/844162#M995690</guid>
      <dc:creator />
      <dc:date>2015-06-30T14:38:48Z</dc:date>
    </item>
  </channel>
</rss>

