<?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 Linking Dates/Date Ranges in Separate Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671984#M474530</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 2 tables; 1 that contain Sales data and another that contains Employee data. They are linked by the Department name the employee works in/sale was made in. Each employee has a Start/End Date for their department and if they move department, the End Date is filled in and another record for them is created. A master calender was created from the date a Sale was made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a Date, the information about the Sale appears but it also lists every employee that every worked for the department the sale occurred in. Is there a way to only show the employees that where employed on the date a sale was made. And similarly, by selecting an employee, show all the sales that occurred when they were a member of that department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Start Date &amp;gt; Sales Date &amp;gt; End Date = Show available Sales/Employees&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 23:07:51 GMT</pubDate>
    <dc:creator>ciaran_mcgowan</dc:creator>
    <dc:date>2014-09-10T23:07:51Z</dc:date>
    <item>
      <title>Linking Dates/Date Ranges in Separate Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671984#M474530</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 2 tables; 1 that contain Sales data and another that contains Employee data. They are linked by the Department name the employee works in/sale was made in. Each employee has a Start/End Date for their department and if they move department, the End Date is filled in and another record for them is created. A master calender was created from the date a Sale was made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a Date, the information about the Sale appears but it also lists every employee that every worked for the department the sale occurred in. Is there a way to only show the employees that where employed on the date a sale was made. And similarly, by selecting an employee, show all the sales that occurred when they were a member of that department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Start Date &amp;gt; Sales Date &amp;gt; End Date = Show available Sales/Employees&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 23:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671984#M474530</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-09-10T23:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Dates/Date Ranges in Separate Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671985#M474531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at IntervalMatch in the Ref Guide. I think that will do what you want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 01:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671985#M474531</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-09-11T01:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Dates/Date Ranges in Separate Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671986#M474532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried that but it just created an infinite loop between the Sales table, the Employee table and the Master Calendar table (which is linked to the Sales table by SalesDate).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 09:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671986#M474532</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-09-11T09:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Dates/Date Ranges in Separate Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671987#M474533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ciaran,&lt;/P&gt;&lt;P&gt;Please have a look at the qvw attached.&lt;/P&gt;&lt;P&gt;This is definitely not best practise, as first of all the join will probably be too slow for big tables. Nevertheless it should help to get an idea how to approach the problem.&lt;/P&gt;&lt;P&gt;To avoid the join please have a look at the different methods regarding 'slowly changing dimensions',&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/66654_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 12:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-Date-Ranges-in-Separate-Tables/m-p/671987#M474533</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-09-13T12:32:53Z</dc:date>
    </item>
  </channel>
</rss>

