<?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 Link Table issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/978444#M334184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 fact tables (Trades and Orders) that I'm trying to combine via a link table. There are a few common fields which I used to build a key that will link them, but one common field, the Order ID, has more values in the Trades table than the Orders table. As a result, when linking them, only the Order IDs that are common to &lt;STRONG style="text-decoration: underline;"&gt;both&lt;/STRONG&gt; are showing up. How do I ensure that the other Order IDs are included?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trades:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;autonumberhash256(OrderID,Date) as Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orders:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;autonumberhash256(OrderID, Date) as Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;resident tradestable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;resident orders;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 07:11:41 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2015-08-24T07:11:41Z</dc:date>
    <item>
      <title>Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/978444#M334184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 fact tables (Trades and Orders) that I'm trying to combine via a link table. There are a few common fields which I used to build a key that will link them, but one common field, the Order ID, has more values in the Trades table than the Orders table. As a result, when linking them, only the Order IDs that are common to &lt;STRONG style="text-decoration: underline;"&gt;both&lt;/STRONG&gt; are showing up. How do I ensure that the other Order IDs are included?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trades:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;autonumberhash256(OrderID,Date) as Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orders:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;autonumberhash256(OrderID, Date) as Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;resident tradestable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;resident orders;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/978444#M334184</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-08-24T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/978445#M334185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;One trade can be one or more orders. But any particular order belongs to only one trade. Right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need a link table when you have a one-to-many association as it seems like you will have here. But if you really want you can create one - although it is seldom advisable to create link tables that you can avoid when using QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your problem how to visualize it in a Pivot or Straight Table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/978445#M334185</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-08-24T07:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/978446#M334186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌, the relationship is many (Orders) to one (Trades) yes. The issue lies in the fact that if an OrderID exists in Trades, but doesn't exist in Orders, it's completely excluded from the loaded data. The link table is only showing Order IDs which are common to both. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it mean I should do a left join on Key (with Trades being on left) in order to show all Order IDs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/978446#M334186</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-08-24T07:26:58Z</dc:date>
    </item>
  </channel>
</rss>

