<?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: Wide or Deep Fact Table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Wide-or-Deep-Fact-Table/m-p/1238344#M851335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will need to try it practically which way worked best related to your biggest bottleneck (probably the UI performance). I hope this is useful for you: &lt;A href="https://community.qlik.com/message/1077255"&gt;Re: Data Model Question - Fat or Thin Fact table?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 19:45:57 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-03-06T19:45:57Z</dc:date>
    <item>
      <title>Wide or Deep Fact Table?</title>
      <link>https://community.qlik.com/t5/QlikView/Wide-or-Deep-Fact-Table/m-p/1238343#M851334</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;I have quite a few lines of about 8 Mio data records in my fact table. Currently I have about 51 fields in the fact table whereas 8 of those are dimensional keys. So I have around 40 KPIs (some fields in the fact table are additional filters, like toggles).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need to extend my data model and have the following principal question where I could not find a definite answer yet when reading some of the performance tuning blogs, tips, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine all of my KPIs are distinguished by a currency type (group currency vs. local currency). Now, I have build this into different KPIs like 'Sales GC' and 'Sales LC'. When accessing the KPIs in the dashboard I dynamically build the KPIs to be calculated using a variable. So if GC or LC is toggled via a button the KPI name gets dynamically created like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Sales $(vL.Currencytype)), vL.Currencytype gets filled using a trigger on a button with either LC or GC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all works fine, but I am a bit concerned if for instance I have to add additional 10 KPIs which would lead into additional 20 columns of my fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key question for me is: What impacts QV performance more:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 1) doubling the number or rows in a fact table by having a field with the value LC or GC and using the field within Set Analysis statements as additional filter?&lt;/P&gt;&lt;P&gt;Option 2) having double number of columns in the fact table? And even more interesting is if there is a performance impact when reaching a certain number of columns (e.g. &amp;gt;100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume there should be no (or only less) difference on the file size and memory as the amount of data (facts) is the same on both options. I guess it would be interesting to learn how selects are performed and how tables are scanned or accessed within a calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mostly use set analysis and would also have one more field like the currency type. If I would put both fields into the rows I would increase the number of rows by factor of approx. 4 but would have some 25 columns less&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing any experiences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Marcel&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/Wide-or-Deep-Fact-Table/m-p/1238343#M851334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Wide or Deep Fact Table?</title>
      <link>https://community.qlik.com/t5/QlikView/Wide-or-Deep-Fact-Table/m-p/1238344#M851335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will need to try it practically which way worked best related to your biggest bottleneck (probably the UI performance). I hope this is useful for you: &lt;A href="https://community.qlik.com/message/1077255"&gt;Re: Data Model Question - Fat or Thin Fact table?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 19:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wide-or-Deep-Fact-Table/m-p/1238344#M851335</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-06T19:45:57Z</dc:date>
    </item>
  </channel>
</rss>

