<?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: How to count entries between 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074402#M358587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;but out of interest and to learn something, I'd like to know how to do that, &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can read the pdf here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3412"&gt;Joins and Lookups&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2739"&gt;To Join or not to Join&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2016 18:53:15 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-03-02T18:53:15Z</dc:date>
    <item>
      <title>How to count entries between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074398#M358583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relatively new to QlikView and I'm trying to build an application, with a datamodel that contains sales information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say that I have the following tables and associations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;EmpID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;First name&lt;/P&gt;&lt;P&gt;Last name&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;OrderID&lt;/P&gt;&lt;P&gt;CustomerID&lt;/P&gt;&lt;P&gt;EmpID&lt;/P&gt;&lt;P&gt;Order date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;CustomerID&lt;/P&gt;&lt;P&gt;ContactName&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Employee is associated with Orders, and orders is Associated with Customers. There is no direct association between Employee and Customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to achieve now, is a field which contains the number of customers for a given employee. I can't figure out how to solve this. Should this be done in scripting? Where would be the best location for this field? I would assume in the Employee table, but how ? &lt;SPAN style="font-size: 10pt;"&gt;What are the possible solutions and which one would you recommend ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping me out !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074398#M358583</guid>
      <dc:creator />
      <dc:date>2016-03-02T15:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to count entries between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074399#M358584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just load the tables. Qlikview will associate the tables using the field names that tables have in common. You can then add a straight table object with EmpID, First name and Last name as dimensions and count(distinct CustomerID) as expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 16:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074399#M358584</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-02T16:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to count entries between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074400#M358585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. This is definitly showing what I want as information, but I was also looking to how and if it's possible to create a field for that in the Employee's table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that this is not really needed since I can easily get the number of customers as you described, but out of interest and to learn something, I'd like to know how to do that, because I am not really able to do that right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 17:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074400#M358585</guid>
      <dc:creator />
      <dc:date>2016-03-02T17:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to count entries between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074401#M358586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could join the tables in the script&lt;SPAN style="font-size: 13.3333px;"&gt; using the JOIN predicate &lt;/SPAN&gt;to make on big table from the three original tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074401#M358586</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-02T18:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to count entries between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074402#M358587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;but out of interest and to learn something, I'd like to know how to do that, &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can read the pdf here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3412"&gt;Joins and Lookups&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2739"&gt;To Join or not to Join&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074402#M358587</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-02T18:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to count entries between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074403#M358588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much all for the information, exactly what I was looking for !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-entries-between-2-tables/m-p/1074403#M358588</guid>
      <dc:creator />
      <dc:date>2016-03-02T21:03:19Z</dc:date>
    </item>
  </channel>
</rss>

