<?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: Linking Dates issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846717#M660085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose that you have to use a 2 way calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Tmp)&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;resident Table3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link:&lt;/P&gt;&lt;P&gt;left join(Link)&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;DepartureDate as LinKDepartureDate&lt;/P&gt;&lt;P&gt;resdient Tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename of DepartureDate is necessary to avoid syntetic keys&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;you drop TABLE3 (as there is no further information if there is nothing else in there)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 13:03:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-16T13:03:29Z</dc:date>
    <item>
      <title>Linking Dates issue</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846715#M660083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello people, I've read some topics about linking dates. Now I want to do something more 'advanced'. I obtained a Qlikview example&amp;nbsp; of the basics. It looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Basic.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83835_Basic.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In order to create the Link table, this script is used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Link:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,CreatedDate as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'Created' as DateType&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT Table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONCATENATE (Link)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,DepartureDate as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'Departure' as DateType&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT Table2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONCATENATE (Link)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; OtherID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,OtherDate as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'Other' as DateType&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT OtherTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay from here all fine! Now I want to something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="BasicPlus.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/83836_BasicPlus.png" style="height: 288px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make the Link table obtain the DepartureDate from Table3, since it is now not directly connected? If so how would I script that?&lt;/P&gt;&lt;P&gt;Help is much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 11:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846715#M660083</guid>
      <dc:creator />
      <dc:date>2015-04-16T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Dates issue</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846716#M660084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls share ur qvw,tht's helps to answer ur query quickly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 12:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846716#M660084</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-04-16T12:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Dates issue</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846717#M660085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose that you have to use a 2 way calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Tmp)&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;resident Table3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link:&lt;/P&gt;&lt;P&gt;left join(Link)&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;DepartureDate as LinKDepartureDate&lt;/P&gt;&lt;P&gt;resdient Tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename of DepartureDate is necessary to avoid syntetic keys&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;you drop TABLE3 (as there is no further information if there is nothing else in there)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 13:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846717#M660085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-16T13:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Dates issue</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846718#M660086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thx for the input,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see what you are trying to do with the Tmp table, however when applying the part under Link I will get an extra field in the Link table, LinkDeparture. Basically what Im trying to achieve is that the link table should get the same output with different table setups.&lt;/P&gt;&lt;P&gt;The picture below shows the content of the Link Table, the right one is how it should be. The left one is with the other table setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the Departure values in it, but not related to the ID numbers..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Issue comparisson.png" class="jive-image image-1" src="/legacyfs/online/83903_Issue comparisson.png" style="height: 225px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;When I say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Link)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;RESIDENT Table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will of course just add 3 lines with the ID numbers, but not related to the DepartureDate..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Ive attached the qvws if that is helpful for anyone)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 14:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Dates-issue/m-p/846718#M660086</guid>
      <dc:creator />
      <dc:date>2015-04-16T14:07:20Z</dc:date>
    </item>
  </channel>
</rss>

