<?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: Dimensional Hierarchy &amp; different fact levels in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431077#M614878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew &amp;amp; Mayuresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what you both suggest, I understand that it is not possible to maintain the dimension table as it is.&lt;/P&gt;&lt;P&gt;I don't&amp;nbsp; understand why..&lt;/P&gt;&lt;P&gt;Could you please elaborate?&lt;/P&gt;&lt;P&gt;Why isn't it possible to concatenate the fact tables?&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>Mon, 21 Aug 2017 14:18:14 GMT</pubDate>
    <dc:creator>dafnis14</dc:creator>
    <dc:date>2017-08-21T14:18:14Z</dc:date>
    <item>
      <title>Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431074#M614875</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;In the attached model I have a dimensional hierarchy in a flat table (Delivery_Offer_Item).&lt;/P&gt;&lt;P&gt;Delivery &amp;gt; Offer &amp;gt; Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 2 facts tables are linked to it with different fields and to different levels.&lt;/P&gt;&lt;P&gt;The request is to be able to display a delivered or returned item per customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Data_Model.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173988_Data_Model.png" style="height: 281px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to concatenate the 2 fact tables but i receive a synthetic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Syntetic_Key.png" class="jive-image image-2" height="262" src="https://community.qlik.com/legacyfs/online/173989_Syntetic_Key.png" style="height: 262.42px; width: 449px;" width="449" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is which is the right way to handle it.&lt;/P&gt;&lt;P&gt;Should I outer join the items in the dimension to Customer_Deliveries ?&lt;/P&gt;&lt;P&gt;In reality, the &lt;SPAN style="font-size: 13.3333px;"&gt;The Customer Deliveries &lt;/SPAN&gt; have tens of millions of records of deliveries only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate very&amp;nbsp; much your help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 04:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431074#M614875</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-08-21T04:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431075#M614876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dafnis,&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Return_Items) // to associate Customer_Deliveries dimensional table with records in Return_Items&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Distinct&lt;/P&gt;&lt;P&gt;Key_Delivery_Offer_Item,&lt;/P&gt;&lt;P&gt;DeliveryID&lt;/P&gt;&lt;P&gt;Resident Delivery_Offer_Item;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Delivery_Offer_Item)&lt;/P&gt;&lt;P&gt;LOAD * Resident Return_Items;&lt;/P&gt;&lt;P&gt;DROP Table Return_Items;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this concatenated table you will lose associations between fields that you have in the original data model. If you really want to combine into one table maybe a join would work better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Delivery_Offer_Item)&lt;/P&gt;&lt;P&gt;LOAD * Resident Return_Items;&lt;/P&gt;&lt;P&gt;DROP Table Return_Items;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 09:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431075#M614876</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-21T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431076#M614877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bring deliveryId in return_item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return_item:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;Key_Delivery_Offer_Item&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;..................;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Key_Delivery_Offer_Item,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DeliveryID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;...................Delivery_Offer_Item.qvd;&lt;/P&gt;&lt;P&gt;thn&lt;/P&gt;&lt;P&gt;concatenate return Item and delivery_offer_item table.&lt;/P&gt;&lt;P&gt;and then deliveryId from customer deliveries will automatically associate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see if it works for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 11:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431076#M614877</guid>
      <dc:creator>mayuresh_d</dc:creator>
      <dc:date>2017-08-21T11:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431077#M614878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew &amp;amp; Mayuresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what you both suggest, I understand that it is not possible to maintain the dimension table as it is.&lt;/P&gt;&lt;P&gt;I don't&amp;nbsp; understand why..&lt;/P&gt;&lt;P&gt;Could you please elaborate?&lt;/P&gt;&lt;P&gt;Why isn't it possible to concatenate the fact tables?&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>Mon, 21 Aug 2017 14:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431077#M614878</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-08-21T14:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431078#M614879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dafnis,&lt;/P&gt;&lt;P&gt;You can concatenate the fact tables instead of joining. As Mayuresh says at the end of his post "see if it works for you".&lt;/P&gt;&lt;P&gt;Try concatenation and try joining, do both and compare results when making selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 14:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431078#M614879</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-21T14:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431079#M614880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This brings me back to the original issue of the synthetic key..&lt;/P&gt;&lt;P&gt;Maybe I misunderstood something &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 14:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431079#M614880</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-08-21T14:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431080#M614881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mayuresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I tried what you offered... This brings me back to the original issue of the synthetic key..&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Maybe I misunderstood something &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 14:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431080#M614881</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-08-21T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431081#M614882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dafnis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Return_Items)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Distinct&lt;/P&gt;&lt;P&gt;Key_Delivery_Offer_Item,&lt;/P&gt;&lt;P&gt;DeliveryID&lt;/P&gt;&lt;P&gt;Resident Delivery_Offer_Item;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Delivery_Offer_Item)&lt;/P&gt;&lt;P&gt;LOAD * Resident Return_Items;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;DROP Table Return_Items;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives this data model with no synthetic key:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Concatenation.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174108_Concatenation.jpg" style="height: 245px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 15:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431081#M614882</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-21T15:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431082#M614883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that's a compromise, because the dimension table turns into a fact table..&lt;/P&gt;&lt;P&gt;If there would be no other solution I wii go for it ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 16:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431082#M614883</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-08-21T16:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431083#M614884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dafnis,&lt;/P&gt;&lt;P&gt;Good of you to mark your own comment as helpful! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431083#M614884</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-21T17:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431084#M614885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oops.. didn't notice &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I won't be able to find the solution requested, I will mark it as correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your kind help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 06:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431084#M614885</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-08-22T06:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensional Hierarchy &amp; different fact levels</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431085#M614886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your solution, but the problem is that it probably doesn't take into account the need to show the returned items by a customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I ended up with another synthetic key..&lt;/P&gt;&lt;P&gt;Any idea how to resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Synt._Key_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174298_Synt._Key_2.png" style="height: 342px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 06:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensional-Hierarchy-different-fact-levels/m-p/1431085#M614886</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-08-23T06:21:25Z</dc:date>
    </item>
  </channel>
</rss>

