<?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 Getting Crazy with Cycle Join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265445#M1204382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to concatenate the Header tables (Invoice and Orders) and adding a field DocumentType (1 for invoive and 2 for Order).&lt;/P&gt;&lt;P&gt;Then concatenate the detailed tables together.&lt;/P&gt;&lt;P&gt;The link between Header and Details would be done by their numbers (Check that there is no redundant numbers between Orders and invoices)&lt;/P&gt;&lt;P&gt;Then the calendar can be linked to the Header table !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 15:33:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-13T15:33:24Z</dc:date>
    <item>
      <title>Getting Crazy with Cycle Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265444#M1204381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;I've a classic problem that is getting me crazy. (even if it seems easy to solve...)&lt;/P&gt;&lt;P&gt;Scenario :&lt;/P&gt;&lt;P&gt;1) I've Invoice Header table and Invoice Position table&lt;/P&gt;&lt;P&gt;2) I've Sales Order Header table and Sales Order Position table&lt;/P&gt;&lt;P&gt;3) I've some customer/item/Calendar master table&lt;/P&gt;&lt;P&gt;What we need it's just to have per day/area the invoice and Order&lt;/P&gt;&lt;P&gt;I've problem 'cause to relate the master table to the data (fact) table (Invoice and Order) I always have problem with the cycle join loop as in the below image. (I just included some of the table to give u an example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1932_sourceID:1932" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the best practice in this situation ?&lt;/P&gt;&lt;P&gt;1) Creating a single dimension table with all the customer/item/Calendar data ?! Not so easy&lt;/P&gt;&lt;P&gt;2) Creating one single Fact table ? I don't think so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your suggestion&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 15:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265444#M1204381</guid>
      <dc:creator />
      <dc:date>2010-07-13T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Getting Crazy with Cycle Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265445#M1204382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to concatenate the Header tables (Invoice and Orders) and adding a field DocumentType (1 for invoive and 2 for Order).&lt;/P&gt;&lt;P&gt;Then concatenate the detailed tables together.&lt;/P&gt;&lt;P&gt;The link between Header and Details would be done by their numbers (Check that there is no redundant numbers between Orders and invoices)&lt;/P&gt;&lt;P&gt;Then the calendar can be linked to the Header table !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 15:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265445#M1204382</guid>
      <dc:creator />
      <dc:date>2010-07-13T15:33:24Z</dc:date>
    </item>
    <item>
      <title>Getting Crazy with Cycle Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265446#M1204383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;STRONG&gt;&lt;A href="http://community.qlik.com/members/spastor/default.aspx"&gt;spastor&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Unfortunately I've same problem on position level too, 'cause I've some other fields that need main master (as item master, so group sales data by item group and so on)&lt;/P&gt;&lt;P&gt;It means that I need to concatenate all these data too .&lt;/P&gt;&lt;P&gt;Do u think I've only this solution or u have in mind something else ?&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 16:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265446#M1204383</guid>
      <dc:creator />
      <dc:date>2010-07-13T16:04:56Z</dc:date>
    </item>
    <item>
      <title>Getting Crazy with Cycle Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265447#M1204384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you can also use qualify to separate orders and invoices.&lt;/P&gt;&lt;P&gt;In this case your loop will disappear, but you will need to double table.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 16:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265447#M1204384</guid>
      <dc:creator />
      <dc:date>2010-07-13T16:51:12Z</dc:date>
    </item>
    <item>
      <title>Getting Crazy with Cycle Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265448#M1204385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I won't be able to have linked data to my dimension tables. Right ?&lt;/P&gt;&lt;P&gt;So I think that the concatenate should be the best solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 17:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265448#M1204385</guid>
      <dc:creator />
      <dc:date>2010-07-13T17:20:36Z</dc:date>
    </item>
    <item>
      <title>Getting Crazy with Cycle Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265449#M1204386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Sergio!&lt;/P&gt;&lt;P&gt;I think the link table is the best solution, even if it is too complex in the script...&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 17:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265449#M1204386</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2010-07-13T17:28:34Z</dc:date>
    </item>
    <item>
      <title>Getting Crazy with Cycle Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265450#M1204387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do u mean a single link table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 17:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Crazy-with-Cycle-Join/m-p/265450#M1204387</guid>
      <dc:creator />
      <dc:date>2010-07-13T17:32:19Z</dc:date>
    </item>
  </channel>
</rss>

