<?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: Problem when creating link table from 4 fact tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390886#M1163776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ccaporaso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Why you don't create this key for all tables, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sessionid &amp;amp; sessionseqnum &amp;amp; nodeid &amp;amp; profileid as CommonKey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2012 14:01:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-09T14:01:10Z</dc:date>
    <item>
      <title>Problem when creating link table from 4 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390883#M1163773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a QV model based on a complex call center database. I've got my fact tables spread in four:&lt;/P&gt;&lt;P&gt;CD= Has all the calls, no matter if they were successful or not.&lt;/P&gt;&lt;P&gt;AD= Has only calls connected to agents.&lt;/P&gt;&lt;P&gt;QD=Has calls that went through a Queue (not always arrived to an agent)&lt;/P&gt;&lt;P&gt;RD=Has more information about calls that have been queued.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the tables share four key fields (CD's keys). AD, QD and RD have additional keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built a script and created a Link Table (please, see script attached). It seems to be all fine, but then I realized that I could not get information from QD when there is no AD record (e.g.: I want to analyzed calls that went to a queue but no agent has been reached (abandon calls)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¿Please, could you tell me if something is wrong with the script? The key fields from each table are the ones that have been used to build the unique key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceci.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 12:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390883#M1163773</guid>
      <dc:creator>ccaporaso</dc:creator>
      <dc:date>2012-10-08T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating link table from 4 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390884#M1163774</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you attack a database diagram to understand better the table relationships&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 16:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390884#M1163774</guid>
      <dc:creator />
      <dc:date>2012-10-08T16:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating link table from 4 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390885#M1163775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregorio!&lt;/P&gt;&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attaching (as a .PNG file) the complete structure as seen in QV. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, keep in mind:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The script attached in my original post is a brief version: I avoided some unnecessary tables and fields in order to focus on linktable issue.&lt;/P&gt;&lt;P&gt;- The original table names (as you can see in the diagram) is:&lt;/P&gt;&lt;P&gt;CCD=CD&lt;/P&gt;&lt;P&gt;ACD=AD&lt;/P&gt;&lt;P&gt;CQD=QD&lt;/P&gt;&lt;P&gt;QRD=RD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceci.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 17:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390885#M1163775</guid>
      <dc:creator>ccaporaso</dc:creator>
      <dc:date>2012-10-08T17:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating link table from 4 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390886#M1163776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ccaporaso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Why you don't create this key for all tables, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sessionid &amp;amp; sessionseqnum &amp;amp; nodeid &amp;amp; profileid as CommonKey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 14:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390886#M1163776</guid>
      <dc:creator />
      <dc:date>2012-10-09T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating link table from 4 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390887#M1163777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregorio!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried creating a common key with the four common fields to build the linktable and that solved the reference problem when calculating abandon calls in queue. However it created additional problems in other indicators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the basic problem is the cardinality between tables. That can be identified by the qindex field (which is in ACD, CQD, CRD but not in CCD, that means that for each CCD record, there might be 0, 1 or many records in the other three tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any guideline to follow when building linktables in complex cases? Most of the examples are quite simple and I'm afraid of being loosing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once more, any idea is welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceci.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 18:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390887#M1163777</guid>
      <dc:creator>ccaporaso</dc:creator>
      <dc:date>2012-10-09T18:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when creating link table from 4 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390888#M1163778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cecilia&lt;/P&gt;&lt;P&gt;did you achieve your Goal? I have some indicators loacated in four or five fact tables and wanted to use link tables.&lt;/P&gt;&lt;P&gt;concatenate seems not to be a solution for my case&lt;/P&gt;&lt;P&gt;thanks for any comment&lt;/P&gt;&lt;P&gt;felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-when-creating-link-table-from-4-fact-tables/m-p/390888#M1163778</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2014-04-24T10:06:13Z</dc:date>
    </item>
  </channel>
</rss>

