<?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: Composite key issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700472#M673259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Velan,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If your issue is resolved, can please mark it as answered and close this thread&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;@vi &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2014 05:22:02 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2014-08-22T05:22:02Z</dc:date>
    <item>
      <title>Composite key issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700468#M673254</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'm facing an issue when am trying to create a composite key in Final layer to link 2 fields in a table.&lt;/P&gt;&lt;P&gt;eg: I have 2 tables Incident and Solution. I have connected these 2 tables by using "SOLUTION_ID" field. In chart am getting inconsistent data, since the "Period" field in both the tables 're pulling the records which 're not similar. So decided to link the Period field as well. But if I do this, I will get a synthetic key. To avoid this, am trying to create a Composite key by using these 2 fields as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incident table: Field1: SOLUTIONBASEID renamed as SOLUTION_ID. Field2: AppYearPeriod&lt;/P&gt;&lt;P&gt;Solution table: Field1: SOLUTION_ID, Field2: Period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the datamodel has connections between Incident and Solution table by using SOLUTION_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Composite key:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppYearPeriod &amp;amp;'|'&amp;amp; SOLUTION_ID as PeriodSolnIDKey (as Composite key).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck here and no idea in how many places we need to give this in the script.&lt;/P&gt;&lt;P&gt;I'm trying to locate the composite key below this statement in the script in 4 places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closed_year &amp;amp; Closed_Period as AppYearPeriod&lt;/P&gt;&lt;P&gt;Open_year &amp;amp; Open_Period as AppYearPeriod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Errors during reload:&lt;/P&gt;&lt;P&gt;"AppYearPeriod" field not found and Incident table not found. Please help me by give some suggestions how to come out of this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Velan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 02:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700468#M673254</guid>
      <dc:creator />
      <dc:date>2014-08-19T02:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700469#M673255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Velan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case go for &lt;STRONG&gt;link table concept&lt;/STRONG&gt;, please post the app or details of the both tables with the details about the similar data between two tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 04:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700469#M673255</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-19T04:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700470#M673256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide the script and your data model to help on the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 13:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700470#M673256</guid>
      <dc:creator />
      <dc:date>2014-08-19T13:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700471#M673257</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;Thanks for your suggestions. I have done this by using Link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Velan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 00:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700471#M673257</guid>
      <dc:creator />
      <dc:date>2014-08-22T00:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700472#M673259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Velan,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If your issue is resolved, can please mark it as answered and close this thread&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;@vi &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 05:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-issue/m-p/700472#M673259</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-22T05:22:02Z</dc:date>
    </item>
  </channel>
</rss>

