<?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: Using a pivot table for large amounts of data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-pivot-table-for-large-amounts-of-data/m-p/563439#M210258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are trying to pivot 1.5 billion records across all the dimensions since the Item key is your only key joining all the tables.&amp;nbsp;&amp;nbsp; That doesn't sound like a Star schema.&amp;nbsp;&amp;nbsp;&amp;nbsp; The only join for a key like the item key is between the product dimension and the fact table.&amp;nbsp;&amp;nbsp; The rest of the dimensions should use their own surggate keys to their foreign keys in the fact table.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You're basically associating all fields against all fields 5 times.&amp;nbsp;&amp;nbsp;&amp;nbsp; I can't see how that would work or be worth analyzing the results.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 21:11:57 GMT</pubDate>
    <dc:creator>Tony_Strano</dc:creator>
    <dc:date>2013-07-11T21:11:57Z</dc:date>
    <item>
      <title>Using a pivot table for large amounts of data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-pivot-table-for-large-amounts-of-data/m-p/563438#M210257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how i can solve the following problem;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a star schema in qlikview and all the data is connected by an item_id as a key from all the tables to my product data table. One of the table is called item_attribute_value which has item to attribute and attribute to value relationships and the data from that table is about 300 million rows. I load the same data from the mentioned table 5 times and call the tables item_attribute_value_1 to item_attribute_value_5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to pivot the data like the following;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item -&amp;gt; Attribute_1-&amp;gt;Value_1-&amp;gt;Attribute_2-&amp;gt;Value_2-&amp;gt;Attribute_3-&amp;gt;Value_3-&amp;gt;Attribute_4-&amp;gt;Value_4-&amp;gt;Attribute_5-&amp;gt;Value_5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i try to do this using the Item,Attribute_1,Attribute_2,Attribute_3,Attribute_4,Attribute_5 as my dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and maxString(Value_1),maxString(Value_2),maxString(Value_3),maxString(Value_4),maxString(Value_5) as my expressions then the pivot table never loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using list boxes for each attribute_1 to attribute 5 and Value_1 to Value_5 but that results in a vertical relationship and i would like the horizontal&lt;/P&gt;&lt;P&gt;relationship based off the item like how a pivot table gives me when i just to Item-&amp;gt;Attribute_1-&amp;gt;maxString(Value_1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also tried using a table box but it also can not handle that much data and results in a cross across the table object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate any help i can get on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 20:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-pivot-table-for-large-amounts-of-data/m-p/563438#M210257</guid>
      <dc:creator />
      <dc:date>2013-07-11T20:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using a pivot table for large amounts of data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-pivot-table-for-large-amounts-of-data/m-p/563439#M210258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are trying to pivot 1.5 billion records across all the dimensions since the Item key is your only key joining all the tables.&amp;nbsp;&amp;nbsp; That doesn't sound like a Star schema.&amp;nbsp;&amp;nbsp;&amp;nbsp; The only join for a key like the item key is between the product dimension and the fact table.&amp;nbsp;&amp;nbsp; The rest of the dimensions should use their own surggate keys to their foreign keys in the fact table.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You're basically associating all fields against all fields 5 times.&amp;nbsp;&amp;nbsp;&amp;nbsp; I can't see how that would work or be worth analyzing the results.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 21:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-pivot-table-for-large-amounts-of-data/m-p/563439#M210258</guid>
      <dc:creator>Tony_Strano</dc:creator>
      <dc:date>2013-07-11T21:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using a pivot table for large amounts of data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-pivot-table-for-large-amounts-of-data/m-p/563440#M210259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. It is very helpful. This is the scenario of my problem;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An item can have many attributes and we are loading a maximum of 5 attributes per item, each attribute can have many values and we are loading a maximum of 5 values per item. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say my item is a ruler and a ruler can be described with a color,length,width and so on and a color can be green,red and so on and length can have many values to, same thing with width. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want users to be able to pick an item which is a ruler in this case and then pick color which will be in attribute_1, pick a red under value_1 and can also pick length under attribute_2 and 10 inches under value_2 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is really what i am trying to do. all the rest of the data in my application is connected through an item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Per your suggestion i have decided to only join item_attr_value_1&amp;nbsp; to product data and join the rest of the item attribute values tables to item_attr_value_1 instead of joining them in the product data table like i was doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 22:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-pivot-table-for-large-amounts-of-data/m-p/563440#M210259</guid>
      <dc:creator />
      <dc:date>2013-07-11T22:06:28Z</dc:date>
    </item>
  </channel>
</rss>

