<?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: Advanced Expression in QlikView Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026679#M346982</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;Thank you for clarifying your response; I was a little confused at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now realize that my equation cannot be (easily) completed in the load script. I am going to look into Aggregated Set Analysis to try and use variables within the app itself. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2016 15:38:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-05T15:38:58Z</dc:date>
    <item>
      <title>Advanced Expression in QlikView Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026675#M346978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have asked this question before, however, it has still not been resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add an expression in the Load Script, but when I execute the script I continue to get the error 'invalid expression.' I am not sure how to proceed and could use some help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Cashflow Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SQRT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pow&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;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),2))/(&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: #0000ff; font-size: 8pt;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,2))*&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0, -1, 1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Cashflow Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; 'Mortality - Volatility Shock' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Cashflow Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;File;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 13:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026675#M346978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T13:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expression in QlikView Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026676#M346979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I'll copy my reply from the previous discussion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;And this one may cause your problem as well, since these occurrences of Cashflow are not listed in the GROUP BY clause and not embedded in an aggregation function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt;.../(sum(pow(Cashflow,2))*&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Cashflow&lt;/STRONG&gt;))*If(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Cashflow &lt;/STRONG&gt;&amp;lt; 0, -1, 1) &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'courier new', courier;"&gt;as...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; "&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Field Cashflow is used both inside and outside of an aggregation function. Can't do this in a query language as the query engine wouldn't know which value to take for the fields outside of an aggregation function. &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;The best thing you can do is put all occurrences of Cashflow (especially the sign check) inside the aggregation functions (both sum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Peter&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 14:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026676#M346979</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-05T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expression in QlikView Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026677#M346980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an example, try to calculate the resulting row of this source table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'courier new', courier;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Product Type&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'courier new', courier;"&gt;Cashflow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'courier new', courier;"&gt;2015, North, Box1,&amp;nbsp; Toy,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'courier new', courier;"&gt;2015, North, Box1,&amp;nbsp; Toy,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +5000&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;The GROUP BY clause will reduce these rows into a single one with these field values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'courier new', courier;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Product Type&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'courier new', courier;"&gt;Cashflow Type,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cashflow&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2015, North, Box1,&amp;nbsp;&amp;nbsp; Toy,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mortality - Volatility Shock, ???&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;But what should go into CashFlow? What will be the result of your Cashflow sign test if you've got both a positive as well as a negative value to choose from?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Peter&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 14:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026677#M346980</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-05T14:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expression in QlikView Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026678#M346981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Peter, the expression have some parts where expects many values of cashflow while other need an alone value, that will return the 'invalid expression' error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression won't return an error but it's not what you want, I only set as an example:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SQRT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pow&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;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),2))/(&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: #0000ff; font-size: 8pt;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,2))*&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0, -1, 1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those 'Sum()' tells QV what to do with the different values, you'll need to think another way to calculate that, in example if your last 'if' is trying to convert the result to always positive you can enclose all the expression in a fabs() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabs(&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SQRT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pow&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;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),2))/(&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: #0000ff; font-size: 8pt;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,2))*&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cashflow&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Although it will return the positive of the resultant expression, not for each Cashflow value as your original expression tries to do, again, just an example of valid expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 14:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026678#M346981</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-01-05T14:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expression in QlikView Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026679#M346982</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;Thank you for clarifying your response; I was a little confused at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now realize that my equation cannot be (easily) completed in the load script. I am going to look into Aggregated Set Analysis to try and use variables within the app itself. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 15:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026679#M346982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T15:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expression in QlikView Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026680#M346983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to be of assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 16:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026680#M346983</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-05T16:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expression in QlikView Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026681#M346984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;You can mark your two discussions as "Presumed Answered", just to make sure that the dicussions are closed. The Helpfull's can be assigned using the Actions menu entry in each reply.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 16:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expression-in-QlikView-Load-Script/m-p/1026681#M346984</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-05T16:37:21Z</dc:date>
    </item>
  </channel>
</rss>

