<?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 Out of Calculation Memory error in Straight Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Out-of-Calculation-Memory-error-in-Straight-Table/m-p/137592#M9668</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;I am new to Qlik Sense and I have an urgent requirement as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A straight table with 16 columns out of which 11 columns are dimensions and 5 columns are calculated measures. &lt;/P&gt;&lt;P&gt;Measure Expression is as below &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(GetFieldSelections(Category)='TV',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;OrderYear = {$(=max(OrderYear))}, OrderMonth = {"&amp;lt;=$(=max({&amp;lt;OrderYear={$(=max(OrderYear))}&amp;gt;} OrderMonth))"}&amp;gt;} Sales*1)/1000,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;l&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(GetFieldSelections(Category)='Laptop',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;OrderYear = {$(=max(OrderYear))}, OrderMonth = {"&amp;lt;=$(=max({&amp;lt;OrderYear={$(=max(OrderYear))}&amp;gt;} OrderMonth))"}&amp;gt;} Sales*2)/1000,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(GetFieldSelections(Category)='Desktop',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;OrderYear = {$(=max(OrderYear))}, OrderMonth = {"&amp;lt;=$(=max({&amp;lt;OrderYear={$(=max(OrderYear))}&amp;gt;} OrderMonth))"}&amp;gt;} Sales*1)/1000)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now my straight table is throwing "&lt;STRONG&gt;Out of Calculation Memory error&lt;/STRONG&gt;". So, I am trying to load the expression into a variable in the load script but I have no idea on how to do this.&lt;/P&gt;&lt;P&gt;Can someone suggest me how to load this expression into a variable in the load script and then call that variable in the measure in the straight table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2018 12:48:39 GMT</pubDate>
    <dc:creator>ramya_grandhi</dc:creator>
    <dc:date>2018-10-25T12:48:39Z</dc:date>
    <item>
      <title>Out of Calculation Memory error in Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Out-of-Calculation-Memory-error-in-Straight-Table/m-p/137592#M9668</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;I am new to Qlik Sense and I have an urgent requirement as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A straight table with 16 columns out of which 11 columns are dimensions and 5 columns are calculated measures. &lt;/P&gt;&lt;P&gt;Measure Expression is as below &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(GetFieldSelections(Category)='TV',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;OrderYear = {$(=max(OrderYear))}, OrderMonth = {"&amp;lt;=$(=max({&amp;lt;OrderYear={$(=max(OrderYear))}&amp;gt;} OrderMonth))"}&amp;gt;} Sales*1)/1000,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;l&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(GetFieldSelections(Category)='Laptop',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;OrderYear = {$(=max(OrderYear))}, OrderMonth = {"&amp;lt;=$(=max({&amp;lt;OrderYear={$(=max(OrderYear))}&amp;gt;} OrderMonth))"}&amp;gt;} Sales*2)/1000,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(GetFieldSelections(Category)='Desktop',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;OrderYear = {$(=max(OrderYear))}, OrderMonth = {"&amp;lt;=$(=max({&amp;lt;OrderYear={$(=max(OrderYear))}&amp;gt;} OrderMonth))"}&amp;gt;} Sales*1)/1000)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now my straight table is throwing "&lt;STRONG&gt;Out of Calculation Memory error&lt;/STRONG&gt;". So, I am trying to load the expression into a variable in the load script but I have no idea on how to do this.&lt;/P&gt;&lt;P&gt;Can someone suggest me how to load this expression into a variable in the load script and then call that variable in the measure in the straight table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 12:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Out-of-Calculation-Memory-error-in-Straight-Table/m-p/137592#M9668</guid>
      <dc:creator>ramya_grandhi</dc:creator>
      <dc:date>2018-10-25T12:48:39Z</dc:date>
    </item>
  </channel>
</rss>

