<?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 Problem with Keys among 4 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Keys-among-4-tables/m-p/321032#M118277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 4 tables:&lt;/P&gt;&lt;P&gt;Budgets&lt;/P&gt;&lt;P&gt;Amounts&lt;/P&gt;&lt;P&gt;Stats&lt;/P&gt;&lt;P&gt;AccountComponents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budgets, Amounts, and Stats each have the same fields AccountID, MonthDT, YearDT, and AccountIDKey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccountIDKey&amp;nbsp; is a concatenation of AccountID, MonthDT, and YearDT.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccountComponets has AccountID as it's field.&amp;nbsp; How can I keep Budgets, Amounts, and Stats "linked" together via AccountIDKey and link AccountCompoents to those three tables by AccountID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-jdr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2011 20:00:18 GMT</pubDate>
    <dc:creator>rubinsky</dc:creator>
    <dc:date>2011-12-22T20:00:18Z</dc:date>
    <item>
      <title>Problem with Keys among 4 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Keys-among-4-tables/m-p/321032#M118277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 4 tables:&lt;/P&gt;&lt;P&gt;Budgets&lt;/P&gt;&lt;P&gt;Amounts&lt;/P&gt;&lt;P&gt;Stats&lt;/P&gt;&lt;P&gt;AccountComponents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budgets, Amounts, and Stats each have the same fields AccountID, MonthDT, YearDT, and AccountIDKey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccountIDKey&amp;nbsp; is a concatenation of AccountID, MonthDT, and YearDT.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccountComponets has AccountID as it's field.&amp;nbsp; How can I keep Budgets, Amounts, and Stats "linked" together via AccountIDKey and link AccountCompoents to those three tables by AccountID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-jdr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 20:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Keys-among-4-tables/m-p/321032#M118277</guid>
      <dc:creator>rubinsky</dc:creator>
      <dc:date>2011-12-22T20:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Keys among 4 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Keys-among-4-tables/m-p/321033#M118278</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;Think of something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Facts:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Budget' AS Fact_Type&lt;/P&gt;&lt;P&gt;FROM BudgetsTable;&lt;/P&gt;&lt;P&gt;CONCATENATE (Facts) LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Stats' AS Fact_Type&lt;/P&gt;&lt;P&gt;FROM StatsTable;&lt;/P&gt;&lt;P&gt;CONCATENATE (Facts) LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Amounts' AS Fact_Type&lt;/P&gt;&lt;P&gt;FROM AmountsTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Components:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM AccountComponentsTable;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So all facts (things that happen between dates, in this case: Budgets, Amounts, Stats) are in the same table, a fact table, and the AccountComponents is linked as a dimension table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps you on the development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 20:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Keys-among-4-tables/m-p/321033#M118278</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-12-22T20:14:24Z</dc:date>
    </item>
  </channel>
</rss>

