<?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: Canonical Date Across Different Tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119857#M19331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the general approach is the same (creating for each needed date-field an own calendar which then will be merged into the canonical-calendar) but it might be more difficult to find respectively (re-) create a working key-field for it (you might need several additionally steps to adjust and fill up the right/missing values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2016 05:49:58 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-08-17T05:49:58Z</dc:date>
    <item>
      <title>Canonical Date Across Different Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119856#M19330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been able to create a canonical date as per discussion here (&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;But this is about setting up a canonical date for only ONE table with all the date fields in the SAME table. What if I have date fields scattered across multiple tables. How do I create a canonical date field for that?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 21:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119856#M19330</guid>
      <dc:creator />
      <dc:date>2016-08-16T21:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date Across Different Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119857#M19331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the general approach is the same (creating for each needed date-field an own calendar which then will be merged into the canonical-calendar) but it might be more difficult to find respectively (re-) create a working key-field for it (you might need several additionally steps to adjust and fill up the right/missing values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 05:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119857#M19331</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-17T05:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date Across Different Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119858#M19332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;do I create the working key field?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;. For example, I have 3 date fields, 2 in one table and 3rd in 2nd table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The two tables are (1) Associate with fields Associate, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;AssociateBirthDateTime, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;AssociateReadDateTime&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;and (2) Analyst with &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;AnalystBirthDateTime&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;AnalystBirthDateTime is the one I am unable to put in the same CanonicalDate with the other two date fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt; How do I join all three to create a canonical date? I am able to do the dates in the same table (ie &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;AssociateBirthDateTime and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;AssociateReadDateTime)&lt;/SPAN&gt;&lt;/SPAN&gt;, but fail with combining the third one. When I am trying to add the 3rd one, it will give a circular reference error because it is based on a different field. I have commented out the part which gives error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;This is my script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Associate2AssociateBirthDate:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Mapping Load Associate,AssociateBirthDateTime Resident [Associate];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Associate2AssociateReadTime:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Mapping Load Associate,AssociateReadDateTime Resident [Associate];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Analyst2AnalystBirthDate:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Mapping Load Analyst,AnalystBirthDateTime Resident [Analyst];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DateBridge:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load Associate,ApplyMap('Associate2AssociateBirthDate',Associate,null()) as CanonicalDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Associate];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load Associate,ApplyMap('Associate2AssociateReadTime',Associate,null()) as CanonicalDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Associate];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// Load Analyst,ApplyMap('Analyst2AnalystBirthDate',Analyst,null()) as CanonicalDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// Resident [Associate];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 18:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119858#M19332</guid>
      <dc:creator />
      <dc:date>2016-08-18T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date Across Different Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119859#M19333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All three dates must be connected with the same key - this meant in all you need Associate or Analyst as single key respectively you need to create a new key-field from/with them and this could be quite difficult or even impossible if your tables didn't contain the right data respectively the data-quality isn't good enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 05:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119859#M19333</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-19T05:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date Across Different Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119860#M19334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like this post!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I create a new birdge table with the following fields?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ID &lt;EM&gt;(New field autogenerated)&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Key of the Associate table&lt;/LI&gt;&lt;LI&gt;Key of the Analyst table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: I'm very new, just trying to learn because I have a similar situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 09:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119860#M19334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-19T09:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date Across Different Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119861#M19335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think an autogenerated ID with recno() or rowno() will be rather not helpful but an autonumber() on a (composite) key might work but like above mentioned it will be depend on the associations and the data-quality of your tables if it worked to chain the events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 09:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Canonical-Date-Across-Different-Tables/m-p/1119861#M19335</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-04-19T09:35:48Z</dc:date>
    </item>
  </channel>
</rss>

