<?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: How circular reference can be avoided? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281443#M1181296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see how this is a problem. I work for a customs broker, and we have a ton of different date dimensions: creation, entry, invoice, release, liquidation, estimated arrival, exchange, etc. We simply adopted a naming convention: ReleaseDate, ShipDate, LiqDate, etc. This makes it very easy to find, for example, all shipments with "ReleaseDate &amp;gt; today()-45 AND LiqDate = NULL". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2012 14:17:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-21T14:17:50Z</dc:date>
    <item>
      <title>How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281435#M1181288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How circular reference can be avoided?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Attitude&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 09:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281435#M1181288</guid>
      <dc:creator />
      <dc:date>2012-01-17T09:21:34Z</dc:date>
    </item>
    <item>
      <title>How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281436#M1181289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some please explain me their experience on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attitude&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 13:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281436#M1181289</guid>
      <dc:creator />
      <dc:date>2012-02-02T13:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281437#M1181290</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;As it happens in other software like MS Access or Excel, a circular reference (also called loop) happens when one table is reachable by two or more ways. As in QlikView tables are linked when two or more fields are named alike, the likeliest reason is that there are more than two tables with the same field names that link to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Customers:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orders:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar:&lt;/P&gt;&lt;P&gt;CustomerID --&amp;gt;&amp;nbsp;&amp;nbsp; CustomerID&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDate --&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDate AS Date &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers links to Orders that links to Calendar that in turn links to Customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual way to avoid this is renaming fields, and sometimes, removing duplicated data from the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 13:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281437#M1181290</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-02T13:22:54Z</dc:date>
    </item>
    <item>
      <title>How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281438#M1181291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By naming/renaming fields until you get the data model that you want. If you have circular reference, then you most likely have linked two fields that should not be linked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many cases when a field semms to be the same as one from a different table, so you think they should be linked. But they still should not. For example, in a sales database you often have two different UnitPrice: One which is the suggested UnitPrice (in the Product table) and one which is the actual UnitPrice (in the OrderDetails table). These should not be linked, so you need to rename one of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 13:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281438#M1181291</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-02-02T13:23:27Z</dc:date>
    </item>
    <item>
      <title>How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281439#M1181292</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;Circular reference can be avoided in the following ways&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You can rename a column.&lt;/P&gt;&lt;P&gt;- Use Qualify &lt;/P&gt;&lt;P&gt;- Concatenating Several Tables into One&lt;/P&gt;&lt;P&gt;- Loosely coupled tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer qlikview reference manual for examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 07:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281439#M1181292</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-03T07:54:50Z</dc:date>
    </item>
    <item>
      <title>How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281440#M1181293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi &lt;/P&gt;&lt;P&gt;Circular references can be avoided by renaming any one of the field having same name in any one of the table, or by using qualify command on any one of the table. if u use qualify command then it ll rename all the fields in that particular table. so depend on ur data use alias or qualify and u can concatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun Prasadh.N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 08:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281440#M1181293</guid>
      <dc:creator />
      <dc:date>2012-02-03T08:36:06Z</dc:date>
    </item>
    <item>
      <title>How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281441#M1181294</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;I recommend you to read tuh blog by Stephen Redmond About resolve Circular issues, &lt;/P&gt;&lt;P&gt;It's help me to understand more clearly about the Key Table Solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qliktips.blogspot.com/2011/05/rules-for-creating-keylink-table-in.html"&gt;http://qliktips.blogspot.com/2011/05/rules-for-creating-keylink-table-in.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yigal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 09:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281441#M1181294</guid>
      <dc:creator />
      <dc:date>2012-02-03T09:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281442#M1181295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Tell you what - the issue of reusing dimension does not have good enough answer from the product - in other words - QlikView doesn't let you to define (like other BI products let) a dimension (e/g the date dimension) and reuse it as many times as you like.&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;The example of the Date dimension (posted above by &lt;A _jive_internal="true" href="https://community.qlik.com/people/mby"&gt;Miguel Angel Baeyens&lt;/A&gt;) is good example since we all know that the Date dimension may include many attributes' such as year, week, quarter, month and many others.&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;So when you have Customer Order, joint with 'Quotation", and 'Invoice' you may end up with 8 different dates and will have to load the Date dimension 8 times, and include objects for selecting different attributes of each date - e.g - give me all the customer orders that were shipped on Sundays during January 2012, invoiced on February, with Due date of payment for May and were a response for&amp;nbsp; a quotation from the last quarter of 2011.&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;As far as i see it, Currently, QlikView makes our life difficult in this aspect, hope to have new versions ready with better support for this in the coming years.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 10:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281442#M1181295</guid>
      <dc:creator />
      <dc:date>2012-08-23T10:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281443#M1181296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see how this is a problem. I work for a customs broker, and we have a ton of different date dimensions: creation, entry, invoice, release, liquidation, estimated arrival, exchange, etc. We simply adopted a naming convention: ReleaseDate, ShipDate, LiqDate, etc. This makes it very easy to find, for example, all shipments with "ReleaseDate &amp;gt; today()-45 AND LiqDate = NULL". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281443#M1181296</guid>
      <dc:creator />
      <dc:date>2012-09-21T14:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281444#M1181297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Circular reference can be avaoided by &lt;/P&gt;&lt;P&gt;1.renaming of the columns.&lt;/P&gt;&lt;P&gt;2. Having all the required columns only in the main fact table.&lt;/P&gt;&lt;P&gt;3. Create Link IDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 17:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281444#M1181297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-21T17:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281445#M1181298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;kevin - yes it is true! but then you have to load the date dimension as many times as you have date keys in your facts - but never mind about it, i want to know what Link IDs are (mentioned by vinay).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 07:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281445#M1181298</guid>
      <dc:creator />
      <dc:date>2012-09-23T07:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281446#M1181299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you &lt;STRONG&gt;&lt;EM&gt;should &lt;/EM&gt;&lt;/STRONG&gt;load the date dimension as many times as you have date keys. A query where you demand a specific ShippingMonth is never the same as if you demand the same month as ReleaseMonth, and the best way to make this difference obvious to a user is to have two different fields for the two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/08/30/master-table-with-multiple-roles"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/08/30/master-table-with-multiple-roles&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 13:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281446#M1181299</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-09-23T13:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: How circular reference can be avoided?</title>
      <link>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281447#M1181300</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;one of possible solving of circular reference problem is (as was mentioned here) to &lt;SPAN style="text-decoration: underline;"&gt;rename&lt;/SPAN&gt; and to &lt;SPAN style="text-decoration: underline;"&gt;add&lt;/SPAN&gt; some new columns in one or more tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take this example: You have three tables (T1, T2 a T3) and all of them has column key &lt;STRONG&gt;X&lt;/STRONG&gt;, which &lt;SPAN style="text-decoration: underline;"&gt;you WANT to use for JOIN of them&lt;/SPAN&gt;, but not like the &lt;STRONG&gt;CIRCLE&lt;/STRONG&gt; but like the &lt;STRONG&gt;LINE&lt;/STRONG&gt;: T1---&amp;gt;T2---&amp;gt;T3. Your target is to access T3 table from T1 table not directly, but indirectly - through T2 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you will change your &lt;STRONG&gt;original definition&lt;/STRONG&gt; of tables from this definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) T1 has one &lt;STRONG&gt;X&lt;/STRONG&gt; column and other columns which are not important for us just now;&lt;/P&gt;&lt;P&gt;2) T2 has one &lt;STRONG&gt;X&lt;/STRONG&gt; column and other columns...;&lt;/P&gt;&lt;P&gt;3) T3 has one &lt;STRONG&gt;X&lt;/STRONG&gt; column and other columns...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;to this &lt;STRONG&gt;new definition&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) T1 has one renamed X column into &lt;STRONG&gt;X1_2&lt;/STRONG&gt; column and other columns...;&lt;/P&gt;&lt;P&gt;2) T2 has one renamed X column into &lt;STRONG&gt;X1_2&lt;/STRONG&gt; column, one new &lt;STRONG&gt;X2_3&lt;/STRONG&gt; column (with the &lt;SPAN style="text-decoration: underline;"&gt;same value&lt;/SPAN&gt;) and other columns...;&lt;/P&gt;&lt;P&gt;3) T3 has one renamed X column into &lt;STRONG&gt;X2_3&lt;/STRONG&gt; column and other columns...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mirek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Apr 2013 15:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-circular-reference-can-be-avoided/m-p/281447#M1181300</guid>
      <dc:creator />
      <dc:date>2013-04-13T15:58:22Z</dc:date>
    </item>
  </channel>
</rss>

