<?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: Common dimension with multiple facts? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309939#M842982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just the opposite:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesDate as Date&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SOHDate as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PODate as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This meant you will have only one Date-field within the whole datamodel (the same with Item and Shop).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- Marcus&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 12:43:26 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-04-25T12:43:26Z</dc:date>
    <item>
      <title>Common dimension with multiple facts?</title>
      <link>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309936#M842979</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;Currently we are using link table model and which has performance issue (&lt;SPAN style="font-weight: bold; color: #6a6a6a; font-family: arial, sans-serif; font-size: small;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small;"&gt; is &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: #6a6a6a; font-family: arial, sans-serif; font-size: small;"&gt;growing&lt;/SPAN&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small;"&gt; at a faster &lt;/SPAN&gt;). is it possible to convert below model ( link table) to star schema.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all below 3 facts are using common dimension. and our current link table has performance issue planned to optimist it&lt;/P&gt;&lt;P&gt;issue is here: Sales and Po is daily data (of current week)&lt;/P&gt;&lt;P&gt;and soh is the next week data that we need to change to current week in the model and concatenate it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DailySalesFact:&lt;/P&gt;&lt;P&gt;LOAD Barcode as SalesBarcode,//Key&lt;/P&gt;&lt;P&gt;&amp;nbsp; ShopNo as SalesShopNo,//Key&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date as SalesDate,//Key&lt;/P&gt;&lt;P&gt;&amp;nbsp; ShopNoDate,//Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp; Barcode &amp;amp; '|' &amp;amp; ShopNo&amp;nbsp; &amp;amp; '|' &amp;amp; Date(Floor(Date)) &amp;amp; '|' &amp;amp; 'Sales' as item_shop_date_Type, //composite key&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SoldQty,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TotalLandedCost,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TotalGrossPrice,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TotalNetPrice,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Sales' as SalesType //Sales fact idendify eky&lt;/P&gt;&lt;P&gt;FROM $(vQVDPath)\Sales.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PurchaseOrder:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Barcode as POBarcode,//Key&lt;/P&gt;&lt;P&gt;&amp;nbsp; ShopNo as POShopNo, //Key&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Create_date) AS PODate, //Key&lt;/P&gt;&lt;P&gt;&amp;nbsp; PO_Type as Type_ID, //fact dimension -required&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delivery_status, //fact dimension -required&lt;/P&gt;&lt;P&gt;&amp;nbsp; OrderQty, //Po&amp;nbsp; Measure&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'PO' as POType,//PO fact idendify eky&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Barcode &amp;amp; '|' &amp;amp; ShopNo&amp;nbsp; &amp;amp; '|' &amp;amp;&amp;nbsp; Date(Floor(Create_date)) &amp;amp; '|' &amp;amp; 'PO' as item_shop_date_Type //composite key&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; $(vQVDPath)\PurchaseOrder.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stock:&lt;/P&gt;&lt;P&gt;LOAD soh_shop, //key&lt;/P&gt;&lt;P&gt;&amp;nbsp; soh_item,//key&lt;/P&gt;&lt;P&gt;&amp;nbsp; soh_date,//key&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'SOH' as sohType,//soh fact idendify eky&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; soh_item &amp;amp; '|' &amp;amp; soh_shop &amp;amp; '|' &amp;amp; week(soh_date) &amp;amp; '|' &amp;amp; year(soh_date) &amp;amp; '|' &amp;amp; 'SOH' as item_shop_week_year_Type, //composite&lt;/STRONG&gt; key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; soh&lt;/P&gt;&lt;P&gt;FROM $(vQVDPath)\MaterialStockOnHand.QVD (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309936#M842979</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Common dimension with multiple facts?</title>
      <link>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309937#M842980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you could just concatenate your fact-tables by renaming the item/shop/date key-fields and adjusting the date by 'SOH' with date(floor(weekstart(soh_date))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 11:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309937#M842980</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-04-25T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Common dimension with multiple facts?</title>
      <link>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309938#M842981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;how to map with date&amp;nbsp; with master calendar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales table (date renamed as SalesDate)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;soh table (date renamed as SOHDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PO table (date renamed as PODate)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309938#M842981</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-04-25T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Common dimension with multiple facts?</title>
      <link>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309939#M842982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just the opposite:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesDate as Date&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SOHDate as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PODate as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This meant you will have only one Date-field within the whole datamodel (the same with Item and Shop).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- Marcus&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309939#M842982</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-04-25T12:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Common dimension with multiple facts?</title>
      <link>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309940#M842983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, Tks&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CKS Model.jpg" class="jive-image image-1" src="/legacyfs/online/161238_CKS Model.jpg" style="height: 405px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 22:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-dimension-with-multiple-facts/m-p/1309940#M842983</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-04-25T22:48:41Z</dc:date>
    </item>
  </channel>
</rss>

