<?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 Issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326972#M120317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what i understood from you post is, Qlikview is not able to find the source table i.e.&amp;nbsp; 'Order__c' and 'Productsf_OTR__c' tables on the specified path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the source of you table? are you loading from DB&amp;gt; which DB and what type of connection do you use (OLEDB or ODBC)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, for other ppls. You could do joins with out key between the tables also. Most of the Rolling periods logics has been computed with the above concept (without key b/w the tables) but it is not adviceable to do so.&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;take for example, if we have tabel like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * inline [&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;a&lt;/P&gt;&lt;P&gt;b&lt;/P&gt;&lt;P&gt;c&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on above table there is no key between the table but it would join both the tables and give you cartesian product result as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test,Sales&lt;/P&gt;&lt;P&gt;a ,1&lt;/P&gt;&lt;P&gt;a ,2&lt;/P&gt;&lt;P&gt;a ,3&lt;/P&gt;&lt;P&gt;b ,1&lt;/P&gt;&lt;P&gt;b ,2&lt;/P&gt;&lt;P&gt;b ,3&lt;/P&gt;&lt;P&gt;c ,1&lt;/P&gt;&lt;P&gt;c ,2&lt;/P&gt;&lt;P&gt;c ,3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So conclusion is, you could join both the tables without key, but not advisable and depens on your requirement also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2011 14:18:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-25T14:18:36Z</dc:date>
    <item>
      <title>Join Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326968#M120313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to join two tables: Order__c and Products_OTR__c and using the below fields. When I execute the script it is telling me that Qlikview cant locate the source tables. So basically there is an issue with the expressions.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order_Source_Data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Order__c,&lt;/P&gt;&lt;P&gt;Booked_on_AS400__c,&lt;/P&gt;&lt;P&gt;Rev_Rec__c,&lt;/P&gt;&lt;P&gt;Ship_Date__c,&lt;/P&gt;&lt;P&gt;Total_Order_Amount2__c&lt;/P&gt;&lt;P&gt;From Order__c;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Products_OTR_Source_Data:&lt;/P&gt;&lt;P&gt;Join(Order_Source_Data)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Product_Family__c,&lt;/P&gt;&lt;P&gt;Quantity__c,&lt;/P&gt;&lt;P&gt;Total_Price__c&lt;/P&gt;&lt;P&gt;From Products_OTR__c;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 13:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326968#M120313</guid>
      <dc:creator />
      <dc:date>2011-05-25T13:39:56Z</dc:date>
    </item>
    <item>
      <title>Join Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326969#M120314</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 what you want is to join the data from Order_c and Products_OTR_c, the script is not correct. It should be similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order_Source_Data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Order__c,&lt;/P&gt;&lt;P&gt;Booked_on_AS400__c,&lt;/P&gt;&lt;P&gt;Rev_Rec__c,&lt;/P&gt;&lt;P&gt;Ship_Date__c,&lt;/P&gt;&lt;P&gt;Total_Order_Amount2__c,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CommonField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From Order__c;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Product_Family__c,&lt;/P&gt;&lt;P&gt;Quantity__c,&lt;/P&gt;&lt;P&gt;Total_Price__c,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CommonField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From Products_OTR__c;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND VERY IMPORTANT! you need to have one field in common in both tables Product_OTR_c and Order_c to relate them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 13:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326969#M120314</guid>
      <dc:creator />
      <dc:date>2011-05-25T13:52:22Z</dc:date>
    </item>
    <item>
      <title>Join Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326970#M120315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the tables 'Order__c' and 'Productsf_OTR__c' are from an external source, you should have connected to that source and the tables should exist there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these tables are already loaded in the script prior to the join, use 'Resident' instead of 'From'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 14:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326970#M120315</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-05-25T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326971#M120316</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;Basic thing for Joining is that you should have common fields in both the tables. I see that you dont have them. Hence you cannot join!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess that since you are loading OrderHeaderData..normally it does not have a productID. &lt;BR /&gt;It is always present in the OrderDetailsData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you can do is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;OrderHeader:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load OrderID,&lt;/P&gt;&lt;P&gt;.......,&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;From OrderHeaderTable&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderHeaderDetails:&lt;/P&gt;&lt;P&gt;Leftjoin(OrderHeader)&lt;/P&gt;&lt;P&gt;Load OrderID,&lt;/P&gt;&lt;P&gt;ProductID&lt;/P&gt;&lt;P&gt;.....,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;From OrderHeaderDetailsTable ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you you can attach the ProductTable with the ProductID to this OrderHeaderTable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 14:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326971#M120316</guid>
      <dc:creator />
      <dc:date>2011-05-25T14:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Join Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326972#M120317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what i understood from you post is, Qlikview is not able to find the source table i.e.&amp;nbsp; 'Order__c' and 'Productsf_OTR__c' tables on the specified path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the source of you table? are you loading from DB&amp;gt; which DB and what type of connection do you use (OLEDB or ODBC)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, for other ppls. You could do joins with out key between the tables also. Most of the Rolling periods logics has been computed with the above concept (without key b/w the tables) but it is not adviceable to do so.&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;take for example, if we have tabel like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * inline [&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;a&lt;/P&gt;&lt;P&gt;b&lt;/P&gt;&lt;P&gt;c&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on above table there is no key between the table but it would join both the tables and give you cartesian product result as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test,Sales&lt;/P&gt;&lt;P&gt;a ,1&lt;/P&gt;&lt;P&gt;a ,2&lt;/P&gt;&lt;P&gt;a ,3&lt;/P&gt;&lt;P&gt;b ,1&lt;/P&gt;&lt;P&gt;b ,2&lt;/P&gt;&lt;P&gt;b ,3&lt;/P&gt;&lt;P&gt;c ,1&lt;/P&gt;&lt;P&gt;c ,2&lt;/P&gt;&lt;P&gt;c ,3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So conclusion is, you could join both the tables without key, but not advisable and depens on your requirement also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 14:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326972#M120317</guid>
      <dc:creator />
      <dc:date>2011-05-25T14:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Join Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326973#M120318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's trying to load Salesforce.com tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 14:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issues/m-p/326973#M120318</guid>
      <dc:creator />
      <dc:date>2011-05-25T14:23:21Z</dc:date>
    </item>
  </channel>
</rss>

