<?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: How to convert my expression into load script ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153642#M629683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerhard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/222908"&gt;RangeSum(Above(RangeSum(Above( Why need repeat twice ?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Finally i got the solution. the expression is with out using range sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2016 00:28:56 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2016-08-03T00:28:56Z</dc:date>
    <item>
      <title>How to convert my expression into load script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153636#M629677</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Table on , my expression is below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum(&lt;/P&gt;&lt;P&gt;Above(RangeSum(Above(Sum({&amp;lt;year, month&amp;gt;}[Amount]*-1), 0, RowNo()))),&lt;/P&gt;&lt;P&gt;-Sum(TOTAL Aggr(Sum({&amp;lt;year, month&amp;gt;}[Amount]*-1), YearMonth)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one advise me how to convert the above expression into load script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that i can have the aP by month table with out expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 07:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153636#M629677</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-07-27T07:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my expression into load script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153637#M629678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My QVW file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 07:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153637#M629678</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-07-27T07:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my expression into load script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153638#M629679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, since I usually do such precalculations further up the datastream (by coding t-SQL stored procedures) i cannot help with any advice on converting your expression to QV script. But i'd STRONGLY recommend to Review your datamodel to make this hillarious clutter more manageable and comprehensible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 09:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153638#M629679</guid>
      <dc:creator>gerhard_jakubec</dc:creator>
      <dc:date>2016-07-29T09:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my expression into load script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153639#M629680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerhart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your input . I did try to clean up and try to make my data model more neat , but it is not possible now . Last month when I try to remove field name company COMPANY into company , immediately 2 days later I get call from my staff the report wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 09:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153639#M629680</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-07-29T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my expression into load script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153640#M629681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before toching the load script i'd invest some time into fully understanding your requirement, chances are good that you can omit precalculations if you understand and optimize your real time kpi expression. After all as far as my understandig goes, pre- calculation / -aggregation is not exactly what qliik was designed for in the first place (real time in memory vs. OLAP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is your expression meant to calculate?&lt;/P&gt;&lt;P&gt;after some Investigation i understand that your exp.. calculates by month the total sum of "Amount" and subtracts the sum of "Amount" from all following months.--&amp;gt; Isn't this the same as accumulating monthly sums ?!? Try this and compare the results ("&lt;SPAN style="color: #800000;"&gt;alternative calculation" has to be the Name of the new expression ! &lt;/SPAN&gt;) :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=Rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Below&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[alternative calculation]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Also verify if the option "Full Accumulation" may be of help in your case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 11:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153640#M629681</guid>
      <dc:creator>gerhard_jakubec</dc:creator>
      <dc:date>2016-08-01T11:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my expression into load script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153641#M629682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerhard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help , i will try to figure out what you said. and try to find way to get solve. But not easy . Like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first time in QV , i encounter such a problem take me so long to solve. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 12:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153641#M629682</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-08-01T12:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my expression into load script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153642#M629683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerhard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/222908"&gt;RangeSum(Above(RangeSum(Above( Why need repeat twice ?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Finally i got the solution. the expression is with out using range sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 00:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-my-expression-into-load-script/m-p/1153642#M629683</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-08-03T00:28:56Z</dc:date>
    </item>
  </channel>
</rss>

