<?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: Help creating Link Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-creating-Link-Table/m-p/27381#M4577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;Date,WeekPeriod,Year,&lt;/P&gt;&lt;P&gt;26/03/2018,201815,2018&lt;/P&gt;&lt;P&gt;26/02/2018,201808,2018&lt;/P&gt;&lt;P&gt;26/01/2018,201804,2018&lt;/P&gt;&lt;P&gt;26/04/2018,201819,2018&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(O_Date&amp;amp;'|'&amp;amp;O_Item&amp;amp;'|'&amp;amp;O_Cust)&amp;nbsp;&amp;nbsp;&amp;nbsp; as %Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;inline [&lt;/P&gt;&lt;P&gt;O_Date,O_Item,O_Cust,O_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,025522,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/02/2018,023443,650001,R Johnson&lt;/P&gt;&lt;P&gt;26/01/2018,023444,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650002,R Johnson&lt;/P&gt;&lt;P&gt;]; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvoiceTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(I_Date&amp;amp;'|'&amp;amp;I_Item&amp;amp;'|'&amp;amp;I_Cust)&amp;nbsp;&amp;nbsp;&amp;nbsp; as %Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;inline [&lt;/P&gt;&lt;P&gt;I_Date,I_Item,I_Cust,I_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,12345,650000,J Smith&lt;/P&gt;&lt;P&gt;26/02/2018,023443,650001,R Rabbit&lt;/P&gt;&lt;P&gt;26/01/2018,98765,650002,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650003,R Johnson&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuoteTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Q_Date&amp;amp;'|'&amp;amp;Q_Item&amp;amp;'|'&amp;amp;Q_Cust)&amp;nbsp;&amp;nbsp;&amp;nbsp; as %Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;inline [&lt;/P&gt;&lt;P&gt;Q_Date,Q_Item,Q_Cust,Q_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,67890,650002,J Smith&lt;/P&gt;&lt;P&gt;26/02/2018,30160,650001,R Rabbit&lt;/P&gt;&lt;P&gt;26/01/2018,023552,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650004,R Johnson&lt;/P&gt;&lt;P&gt;];&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;O_Date&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;O_Item&amp;nbsp;&amp;nbsp;&amp;nbsp; as Item,&lt;/P&gt;&lt;P&gt;O_Cust&amp;nbsp;&amp;nbsp;&amp;nbsp; as Cust&lt;/P&gt;&lt;P&gt;Resident OrderTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields O_Date, O_Item, O_Cust from OrderTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(LinkTable)&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;%Key,&lt;/P&gt;&lt;P&gt;I_Date&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;I_Item&amp;nbsp;&amp;nbsp;&amp;nbsp; as Item,&lt;/P&gt;&lt;P&gt;I_Cust&amp;nbsp;&amp;nbsp;&amp;nbsp; as Cust&lt;/P&gt;&lt;P&gt;Resident InvoiceTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields I_Date, I_Item, I_Cust from InvoiceTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(LinkTable)&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;%Key,&lt;/P&gt;&lt;P&gt;Q_Date&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;Q_Item&amp;nbsp;&amp;nbsp;&amp;nbsp; as Item,&lt;/P&gt;&lt;P&gt;Q_Cust&amp;nbsp;&amp;nbsp;&amp;nbsp; as Cust&lt;/P&gt;&lt;P&gt;Resident QuoteTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields Q_Date, Q_Item, Q_Cust from QuoteTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 22:24:00 GMT</pubDate>
    <dc:creator>juraj_misina</dc:creator>
    <dc:date>2018-03-28T22:24:00Z</dc:date>
    <item>
      <title>Help creating Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-creating-Link-Table/m-p/27379#M4575</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;I've been reading about link tables and fact tables and I'm pretty sure I get the theory now, but applying this is confusing me! I've tried the following code but I get multiple $syn tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone help me understand where I'm going wrong (or correct my script for me?) I'm looking to have the "Star" schema with the MasterTable in the middle and each of the other tables connected to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;Load * inline[&lt;/P&gt;&lt;P&gt;Date,WeekPeriod,Year,&lt;/P&gt;&lt;P&gt;26/03/2018,201815,2018&lt;/P&gt;&lt;P&gt;26/02/2018,201808,2018&lt;/P&gt;&lt;P&gt;26/01/2018,201804,2018&lt;/P&gt;&lt;P&gt;26/04/2018,201819,2018&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderTable:&lt;/P&gt;&lt;P&gt;Load * inline[ &lt;/P&gt;&lt;P&gt;O_Date,O_Item,O_Cust,O_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,025522,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/02/2018,023443,650001,R Johnson&lt;/P&gt;&lt;P&gt;26/01/2018,023444,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650002,R Johnson&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvoiceTable:&lt;/P&gt;&lt;P&gt;Load * inline[ &lt;/P&gt;&lt;P&gt;I_Date,I_Item,I_Cust,I_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,12345,650000,J Smith&lt;/P&gt;&lt;P&gt;26/02/2018,023443,650001,R Rabbit&lt;/P&gt;&lt;P&gt;26/01/2018,98765,650002,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650003,R Johnson&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuoteTable:&lt;/P&gt;&lt;P&gt;Load * inline[ &lt;/P&gt;&lt;P&gt;Q_Date,Q_Item,Q_Cust,Q_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,67890,650002,J Smith&lt;/P&gt;&lt;P&gt;26/02/2018,30160,650001,R Rabbit&lt;/P&gt;&lt;P&gt;26/01/2018,023552,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650004,R Johnson&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Date resident MasterCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (MasterTable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Q_Date AS Date,Q_Item,Q_Cust,Q_Sales Resident QuoteTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (MasterTable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load O_Date AS Date,O_Item,O_Cust,O_Sales Resident OrderTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (MasterTable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load I_Date AS Date,I_Item,I_Cust,I_Sales Resident InvoiceTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 19:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-creating-Link-Table/m-p/27379#M4575</guid>
      <dc:creator>chris1987</dc:creator>
      <dc:date>2018-03-28T19:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-creating-Link-Table/m-p/27380#M4576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Join in Qlik will actually add the columns/fields to the master table.&lt;/P&gt;&lt;P&gt;If you intend to use joins, as in your script, you will have to drop all the other tables. And you will end up with a flat single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the goal is to achieve a star schema - do not use JOIN. Rename the key fields in all tables to be named the same.&lt;/P&gt;&lt;P&gt;For example, changing all the Dates to 'Date' - will result in a association across all table with Date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-creating-Link-Table/m-p/27380#M4576</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2018-03-28T20:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-creating-Link-Table/m-p/27381#M4577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;Date,WeekPeriod,Year,&lt;/P&gt;&lt;P&gt;26/03/2018,201815,2018&lt;/P&gt;&lt;P&gt;26/02/2018,201808,2018&lt;/P&gt;&lt;P&gt;26/01/2018,201804,2018&lt;/P&gt;&lt;P&gt;26/04/2018,201819,2018&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(O_Date&amp;amp;'|'&amp;amp;O_Item&amp;amp;'|'&amp;amp;O_Cust)&amp;nbsp;&amp;nbsp;&amp;nbsp; as %Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;inline [&lt;/P&gt;&lt;P&gt;O_Date,O_Item,O_Cust,O_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,025522,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/02/2018,023443,650001,R Johnson&lt;/P&gt;&lt;P&gt;26/01/2018,023444,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650002,R Johnson&lt;/P&gt;&lt;P&gt;]; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvoiceTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(I_Date&amp;amp;'|'&amp;amp;I_Item&amp;amp;'|'&amp;amp;I_Cust)&amp;nbsp;&amp;nbsp;&amp;nbsp; as %Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;inline [&lt;/P&gt;&lt;P&gt;I_Date,I_Item,I_Cust,I_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,12345,650000,J Smith&lt;/P&gt;&lt;P&gt;26/02/2018,023443,650001,R Rabbit&lt;/P&gt;&lt;P&gt;26/01/2018,98765,650002,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650003,R Johnson&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuoteTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Q_Date&amp;amp;'|'&amp;amp;Q_Item&amp;amp;'|'&amp;amp;Q_Cust)&amp;nbsp;&amp;nbsp;&amp;nbsp; as %Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;inline [&lt;/P&gt;&lt;P&gt;Q_Date,Q_Item,Q_Cust,Q_Sales&lt;/P&gt;&lt;P&gt;26/03/2018,67890,650002,J Smith&lt;/P&gt;&lt;P&gt;26/02/2018,30160,650001,R Rabbit&lt;/P&gt;&lt;P&gt;26/01/2018,023552,650000,C Walsh&lt;/P&gt;&lt;P&gt;26/04/2018,023445,650004,R Johnson&lt;/P&gt;&lt;P&gt;];&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;O_Date&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;O_Item&amp;nbsp;&amp;nbsp;&amp;nbsp; as Item,&lt;/P&gt;&lt;P&gt;O_Cust&amp;nbsp;&amp;nbsp;&amp;nbsp; as Cust&lt;/P&gt;&lt;P&gt;Resident OrderTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields O_Date, O_Item, O_Cust from OrderTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(LinkTable)&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;%Key,&lt;/P&gt;&lt;P&gt;I_Date&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;I_Item&amp;nbsp;&amp;nbsp;&amp;nbsp; as Item,&lt;/P&gt;&lt;P&gt;I_Cust&amp;nbsp;&amp;nbsp;&amp;nbsp; as Cust&lt;/P&gt;&lt;P&gt;Resident InvoiceTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields I_Date, I_Item, I_Cust from InvoiceTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(LinkTable)&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;%Key,&lt;/P&gt;&lt;P&gt;Q_Date&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;Q_Item&amp;nbsp;&amp;nbsp;&amp;nbsp; as Item,&lt;/P&gt;&lt;P&gt;Q_Cust&amp;nbsp;&amp;nbsp;&amp;nbsp; as Cust&lt;/P&gt;&lt;P&gt;Resident QuoteTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields Q_Date, Q_Item, Q_Cust from QuoteTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 22:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-creating-Link-Table/m-p/27381#M4577</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-03-28T22:24:00Z</dc:date>
    </item>
  </channel>
</rss>

