<?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 Moving day average chart - Allocated memory exceeded in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204179#M61195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can't use Set Analysis, you can still improve your chart performance with calculated flags as opposed to IF statements. You already have a 3 Months Flag. Now, create another flag for Weekday &amp;lt; 5, and your expression could look like:&lt;/P&gt;&lt;P&gt;sum(Revenue * [3 Months Flag] * Weekday_Flag)&lt;/P&gt;&lt;P&gt;With this expression, you don't need your heavy calculated dimension anymore.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Apr 2010 21:20:59 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2010-04-09T21:20:59Z</dc:date>
    <item>
      <title>Moving day average chart - Allocated memory exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204175#M61191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am preparing 10 days/20 days moving average chart which is a combination of bar and lines&lt;/P&gt;&lt;P&gt;added this dimension -&lt;/P&gt;&lt;P&gt;=if(RollingThreeMonthsFlag=1 and weekday(REPORTING_DATE)&amp;lt;5, Date(REPORTING_DATE,'DD-MMM'))&lt;/P&gt;&lt;P&gt;and these expressions -&lt;/P&gt;&lt;P&gt;Last3Months=sum(RollingThreeMonthsFlag*AM_NET_CVA_ASGN_DELTA) //Invisible&lt;/P&gt;&lt;P&gt;Daily CV=Column(1) //Bar&lt;/P&gt;&lt;P&gt;10 Day Mov Avg=if(rowno()&amp;gt;9, rangeavg(above(Column(1),1,10))) //line&lt;/P&gt;&lt;P&gt;20 Day Mov Avg=if(rowno()&amp;gt;19, rangeavg(above(Column(1),1,20))) //line&lt;/P&gt;&lt;P&gt;It was working till last week (although refresh time was slow) and now it gives memory error.&lt;/P&gt;&lt;P&gt;It seems that since I am using rangeavg(), selecting Suppress Zero-Values has no effect. Otherwise I would have just used REPORTING_DATE as dimension and restricted the data for last 3 months using expressions.&lt;/P&gt;&lt;P&gt;Would appreciate if someone can provide a better way to handle this situation!&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 17:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204175#M61191</guid>
      <dc:creator />
      <dc:date>2010-04-06T17:12:48Z</dc:date>
    </item>
    <item>
      <title>Moving day average chart - Allocated memory exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204176#M61192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bump!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 15:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204176#M61192</guid>
      <dc:creator />
      <dc:date>2010-04-08T15:35:51Z</dc:date>
    </item>
    <item>
      <title>Moving day average chart - Allocated memory exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204177#M61193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Too many IFs, too many heavy calculations... Those experts that advise people to use IF formulas, are really creating a lot of confusion...&lt;/P&gt;&lt;P&gt;One simplification that I would advise is this:&lt;/P&gt;&lt;P&gt;Since you already have your "Three rolling months" flag calculated, you don't need to use Calculated Dimension. Simply use your DATE as a dimension and only limit the "3 months" within the expression. You can also check for the weekday to be &amp;lt;=5 within the expression, using Set Analysis. Can't guarantee the syntax, but something along the following lines:&lt;/P&gt;&lt;P&gt;sum( {&amp;lt; DATE = {"=weekday(DATE)&amp;lt;=5"}, MyFlag = {1} &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 05:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204177#M61193</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-04-09T05:09:49Z</dc:date>
    </item>
    <item>
      <title>Moving day average chart - Allocated memory exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204178#M61194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately we are still using QV 8.2 [:'(]&lt;/P&gt;&lt;P&gt;Recently upgraded QV server to 9 and new plugin roll out is still in progress...&lt;/P&gt;&lt;P&gt;But thank you for the suggestion! This would help me update the chart once we are completely in QV 9!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 18:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204178#M61194</guid>
      <dc:creator />
      <dc:date>2010-04-09T18:58:07Z</dc:date>
    </item>
    <item>
      <title>Moving day average chart - Allocated memory exceeded</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204179#M61195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can't use Set Analysis, you can still improve your chart performance with calculated flags as opposed to IF statements. You already have a 3 Months Flag. Now, create another flag for Weekday &amp;lt; 5, and your expression could look like:&lt;/P&gt;&lt;P&gt;sum(Revenue * [3 Months Flag] * Weekday_Flag)&lt;/P&gt;&lt;P&gt;With this expression, you don't need your heavy calculated dimension anymore.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 21:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-day-average-chart-Allocated-memory-exceeded/m-p/204179#M61195</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-04-09T21:20:59Z</dc:date>
    </item>
  </channel>
</rss>

