<?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: Connecting data sources with missing entries in fact table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-data-sources-with-missing-entries-in-fact-table/m-p/1439405#M610413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I would just concatenate (union in sql) both tables - it's a very simple approach but it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 15:59:00 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-12-06T15:59:00Z</dc:date>
    <item>
      <title>Connecting data sources with missing entries in fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-data-sources-with-missing-entries-in-fact-table/m-p/1439403#M610411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several tables and my maintable is a classical fact-table with the sales for several fields which contain the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date (timestamp) | &lt;SPAN style="color: #99cc00;"&gt;Date (Month)&lt;/SPAN&gt; | &lt;SPAN style="color: #3366ff;"&gt;store&lt;/SPAN&gt; | &lt;SPAN style="color: #ffcc00;"&gt;Item_ID&amp;amp;Item_Color&lt;/SPAN&gt; | &lt;SPAN style="color: purple;"&gt;Item_Size&lt;/SPAN&gt; | Sales Volume ... and many more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course there is not a sale in every store for every item/color/size combination per month - and this is where my problem starts.&lt;/P&gt;&lt;P&gt;I want to link another table that contains the monthly stock per item/color/size for every store - all combinations are filled here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #99cc00;"&gt;Date (Month)&lt;/SPAN&gt; | &lt;SPAN style="color: blue;"&gt;store&lt;/SPAN&gt; | &lt;SPAN style="color: #ffcc00;"&gt;Item_ID&amp;amp;Item_Color&lt;/SPAN&gt; | &lt;SPAN style="color: #993366;"&gt;Item_Size&lt;/SPAN&gt; | &lt;SPAN style="text-decoration: underline;"&gt;Available Stock&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to link the tables over a selfmade key, because otherwise I get a huuuuuge synthetic Key table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact: &lt;SPAN style="color: #99cc00;"&gt;Month&lt;/SPAN&gt;&amp;amp;'_'&amp;amp;&lt;SPAN style="color: #0000ff;"&gt;Store&lt;/SPAN&gt;&amp;amp;'_'&amp;amp;&lt;SPAN style="color: #ffcc00;"&gt;Item_ID&amp;amp;Item_Color&lt;/SPAN&gt;&amp;amp;'_'&amp;amp;&lt;SPAN style="color: #993366;"&gt;Item_Size&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - some combinations are missing (no sales there)&lt;/P&gt;&lt;P&gt;Stock: &lt;SPAN style="color: #99cc00;"&gt;Month&lt;/SPAN&gt;&amp;amp;'_'&amp;amp;&lt;SPAN style="color: #0000ff;"&gt;Store&lt;/SPAN&gt;&amp;amp;'_'&amp;amp;&lt;SPAN style="color: #ffcc00;"&gt;Item_ID&amp;amp;Item_Color&lt;/SPAN&gt;&amp;amp;'_'&amp;amp;&lt;SPAN style="color: #993366;"&gt;Item_Size&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - all combinations are available, because everyone is filled with a stock-quantity or 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of the fact table having missing combinations (half or more) my sum of the available stock in the combined data-model is only half or less as if I load the stock.qvd in a single dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to keep and connect all Available Stock values eventhough they sometimes have no counterpart in the fact table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 14:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-data-sources-with-missing-entries-in-fact-table/m-p/1439403#M610411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting data sources with missing entries in fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-data-sources-with-missing-entries-in-fact-table/m-p/1439404#M610412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are trying to achieve, but do you mean something like a left join?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 15:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-data-sources-with-missing-entries-in-fact-table/m-p/1439404#M610412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T15:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting data sources with missing entries in fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-data-sources-with-missing-entries-in-fact-table/m-p/1439405#M610413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I would just concatenate (union in sql) both tables - it's a very simple approach but it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 15:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-data-sources-with-missing-entries-in-fact-table/m-p/1439405#M610413</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-06T15:59:00Z</dc:date>
    </item>
  </channel>
</rss>

