<?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 Matching Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194030#M55068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;Adding in Date as DateCreated causes an error as it can't find the date field, so it looks as below.&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;date(makedate(2009)-1 + recno(), 'DD-MM-YYYY') as Date,&lt;BR /&gt;Date As DateCreated&lt;BR /&gt;AUTOGENERATE 365;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2009 20:34:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-22T20:34:26Z</dc:date>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194022#M55060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;Hoping someone can help point me in the right direction.&lt;/P&gt;&lt;P&gt;I'm loading two tables from QVD files.&lt;/P&gt;&lt;P&gt;LOAD [UserID],&lt;BR /&gt; CompanyID,&lt;BR /&gt; SiteID,&lt;BR /&gt; interval(EndTime-StartTime,'mm') as ScheduleDuration,&lt;BR /&gt; //ServiceID,&lt;BR /&gt; StartTime,&lt;BR /&gt; EndTime,&lt;BR /&gt; ScheduleTypeID&lt;BR /&gt;FROM&lt;BR /&gt;[Schedule.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;LOAD WorkID,&lt;BR /&gt; CallID,&lt;BR /&gt; UserID,&lt;BR /&gt; CompanyID,&lt;BR /&gt; ServiceID,&lt;BR /&gt; EmployeeID,&lt;BR /&gt; // [UserID],&lt;BR /&gt; CallStateTypesID,&lt;BR /&gt; Priority,&lt;BR /&gt; WorkDate,&lt;BR /&gt; DateCreated,&lt;BR /&gt; DateUpdated,&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[Work.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;At the momment i have two separate Calenders based on the DateUpdated Field and the StartTime field. I would like to have one Calender in the Application. How can i go around joining the dates? Ive looked at the intervalmatch command but cant quite get it. Any help would be much appreciated. I'm using Qlik Version 9.0&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Gez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 04:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194022#M55060</guid>
      <dc:creator />
      <dc:date>2009-09-22T04:23:23Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194023#M55061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Create two common date fields in two tables by renaming the required fields. Then create a calendar table and link it to the tables using the new field. &lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD [UserID],&lt;/P&gt;&lt;P&gt;CompanyID,&lt;/P&gt;&lt;P&gt;SiteID,&lt;/P&gt;&lt;P&gt;interval(EndTime-StartTime,'mm') as ScheduleDuration,&lt;/P&gt;&lt;P&gt;//ServiceID,&lt;/P&gt;&lt;P&gt;StartTime,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;StartTime as Date,&lt;/P&gt;&lt;P&gt;EndTime,&lt;/P&gt;&lt;P&gt;ScheduleTypeID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Schedule.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD WorkID,&lt;/P&gt;&lt;P&gt;CallID,&lt;/P&gt;&lt;P&gt;UserID,&lt;/P&gt;&lt;P&gt;CompanyID,&lt;/P&gt;&lt;P&gt;ServiceID,&lt;/P&gt;&lt;P&gt;EmployeeID,&lt;/P&gt;&lt;P&gt;// [UserID],&lt;/P&gt;&lt;P&gt;CallStateTypesID,&lt;/P&gt;&lt;P&gt;Priority,&lt;/P&gt;&lt;P&gt;WorkDate,&lt;/P&gt;&lt;P&gt;DateCreated,&lt;/P&gt;&lt;P&gt;DateUpdated,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;DateUpdated as Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Work.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Calendar:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;P style="font-weight: bold"&gt;date(makedate(2009)-1 + recno(), 'YYYY-MM-DD') as Date&lt;/P&gt;&lt;P style="font-weight: bold"&gt;AUTOGENERATE 365;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 11:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194023#M55061</guid>
      <dc:creator />
      <dc:date>2009-09-22T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194024#M55062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 14:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194024#M55062</guid>
      <dc:creator />
      <dc:date>2009-09-22T14:55:45Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194025#M55063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although the Dates are now linked, when selecting a date from the Calendar it only returns the correct information for the Schedule Table and not the Work Table. If I break the join and test the date fields separately the information returned is correct.&lt;/P&gt;&lt;P&gt;I've looked through the date format of both tables and it is returned in the same DD/MM/YY, Any other ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 18:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194025#M55063</guid>
      <dc:creator />
      <dc:date>2009-09-22T18:36:53Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194026#M55064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please send a screenshoot of the table viewer (ctrl+t). By renaming the two datefields to "date" you will add another common field from your two qvds (among f.ex. CompanyID...)&lt;/P&gt;&lt;P&gt;So ill guess your datamodel is quite ugly to be honest &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 19:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194026#M55064</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2009-09-22T19:02:29Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194027#M55065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I can see that you have another common field in the two tables, CompanyID. This will create a circular reference among the 3 tables, and will result in wrong interpretations. So, you got to break the circular reference!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 19:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194027#M55065</guid>
      <dc:creator />
      <dc:date>2009-09-22T19:02:52Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194028#M55066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data Model attached, Sorry if this seems quite Basic, although i do need the Schedule and work Table to Join?&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1121.Model.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1121.Model.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 19:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194028#M55066</guid>
      <dc:creator />
      <dc:date>2009-09-22T19:23:49Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194029#M55067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops!! it was the synthetic key, the problem maker!! I think you can do one thing:&lt;/P&gt;&lt;P&gt;Keep the Date in Table1&lt;/P&gt;&lt;P&gt;Remove the Date in Table2 (work table).&lt;/P&gt;&lt;P&gt;In Calendar Table, add one more field&lt;/P&gt;&lt;P&gt;ie, &lt;B&gt;date as WorkDate.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;This will do i think&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 19:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194029#M55067</guid>
      <dc:creator />
      <dc:date>2009-09-22T19:34:53Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194030#M55068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;Adding in Date as DateCreated causes an error as it can't find the date field, so it looks as below.&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;date(makedate(2009)-1 + recno(), 'DD-MM-YYYY') as Date,&lt;BR /&gt;Date As DateCreated&lt;BR /&gt;AUTOGENERATE 365;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 20:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194030#M55068</guid>
      <dc:creator />
      <dc:date>2009-09-22T20:34:26Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194031#M55069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make it &lt;B&gt;date(makedate(2009)-1 + recno(), 'DD-MM-YYYY') as DateCreated&lt;/B&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 20:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194031#M55069</guid>
      <dc:creator />
      <dc:date>2009-09-22T20:44:10Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194032#M55070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But then doing this then the Date field within Schedule Doesnt Join &lt;IMG alt="Sad" src="http://community.qlik.com/emoticons/emotion-6.gif" /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help with this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 21:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194032#M55070</guid>
      <dc:creator />
      <dc:date>2009-09-22T21:13:35Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194033#M55071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted you to create the Calendar table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;date(makedate(2009)-1 + recno(), 'DD-MM-YYYY') as Date,&lt;BR /&gt;date(makedate(2009)-1 + recno(), 'DD-MM-YYYY') as DateCreated&lt;BR /&gt;AUTOGENERATE 365;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This way, you will link with the first Table using Date, and Second Table using DateCreated&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 22:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194033#M55071</guid>
      <dc:creator />
      <dc:date>2009-09-22T22:30:21Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194034#M55072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I see, that Makes sense.&lt;/P&gt;&lt;P&gt;although when trying that I know get a script reload error, When stepping through it as it loads the calendar last it's just after this it now generates the "Execution of Script failed. reload old Data? Message.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 22:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194034#M55072</guid>
      <dc:creator />
      <dc:date>2009-09-22T22:48:46Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194035#M55073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm..can't tell anything on that, unless you can post a sample qvw file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 23:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194035#M55073</guid>
      <dc:creator />
      <dc:date>2009-09-22T23:04:31Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194036#M55074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your help, will look to work my way back through it and post a scrambled file if i can't get to the bottom of it!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Gez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 23:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194036#M55074</guid>
      <dc:creator />
      <dc:date>2009-09-22T23:11:21Z</dc:date>
    </item>
    <item>
      <title>Matching Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194037#M55075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your help, will look to work my way back through it and post a scrambled file if i can't get to the bottom of it!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Gez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 23:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-Dates/m-p/194037#M55075</guid>
      <dc:creator />
      <dc:date>2009-09-22T23:11:45Z</dc:date>
    </item>
  </channel>
</rss>

