<?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: JOIN question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/JOIN-question/m-p/758327#M669457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To me this is more of a UI issue that can be resolved with a SET ANALYSIS expression to ignore the date filter on the TARGETS expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Events expression is this:&amp;nbsp; sum( Events)&lt;/P&gt;&lt;P&gt;Then Targets expression could be something like this:&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;Date=&amp;gt;} Targets)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...where Date is the filter for the eventdate.&amp;nbsp; This will ensure Targets ignores the date filter but 'Events' does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70420_Capture.PNG.png" style="width: 620px; height: 154px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 22:50:27 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-11-03T22:50:27Z</dc:date>
    <item>
      <title>JOIN question</title>
      <link>https://community.qlik.com/t5/QlikView/JOIN-question/m-p/758325#M669453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table (EVENTS) that has OwnerID as the primary key, and in which there are multiple records for each OwnerId.&amp;nbsp;&amp;nbsp; I also have a table called TARGETs, which has the same primary key, but has a 1:1 relationship (one row for each sales rep).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some sales reps in the TARGETS table that have no events.&amp;nbsp; However,&amp;nbsp; want these sales reps to be included in the same table as the reps who DO have events.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALES REP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TARGET&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; EVENTS&lt;/P&gt;&lt;P&gt;Rep A&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;Rep B&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Rep C&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 75&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select an event date range for a rep who doesn’t have any events in that range, I still want to see them in the table with their target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve already done two joins to get the EVENTS table, and two separate joins to get the TARGETS table.&amp;nbsp; How do I join these two tables to get ALL records included?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 22:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JOIN-question/m-p/758325#M669453</guid>
      <dc:creator />
      <dc:date>2014-11-03T22:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN question</title>
      <link>https://community.qlik.com/t5/QlikView/JOIN-question/m-p/758326#M669455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post your qlik doc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 22:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JOIN-question/m-p/758326#M669455</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-03T22:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN question</title>
      <link>https://community.qlik.com/t5/QlikView/JOIN-question/m-p/758327#M669457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To me this is more of a UI issue that can be resolved with a SET ANALYSIS expression to ignore the date filter on the TARGETS expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Events expression is this:&amp;nbsp; sum( Events)&lt;/P&gt;&lt;P&gt;Then Targets expression could be something like this:&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;Date=&amp;gt;} Targets)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...where Date is the filter for the eventdate.&amp;nbsp; This will ensure Targets ignores the date filter but 'Events' does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70420_Capture.PNG.png" style="width: 620px; height: 154px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 22:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JOIN-question/m-p/758327#M669457</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-03T22:50:27Z</dc:date>
    </item>
  </channel>
</rss>

