<?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: =Max(..) in chart expression causes &amp;quot;allocated memory exceeded&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-in-chart-expression-causes-quot-allocated-memory-exceeded/m-p/930502#M321746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These documents in might help you find your answers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/variables-in-qlikview/" title="http://www.learnallbi.com/variables-in-qlikview/"&gt;Variables in QlikView | Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 14:52:46 GMT</pubDate>
    <dc:creator>miguelbraga</dc:creator>
    <dc:date>2015-10-20T14:52:46Z</dc:date>
    <item>
      <title>=Max(..) in chart expression causes "allocated memory exceeded"</title>
      <link>https://community.qlik.com/t5/QlikView/Max-in-chart-expression-causes-quot-allocated-memory-exceeded/m-p/930501#M321745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have a Chart dimension containing Max(..), the chart displays "allocated memory exceeded".&lt;/P&gt;&lt;P&gt;If I replace Max(..) with a variable that is defined as Max(..), the chart displays properly.&lt;/P&gt;&lt;P&gt;Is this a bug in QV or in my usage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression that does not work:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=IF( (YM + 103 ) &amp;gt;= Max(YM),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; FYear &amp;amp; '-' &amp;amp; CalendarMonth,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; Null()&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Expression that works:&lt;/P&gt;&lt;P&gt;=IF( (YM + 103 ) &amp;gt;= $(vMaxYM),&lt;/P&gt;&lt;P&gt;&amp;nbsp; FYear &amp;amp; '-' &amp;amp; CalendarMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Null()&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;QV 11 SR9&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-in-chart-expression-causes-quot-allocated-memory-exceeded/m-p/930501#M321745</guid>
      <dc:creator />
      <dc:date>2015-10-20T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: =Max(..) in chart expression causes "allocated memory exceeded"</title>
      <link>https://community.qlik.com/t5/QlikView/Max-in-chart-expression-causes-quot-allocated-memory-exceeded/m-p/930502#M321746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These documents in might help you find your answers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/variables-in-qlikview/" title="http://www.learnallbi.com/variables-in-qlikview/"&gt;Variables in QlikView | Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-in-chart-expression-causes-quot-allocated-memory-exceeded/m-p/930502#M321746</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2015-10-20T14:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: =Max(..) in chart expression causes "allocated memory exceeded"</title>
      <link>https://community.qlik.com/t5/QlikView/Max-in-chart-expression-causes-quot-allocated-memory-exceeded/m-p/930503#M321747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it might be useful to see an example document, but I have a couple of observations to start with anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off in your first expression, have you tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;=IF( (YM + 103 ) &amp;gt;= &lt;STRONG&gt;$(=&lt;/STRONG&gt;Max(YM)&lt;STRONG&gt;)&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&amp;nbsp; FYear &amp;amp; '-' &amp;amp; CalendarMonth,&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&amp;nbsp; Null()&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;I'm not sure if there might be an issue with the aggregation within your dimension.&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;Secondly, and probably more significant:&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;Have you tried changing your expression?&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;In the set for your expression you could add something like&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;YM={"&amp;gt;=$(=Max(YM)-103)"}&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;That way you may be able to do without a calculated dimension, or at least change your calculated dimension to just FYear &amp;amp; '-' &amp;amp; CalendarMonth&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;, which would be preferable.&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-in-chart-expression-causes-quot-allocated-memory-exceeded/m-p/930503#M321747</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2015-10-20T14:56:14Z</dc:date>
    </item>
  </channel>
</rss>

