<?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: Allocated memory exceeded error in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Allocated-memory-exceeded-error-in-pivot-table/m-p/928374#M321190</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;I had added the similar Aggr expression in other pivot table, there it is working fine.&lt;/P&gt;&lt;P&gt;So i copied that pivot table and added this table dimension and expressions in that other pivot table and it is working fine. I don't know what is the problem with the pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 07:18:19 GMT</pubDate>
    <dc:creator>udaya_kumar</dc:creator>
    <dc:date>2015-11-18T07:18:19Z</dc:date>
    <item>
      <title>Allocated memory exceeded error in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Allocated-memory-exceeded-error-in-pivot-table/m-p/928372#M321188</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;I have a pivot table with 5 dimensions and an expression.&lt;/P&gt;&lt;P&gt;I have added 4 field dimension and 1 calculated dimension.&lt;/P&gt;&lt;P&gt;If i add all field dimension, then the pivot table shows data, if i add one calculated dimension like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Only({&amp;lt;Date={"&amp;gt;=$(=Date(MonthStart(AddMonths(Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;),-11)),'MMM-YY'))&amp;lt;=$(=Date(MonthEnd(Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;)),'MMM-YY'))"}&amp;gt;}&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;),&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i add the above expression in dimension, I am getting "Allocated memory exceeded" error, but if add Date as the dimension, then it works fine. What is the issue here?&lt;/P&gt;&lt;P&gt;Can someone please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 06:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Allocated-memory-exceeded-error-in-pivot-table/m-p/928372#M321188</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2015-11-18T06:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Allocated memory exceeded error in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Allocated-memory-exceeded-error-in-pivot-table/m-p/928373#M321189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that your date field has a time component as well, therefore it has a high cardinality and the vector created by Aggr() is massive (and running out of memory).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you load the date, drop the time component or split out the time if you need the time value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...Date(Floor(SourceDateField)) As Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...Time(Frac(&lt;SPAN style="font-size: 13.3333px;"&gt;SourceDateField)) As Time,&amp;nbsp; // if you need the time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Note the Date() function does not truncate the time part - it merely formats the value. You need the Floor() to do that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will simplify the Aggr() calculation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 07:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Allocated-memory-exceeded-error-in-pivot-table/m-p/928373#M321189</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-11-18T07:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Allocated memory exceeded error in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Allocated-memory-exceeded-error-in-pivot-table/m-p/928374#M321190</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;I had added the similar Aggr expression in other pivot table, there it is working fine.&lt;/P&gt;&lt;P&gt;So i copied that pivot table and added this table dimension and expressions in that other pivot table and it is working fine. I don't know what is the problem with the pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 07:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Allocated-memory-exceeded-error-in-pivot-table/m-p/928374#M321190</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2015-11-18T07:18:19Z</dc:date>
    </item>
  </channel>
</rss>

