<?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 Many to many relationship in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Many-to-many-relationship/m-p/316850#M500558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might depend on how big your tables are, what graphs and tables are you trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's not too large the you could just split the first table by date&lt;/P&gt;&lt;P&gt;Driver Car Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that by doing an interval match from the first table to a calendar table with all dates. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 17:03:40 GMT</pubDate>
    <dc:creator>danielrozental</dc:creator>
    <dc:date>2011-05-20T17:03:40Z</dc:date>
    <item>
      <title>Many to many relationship</title>
      <link>https://community.qlik.com/t5/QlikView/Many-to-many-relationship/m-p/316849#M500557</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;let's say I've Drivers and Cars tables and a third table which relate them.Something like this:&lt;/P&gt;&lt;P&gt;Driver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Car&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDate&lt;/P&gt;&lt;P&gt;Sam&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AB123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2010-10-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011-01-31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also a Mileage table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Car&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Km&lt;/P&gt;&lt;P&gt;AB123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011-01-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 110 &lt;/P&gt;&lt;P&gt;AB123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011-01-02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 90&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can I model this in QlikView?&lt;BR /&gt;How can I create an expression to show the total mileage of Sam while he was driving AB123 (that is, with Date between StartDate and EndDate)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt; Corrado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 15:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Many-to-many-relationship/m-p/316849#M500557</guid>
      <dc:creator />
      <dc:date>2011-05-20T15:13:29Z</dc:date>
    </item>
    <item>
      <title>Many to many relationship</title>
      <link>https://community.qlik.com/t5/QlikView/Many-to-many-relationship/m-p/316850#M500558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might depend on how big your tables are, what graphs and tables are you trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's not too large the you could just split the first table by date&lt;/P&gt;&lt;P&gt;Driver Car Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that by doing an interval match from the first table to a calendar table with all dates. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 17:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Many-to-many-relationship/m-p/316850#M500558</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-05-20T17:03:40Z</dc:date>
    </item>
  </channel>
</rss>

