<?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/332539#M122527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got the situation to connect 2 fact tables.&lt;/P&gt;&lt;P&gt;I have a fact table for transactions on day level(Invoice Date as DateKey) and also have a budget table on month level. Finally, I have a calendar table which has the fields DateKey and Month to join to both fact tables.&lt;/P&gt;&lt;P&gt;i do have one common field Vendor, to connect both Fact tables.&lt;/P&gt;&lt;P&gt;What should my link table look like to make this possible in Qlikview?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 05:48:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-01T05:48:10Z</dc:date>
    <item>
      <title>Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332539#M122527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got the situation to connect 2 fact tables.&lt;/P&gt;&lt;P&gt;I have a fact table for transactions on day level(Invoice Date as DateKey) and also have a budget table on month level. Finally, I have a calendar table which has the fields DateKey and Month to join to both fact tables.&lt;/P&gt;&lt;P&gt;i do have one common field Vendor, to connect both Fact tables.&lt;/P&gt;&lt;P&gt;What should my link table look like to make this possible in Qlikview?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 05:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332539#M122527</guid>
      <dc:creator />
      <dc:date>2012-06-01T05:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332540#M122528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have different solutions, one is creating a pivot table in charge of connecting all the tables of your model.&lt;/P&gt;&lt;P&gt;For example, your table transaction will not contain any direct reference to the date and the vendor but a key composed of the both information (just concatenate the two field with a separator in between). This key will be present in the pivot table too. Your budget table will have a key composed of month and vendor. &lt;/P&gt;&lt;P&gt;So, your pivot table will have a key to join to transaction (date+vendor), a key to join to budget (month+vendor), a key to join to the vendor table, a key to join to the calendar table (DateKey).&lt;/P&gt;&lt;P&gt;QV will handle properly the cardinality.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 08:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332540#M122528</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2012-06-01T08:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332541#M122529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Vincent, Thanks for your reply.if you don't mind, could you please explain a bit more clearly(don't have much idea on modelling)?say for example, i got 4 tables as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANS-Table:&lt;/P&gt;&lt;P&gt;Datekey,&lt;/P&gt;&lt;P&gt;Vendorkey,&lt;/P&gt;&lt;P&gt;Revenue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VENDOR-Table:&lt;/P&gt;&lt;P&gt;Vendorkey,&lt;/P&gt;&lt;P&gt;Vendor-Info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUDGET-Table:&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;Budget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALENDAR-Table:&lt;/P&gt;&lt;P&gt;Datekey,&lt;/P&gt;&lt;P&gt;Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, do i need to populate my pivot table with four columns?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 09:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332541#M122529</guid>
      <dc:creator />
      <dc:date>2012-06-01T09:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332542#M122530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example :&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;&lt;BR /&gt;tmpTRANS:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;DateKey, VendorKey, Revenue&lt;BR /&gt;40909, v1, 150&lt;BR /&gt;40910, v2, 200&lt;BR /&gt;40918, v1, 175&lt;BR /&gt;40942, v2, 240&lt;BR /&gt;40953, v1, 230&lt;BR /&gt;40973, v3, 1500&lt;BR /&gt;40984, v2, 90&lt;BR /&gt;] ;&lt;/P&gt;&lt;P&gt;VENDOR:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;VendorKey, VendorInfo&lt;BR /&gt;v1, vendor1&lt;BR /&gt;v2, vendor2&lt;BR /&gt;v3, vendor3&lt;BR /&gt;] ;&lt;/P&gt;&lt;P&gt;tmpBUDGET:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Month, VendorKey, Budget&lt;BR /&gt;201201, v1, 200&lt;BR /&gt;201201, v2, 200&lt;BR /&gt;201202, v1, 300&lt;BR /&gt;201202, v2, 350&lt;BR /&gt;201202, v3, 400&lt;BR /&gt;201203, v1, 310&lt;BR /&gt;201203, v2, 320&lt;BR /&gt;201203, v3, 2000&lt;BR /&gt;] ;&lt;/P&gt;&lt;P&gt;tmpCALENDAR:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;DateKey, Month, MonthName&lt;BR /&gt;40909, 201201, Jan&lt;BR /&gt;40910, 201201, Jan&lt;BR /&gt;40911, 201201, Jan&lt;BR /&gt;40912, 201201, Jan&lt;BR /&gt;40913, 201201, Jan&lt;BR /&gt;40914, 201201, Jan&lt;BR /&gt;40915, 201201, Jan&lt;BR /&gt;40916, 201201, Jan&lt;BR /&gt;40917, 201201, Jan&lt;BR /&gt;40918, 201201, Jan&lt;BR /&gt;40919, 201201, Jan&lt;BR /&gt;40920, 201201, Jan&lt;BR /&gt;40921, 201201, Jan&lt;BR /&gt;40922, 201201, Jan&lt;BR /&gt;40923, 201201, Jan&lt;BR /&gt;40924, 201201, Jan&lt;BR /&gt;40925, 201201, Jan&lt;BR /&gt;40926, 201201, Jan&lt;BR /&gt;40927, 201201, Jan&lt;BR /&gt;40928, 201201, Jan&lt;BR /&gt;40929, 201201, Jan&lt;BR /&gt;40930, 201201, Jan&lt;BR /&gt;40931, 201201, Jan&lt;BR /&gt;40932, 201201, Jan&lt;BR /&gt;40933, 201201, Jan&lt;BR /&gt;40934, 201201, Jan&lt;BR /&gt;40935, 201201, Jan&lt;BR /&gt;40936, 201201, Jan&lt;BR /&gt;40937, 201201, Jan&lt;BR /&gt;40938, 201201, Jan&lt;BR /&gt;40939, 201201, Jan&lt;BR /&gt;40940, 201202, Feb&lt;BR /&gt;40941, 201202, Feb&lt;BR /&gt;40942, 201202, Feb&lt;BR /&gt;40943, 201202, Feb&lt;BR /&gt;40944, 201202, Feb&lt;BR /&gt;40945, 201202, Feb&lt;BR /&gt;40946, 201202, Feb&lt;BR /&gt;40947, 201202, Feb&lt;BR /&gt;40948, 201202, Feb&lt;BR /&gt;40949, 201202, Feb&lt;BR /&gt;40950, 201202, Feb&lt;BR /&gt;40951, 201202, Feb&lt;BR /&gt;40952, 201202, Feb&lt;BR /&gt;40953, 201202, Feb&lt;BR /&gt;40954, 201202, Feb&lt;BR /&gt;40955, 201202, Feb&lt;BR /&gt;40956, 201202, Feb&lt;BR /&gt;40957, 201202, Feb&lt;BR /&gt;40958, 201202, Feb&lt;BR /&gt;40959, 201202, Feb&lt;BR /&gt;40960, 201202, Feb&lt;BR /&gt;40961, 201202, Feb&lt;BR /&gt;40962, 201202, Feb&lt;BR /&gt;40963, 201202, Feb&lt;BR /&gt;40964, 201202, Feb&lt;BR /&gt;40965, 201202, Feb&lt;BR /&gt;40966, 201202, Feb&lt;BR /&gt;40967, 201202, Feb&lt;BR /&gt;40968, 201202, Feb&lt;BR /&gt;40969, 201203, Mar&lt;BR /&gt;40970, 201203, Mar&lt;BR /&gt;40971, 201203, Mar&lt;BR /&gt;40972, 201203, Mar&lt;BR /&gt;40973, 201203, Mar&lt;BR /&gt;40974, 201203, Mar&lt;BR /&gt;40975, 201203, Mar&lt;BR /&gt;40976, 201203, Mar&lt;BR /&gt;40977, 201203, Mar&lt;BR /&gt;40978, 201203, Mar&lt;BR /&gt;40979, 201203, Mar&lt;BR /&gt;40980, 201203, Mar&lt;BR /&gt;40981, 201203, Mar&lt;BR /&gt;40982, 201203, Mar&lt;BR /&gt;40983, 201203, Mar&lt;BR /&gt;40984, 201203, Mar&lt;BR /&gt;40985, 201203, Mar&lt;BR /&gt;40986, 201203, Mar&lt;BR /&gt;40987, 201203, Mar&lt;BR /&gt;40988, 201203, Mar&lt;BR /&gt;40989, 201203, Mar&lt;BR /&gt;40990, 201203, Mar&lt;BR /&gt;40991, 201203, Mar&lt;BR /&gt;] ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TRANS:&lt;BR /&gt;Load&lt;BR /&gt; DateKey&amp;amp;'-'&amp;amp;VendorKey as TRANSkey,&lt;BR /&gt; Revenue&lt;BR /&gt;Resident tmpTRANS ;&lt;/P&gt;&lt;P&gt;BUDGET:&lt;BR /&gt;Load &lt;BR /&gt; Month&amp;amp;'-'&amp;amp;VendorKey as BUDGETkey,&lt;BR /&gt; Budget&lt;BR /&gt;Resident tmpBUDGET ;&lt;/P&gt;&lt;P&gt;CALENDAR:&lt;BR /&gt;Load&lt;BR /&gt; DateKey,&lt;BR /&gt; MonthName&lt;BR /&gt;Resident tmpCALENDAR ;&lt;/P&gt;&lt;P&gt;PIVOT:&lt;BR /&gt;Load&lt;BR /&gt; DateKey&amp;amp;'-'&amp;amp;VendorKey as TRANSkey,&lt;BR /&gt; DateKey,&lt;BR /&gt; VendorKey,&lt;BR /&gt; num#(date(DateKey,'YYYYMM')) as Month,&lt;BR /&gt; date(DateKey,'YYYYMM')&amp;amp;'-'&amp;amp;VendorKey as BUDGETkey&lt;BR /&gt;Resident tmpTRANS ;&lt;BR /&gt;Load&lt;BR /&gt; null() as TRANSkey,&lt;BR /&gt; num(makedate(left(Month,4),right(Month,2))) as DateKey,&lt;BR /&gt; VendorKey,&lt;BR /&gt; Month,&lt;BR /&gt; Month&amp;amp;'-'&amp;amp;VendorKey as BUDGETkey&lt;BR /&gt;Resident tmpBUDGET ;&lt;/P&gt;&lt;P&gt;Drop Table tmpTRANS ;&lt;BR /&gt;Drop Table tmpBUDGET ;&lt;BR /&gt;Drop Table tmpCALENDAR ;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 12:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332542#M122530</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2012-06-01T12:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332543#M122531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you, Vincent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2012 02:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/332543#M122531</guid>
      <dc:creator />
      <dc:date>2012-06-02T02:01:40Z</dc:date>
    </item>
  </channel>
</rss>

