<?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 How to avoid circular references in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429409#M1148241</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 have a problem setting up my data model. I have following tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar (Manually created a calendar of the past 3 years)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Items - ItemKey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relation - RelantionKey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders&amp;nbsp;&amp;nbsp; - OrderDate (has to link with the mastercalendar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Relationkey (has to link with relation table) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Itemkey (has to link with item table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Offers - Offerdate (has to link with the mastercalendar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - relationkey (has to link with relationtable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - itemkey (has to link with item)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't create a datamodel which has no circular reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has&amp;nbsp; an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 11:56:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-31T11:56:33Z</dc:date>
    <item>
      <title>How to avoid circular references</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429409#M1148241</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 have a problem setting up my data model. I have following tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar (Manually created a calendar of the past 3 years)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Items - ItemKey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relation - RelantionKey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders&amp;nbsp;&amp;nbsp; - OrderDate (has to link with the mastercalendar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Relationkey (has to link with relation table) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Itemkey (has to link with item table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Offers - Offerdate (has to link with the mastercalendar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - relationkey (has to link with relationtable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - itemkey (has to link with item)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't create a datamodel which has no circular reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has&amp;nbsp; an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429409#M1148241</guid>
      <dc:creator />
      <dc:date>2013-05-31T11:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid circular references</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429410#M1148242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to left join mastercalendar to Orders and Offers, in this way the table disappears ... &lt;/P&gt;&lt;P&gt;then if you can left join (or join) other tables in order to destroy circular references&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429410#M1148242</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-05-31T11:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid circular references</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429411#M1148243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use two methods...either Concatenate or create a link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplest would be to concatenate your offers and orders tables together, You could add an addition source field to allow you to identify the two datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link table method would involve created a new table containing a concatenation of the common fields in the orders and offers table and then creating a composite key to reference back to the offers and orders tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, I would suggest the concatenation method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429411#M1148243</guid>
      <dc:creator />
      <dc:date>2013-05-31T12:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid circular references</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429412#M1148244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using &lt;STRONG&gt;join,Left join&lt;/STRONG&gt; for both&amp;nbsp; or you can use alias means change the name of field&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;then you can remove that circular refrence &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429412#M1148244</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-05-31T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid circular references</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429413#M1148245</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;Thank you for the quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mastercalendar has several columns. Fulldate, Year, Month, Day, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i leftjoin the mastercalendar to orders and offers. I join all these columns to both tables. Both if&amp;nbsp; i want a filter all orders and offers for last year? How can i do this then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429413#M1148245</guid>
      <dc:creator />
      <dc:date>2013-05-31T12:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid circular references</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429414#M1148246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, one way would be to concatenate the Orders and Offers tables into one table. You could also try creating a link table. &lt;A _jive_internal="true" href="https://community.qlik.com/message/313035#313035"&gt;Here&lt;/A&gt;'s a simple example. &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3451"&gt;This document&lt;/A&gt; may also be useful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429414#M1148246</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-31T12:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid circular references</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429415#M1148247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, thanks for the replies allready!. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accualty i have 7 tables ( i said 5 because in essence it is the same i thought)&amp;nbsp; There is also a shipnote and invoice table. Which relates the same as the order and offers tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were using a linktable, but this was very slow and taking lots of memory for simple tasks. So I was finding a way to remove the linktable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it still usefull to join the 4 tables then, considering about 500k to 1 million records in every table? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-references/m-p/429415#M1148247</guid>
      <dc:creator />
      <dc:date>2013-05-31T12:21:26Z</dc:date>
    </item>
  </channel>
</rss>

