<?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: Resolving synthetic key issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Resolving-synthetic-key-issues/m-p/617978#M227746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me like you could simply leave out the Item table. It is totally redundant. If you do need that table because you're using fields from it that you didn't show us in your example then you could simply rename the ListID field to ItemListID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Transactions]:&lt;/P&gt;&lt;P&gt;Load ItemListID,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;From Transactions.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Site]:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ListID,&lt;/P&gt;&lt;P&gt;ItemListID;&lt;/P&gt;&lt;P&gt;From Site.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;optionally:&lt;/P&gt;&lt;P&gt;[Item]:&lt;/P&gt;&lt;P&gt;Load ListID as ItemListID,&lt;/P&gt;&lt;P&gt;FieldX,&lt;/P&gt;&lt;P&gt;FieldY&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;From Item.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 20:45:30 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-02-06T20:45:30Z</dc:date>
    <item>
      <title>Resolving synthetic key issues</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-synthetic-key-issues/m-p/617977#M227745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I got several synthetic keys and circular references...i have used the following approach to resolve them please let me know if it is good way to do it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify *;&lt;/P&gt;&lt;P&gt;[Transactions]:&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="color: #ff0000;"&gt;I&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;temListID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;From Transactions.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unqualify*;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify *&lt;/P&gt;&lt;P&gt;Unqualify &lt;STRONG style="color: #ff0000;"&gt;Transactions.ItemListID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[Item]:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;ListID as Transactions.ItemListID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;ListID as ItemListID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From Item.qvd;&lt;/P&gt;&lt;P&gt;Unqualify*;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify *;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;Unqualify Item.ItemListID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[Site]:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ListID,&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;ItemListID as Item.ItemListID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From Site.qvd;&lt;/P&gt;&lt;P&gt;Unqualify *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically i am using creating two fields with different name for ListID in Item table and using them to connect to different tables to avoid circular reference.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-synthetic-key-issues/m-p/617977#M227745</guid>
      <dc:creator />
      <dc:date>2014-02-06T20:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving synthetic key issues</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-synthetic-key-issues/m-p/617978#M227746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me like you could simply leave out the Item table. It is totally redundant. If you do need that table because you're using fields from it that you didn't show us in your example then you could simply rename the ListID field to ItemListID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Transactions]:&lt;/P&gt;&lt;P&gt;Load ItemListID,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;From Transactions.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Site]:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ListID,&lt;/P&gt;&lt;P&gt;ItemListID;&lt;/P&gt;&lt;P&gt;From Site.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;optionally:&lt;/P&gt;&lt;P&gt;[Item]:&lt;/P&gt;&lt;P&gt;Load ListID as ItemListID,&lt;/P&gt;&lt;P&gt;FieldX,&lt;/P&gt;&lt;P&gt;FieldY&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;From Item.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-synthetic-key-issues/m-p/617978#M227746</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-06T20:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Resolving synthetic key issues</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-synthetic-key-issues/m-p/617979#M227747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah i am using other fields from item table...&lt;/P&gt;&lt;P&gt;BTW i missed to add that In transaction table we have SiteListID and that is causing the circular references...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactions]:&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="color: #ff0000;"&gt;I&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;temListID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;SPAN style="color: #339966;"&gt;SiteListID,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;From Transactions.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unqualify*;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify *&lt;/P&gt;&lt;P&gt;Unqualify &lt;STRONG style="color: #ff0000;"&gt;Transactions.ItemListID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[Item]:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;ListID as Transactions.ItemListID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;ListID as ItemListID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From Item.qvd;&lt;/P&gt;&lt;P&gt;Unqualify*;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify *;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Unqualify Item.ItemListID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #339966;"&gt;Unqualify Transactions.SiteListID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[Site]:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;ListID as Transactions.SiteListID,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;ItemListID as Item.ItemListID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From Site.qvd;&lt;/P&gt;&lt;P&gt;Unqualify *;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-synthetic-key-issues/m-p/617979#M227747</guid>
      <dc:creator />
      <dc:date>2014-02-06T20:51:12Z</dc:date>
    </item>
  </channel>
</rss>

