<?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: Question on link table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533040#M688827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is better for you use count id from you link table.&lt;/P&gt;&lt;P&gt;in order that this table contains all the possible records...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 13:33:32 GMT</pubDate>
    <dc:creator>angelaecheverri</dc:creator>
    <dc:date>2013-12-05T13:33:32Z</dc:date>
    <item>
      <title>Question on link table</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533038#M688825</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;in one of my apps displaying personell_data, I have now introduced a link_table linking six or so tables where the personell_ID and the corresp. mapped fields for plant and area are always the same.&lt;/P&gt;&lt;P&gt;The individual data tables are all linked to that via a compound key made up of (personell_ID&amp;amp;'|' Date).&lt;/P&gt;&lt;P&gt;Only one table is linked merely via the date because in that table the mapped_fields for plant and area would not make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, however, what I do is load RESIDENT from all of the data tables and concatenating all those RES. LOADs into one large link_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; I would like to join them instead to have a much shorter link_table&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; I am unsure about that because the size of the tables does differ insofar as for some tables I take into account all employees and for others I take into account only the hourly employees, which are approx. 100 fewer.&lt;/P&gt;&lt;P&gt;- other than that, the fields I extract into the mapping table are always the same - identical even, to all probability . but for the nr. of records.&lt;/P&gt;&lt;P&gt;=&amp;gt; Every record in the linking table would then have a date, a personell_ID, several keys (one for each data table) and the mapped_fields for plant and area.&lt;/P&gt;&lt;P&gt;=&amp;gt; Will that difference in the nr. of records in the data tables lead to problems or can I replace my concatenations by JOINs?&lt;/P&gt;&lt;P&gt;(I guess with a LEFT JOIN, I would just get blanks - one blank keyfield, that would be - in the records which I don't have in that particular data_table, no? That wouldn't be a problem, would it?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 12:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533038#M688825</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-05T12:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Question on link table</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533039#M688826</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 have another question rgd. that link_table:&lt;/P&gt;&lt;P&gt;- Before, I used to have a COUNT(DISTINCT Pers_ID) in my chart (counting the pers_ID from that data_table&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Now the data_table does not have that field anymore. It is in the link_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; Can somebody help me with the syntax for the formula to say, like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Count pers_ID in link_table where the keyfield in that row is not empty"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I need a set_expression, but that is going to be rather complicated as I guess there's going to be trouble when I try nesting different sets of quotes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 13:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533039#M688826</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-05T13:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Question on link table</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533040#M688827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is better for you use count id from you link table.&lt;/P&gt;&lt;P&gt;in order that this table contains all the possible records...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 13:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533040#M688827</guid>
      <dc:creator>angelaecheverri</dc:creator>
      <dc:date>2013-12-05T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Question on link table</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533041#M688828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that and it does look very plausible on the dimension "day" - but, due to the fact that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are many more DISTINCT values of the keyfield which consists of Pers_ID&amp;amp;Date (as compared to Pers_ID),&lt;/P&gt;&lt;P&gt;this does not work at all on the dimension "month" (where I use the aggr() function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have another idea how to do this properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 13:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533041#M688828</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-05T13:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question on link table</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533042#M688829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you attach your example?&lt;/P&gt;&lt;P&gt;i am not following you what do you real need.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 14:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533042#M688829</guid>
      <dc:creator>angelaecheverri</dc:creator>
      <dc:date>2013-12-05T14:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question on link table</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533043#M688830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well, an example is always kind of tricky (this app is using personell_data) and it takes a while to prepare. I'll be back, though.&lt;/P&gt;&lt;P&gt;Talk to you soon!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 14:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-link-table/m-p/533043#M688830</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-05T14:51:43Z</dc:date>
    </item>
  </channel>
</rss>

