<?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 with no Distinct Key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125560#M634076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a small qlikview document that demonstrates the actual problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 16:53:46 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-05-11T16:53:46Z</dc:date>
    <item>
      <title>Canonical Date with no Distinct Key</title>
      <link>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125558#M634074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a basic Qlikview user and am struggling to build a dashboard within the requirements due to the below issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed the guide posted by &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date &lt;/A&gt;on Canonical dates however I am unable to find a way to make it work with my data.&lt;/P&gt;&lt;P&gt;I think it is due to being unable to get a table with a fine enough grain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or advise would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables. a policy table a&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;nd a claims table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic Example.....&lt;/P&gt;&lt;P&gt;A policy can have many rows (as shown in the below tables), and a policy can also have many claims (example below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Policy Table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 538px; border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="99"&gt;Policy Number&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="111"&gt;Transaction Date&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="99"&gt;Inception Date&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="117"&gt;Cancellation Date&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="112"&gt;Transaction Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Pol_1&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;15/01/2016&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;01/02/2016&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;-&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;New Business&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Pol_1&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;03/02/2016&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;01/02/2016&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;-&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Adjustment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Pol_1&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;04/03/2016&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;01/02/2016&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;-&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Adjustment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Pol_1&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;05/03/2016&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;01/02/2016&lt;/TD&gt;&lt;TD class="xl64" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;05/03/2016&lt;/TD&gt;&lt;TD class="xl63" style="text-align: center; color: #575757; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Cancelled&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claims Table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 583px; border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="99"&gt;Policy Number&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="103"&gt;Claims Number&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="129"&gt;Claim Opened Date&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="124"&gt;Claim Settled Date&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);" width="128"&gt;Claim Rejected Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Pol_1&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Matt1&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;14/02/2016&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;21/02/2016&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Pol_1&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Matt6&lt;/TD&gt;&lt;TD class="xl68" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;16/02/2016&lt;/TD&gt;&lt;TD class="xl68" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;17/02/2016&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Pol_1&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Matt12&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;22/02/2016&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: center; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;04/03/2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my current table view, but I am getting duplicate data from the Canonical Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 16:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125558#M634074</guid>
      <dc:creator />
      <dc:date>2016-05-11T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date with no Distinct Key</title>
      <link>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125559#M634075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary&lt;/P&gt;&lt;P&gt; I don't understand why you have a canonical calendar associated to the link table but then also have three separate calendars for transaction, policy and cancellation. Can you provide this segment of your script please so I can better understand your issue.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 16:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125559#M634075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-11T16:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date with no Distinct Key</title>
      <link>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125560#M634076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a small qlikview document that demonstrates the actual problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 16:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125560#M634076</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-11T16:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date with no Distinct Key</title>
      <link>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125561#M634077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;I have attached a QVW, the dashboard is very basic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the selected example (Unique PolicyNumber =PET/W/50056068/PLUS 03/01/2016) I should have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one transaction count in in Jan-2016 (not on Fab-16)&lt;/P&gt;&lt;P&gt;One count in Jan-2016 for a claim (MatterID 50056143) &amp;amp; one Count for March-2016 (MatterID 50060146)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should point out that not all policys will have a claim or a cancellation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125561#M634077</guid>
      <dc:creator />
      <dc:date>2016-05-11T17:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date with no Distinct Key</title>
      <link>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125562#M634078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary, from what I see you're right, you need more granularity to follow that guide, some field that is unique in each row like a PolicyTransactionId... I guess (I don't know how the policy_canonical field is created) that now is doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select Month=january and [date type]=transaction, the DateLink table will say: 'ok, I have one of those: the policy &lt;STRONG&gt;Pol_1'&lt;/STRONG&gt;, so it goes to the PolicyLoadTable and returns all records with Pol_1 as policy_canonical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125562#M634078</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-05-11T17:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Canonical Date with no Distinct Key</title>
      <link>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125563#M634079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary, your expressions can be fixed yo work with that model, ie, for claims opened:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;DateType={'Opened'}&amp;gt;} If(MonthYear=ClaimOpenedMonthYear, MatterID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: and about the transacted... maybe adding a DISTINCT clause... Or an aggr between Policynumber and transaction date... I don't really know how to count 2 different transactions made by one policy in one day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Canonical-Date-with-no-Distinct-Key/m-p/1125563#M634079</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-05-11T17:50:14Z</dc:date>
    </item>
  </channel>
</rss>

