<?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: Calculated value in set analyis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335130#M822202</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;In your script create field for Year&lt;/P&gt;&lt;P&gt;using left(Year,4) as Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In front end use expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year={"$=max(Year))"}&amp;gt;}Value)-&lt;SPAN style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year={"$=max(Year)-1)"}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Prashant &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 09:25:55 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2017-08-02T09:25:55Z</dc:date>
    <item>
      <title>Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335128#M822200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field called Year which uses the format YYYY-YY (e.g. 2010-11) - this cannot be changed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a chart showing average values with the dimension as year and expression 'AVG(Value)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like is to create a chart, still with dimension as year, but the expression should be the average value for that year, minus the average value for the previous year:&lt;/P&gt;&lt;P&gt;AVG(Value) - AVG(PreviousValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get Qlikview to recognise the previous value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can calculate the previous year using the following syntax:&lt;/P&gt;&lt;P&gt;=(LEFT(Year,4)-1) &amp;amp; '-' &amp;amp; (RIGHT(Year,2)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG(Value) - AVG({&amp;lt;Year={'&lt;SPAN style="font-size: 13.3333px;"&gt;(LEFT(Year,4)-1) &amp;amp; '-' &amp;amp; (RIGHT(Year,2)-1)'}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But that doesn't work at all!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;UPDATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have added a new field in the script which I'm hopeful will simplify this, call 'StartYear' which is just the YYYY of 'Year'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My table looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 224px; border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;StartYear&lt;/TD&gt;&lt;TD class="xl63" width="126"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2009&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.898432863&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2010&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.905835632&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2011&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.882654745&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2012&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.903658664&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.930024836&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2014&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.940725491&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2015&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.92200804&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2016&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.896753071&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2017&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.900086453&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;What I want now is an expression which calculated the difference between Value and the value of the previous year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Avg(Value) - Avg({&amp;lt;StartYear={'StartYear-1'}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But that doesn't work...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How do I amend the second part of my expression so that it looks at the previous year?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jessica Webb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335128#M822200</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335129#M822201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; AVG({&amp;lt;Year={'&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;(=(&lt;/STRONG&gt;&lt;/SPAN&gt;LEFT(Year,4)-1) &amp;amp; '-' &amp;amp; (RIGHT(Year,2)-1)&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;'}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 09:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335129#M822201</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-02T09:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335130#M822202</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;In your script create field for Year&lt;/P&gt;&lt;P&gt;using left(Year,4) as Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In front end use expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year={"$=max(Year))"}&amp;gt;}Value)-&lt;SPAN style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year={"$=max(Year)-1)"}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Prashant &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 09:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335130#M822202</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-08-02T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335131#M822203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No luck with that either I'm afraid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 09:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335131#M822203</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T09:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335132#M822204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG({&amp;lt;Year={"$(=(LEFT(Max(Year),4)-1) &amp;amp; '-' &amp;amp; (RIGHT(Max(Year),2)-1))"}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note double outer quotes for the set expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 09:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335132#M822204</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-08-02T09:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335133#M822205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AVG({&amp;lt;Year={"$&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;&lt;SPAN style="color: #000000;"&gt;(=(&lt;/SPAN&gt;LEFT(Year,4)-1) &amp;amp; '-' &amp;amp; (RIGHT(Year,2)-1)&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 09:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335133#M822205</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2017-08-02T09:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335134#M822206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion - it accepts it as an expression (i.e. no errors), but only gives me null values! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 10:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335134#M822206</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T10:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335135#M822207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for the suggestion - it accepts it as an expression (i.e. no errors), but only gives me null values! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 10:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335135#M822207</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T10:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335136#M822208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share sample qvw with mocked data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 10:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335136#M822208</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2017-08-02T10:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335137#M822209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed this almost exactly - have kept my field Year as YYYY-YY as I need it elsewhere, but have created a new field called 'StartYear' which just takes the YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now using your expression as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;avg({&amp;lt;StartYear={"$=max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Start&lt;/SPAN&gt;Year))"}&amp;gt;}Value)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;avg({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Start&lt;/SPAN&gt;Year={"$=max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Start&lt;/SPAN&gt;Year)-1)"}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But not working. Am I missing something?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 10:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335137#M822209</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T10:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335138#M822210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, a correction is needed, double quotes. Try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;AVG({&amp;lt;Year={&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit; color: #ff0000;"&gt;&lt;STRONG style="color: #0000ff; font-style: inherit; font-family: inherit;"&gt;$&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;SPAN style="font-weight: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;&lt;STRONG style="color: #0000ff; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(=(&lt;/STRONG&gt;&lt;/SPAN&gt;LEFT(Year,4)-1) &amp;amp; '-' &amp;amp; (RIGHT(Year,2)-1)&lt;SPAN style="font-weight: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;&lt;STRONG style="color: #0000ff; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;"&lt;/STRONG&gt;}&amp;gt;} Value)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 11:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335138#M822210</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-02T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335139#M822211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still not working unfortunately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have now added a new field into my script &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;called 'StartYear' which just takes the YYYY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hoping I'll get somewhere with that! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 11:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335139#M822211</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T11:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335140#M822212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume, your expression has Typo error. May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;avg({&amp;lt;StartYear={'$&lt;STRONG&gt;(&lt;/STRONG&gt;=max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Start&lt;/SPAN&gt;Year))'}&amp;gt;}Value)-&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;avg({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;Start&lt;/SPAN&gt;Year={'$&lt;STRONG&gt;(&lt;/STRONG&gt;=max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;Start&lt;/SPAN&gt;Year)-1)"}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 11:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335140#M822212</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-02T11:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335141#M822213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have changed the double quotes to single quotes, but that only works for one year (assuming this is because of the Max function). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 13.3333px; font-style: inherit; font-weight: inherit;"&gt;My table looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;" width="98"&gt;StartYear&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;" width="126"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2009&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.898432863&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2010&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.905835632&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2011&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.882654745&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2012&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.903658664&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.930024836&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2014&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.940725491&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.92200804&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.896753071&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl64" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;2017&lt;/TD&gt;&lt;TD align="right" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: inherit;"&gt;0.900086453&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;What I want now is an expression which calculated the difference between Value and the value of the previous year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;So:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Avg(Value) - Avg({&amp;lt;StartYear={'StartYear-1'}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;But that doesn't work...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;How do I amend the second part of my expression so that it looks at the previous year?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 11:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335141#M822213</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T11:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335142#M822214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Second part should be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt; StartYear = {'$(=Max(StartYear-1))'} &amp;gt;} Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Avg({&amp;lt; StartYear = {'$(=AddYears(Max(StartYear),-1))'} &amp;gt;} Value)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 12:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335142#M822214</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-02T12:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335143#M822215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't just want it for Max(StartYear) though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 12:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335143#M822215</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T12:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335144#M822216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you already have start year ,then you can use below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Avg(Value) - Avg({&amp;lt;StartYear={$(=max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;StartYear&lt;/SPAN&gt;)-1)}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 12:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335144#M822216</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-02T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335145#M822217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the outcome I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 572px; border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;StartYear&lt;/TD&gt;&lt;TD class="xl63" width="126"&gt;Value&lt;/TD&gt;&lt;TD class="xl63" width="348"&gt;Avg(Value) - Avg({&amp;lt;StartYear={$(=max(StartYear)-1)}&amp;gt;} Value)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2009&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.898432863&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2010&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.905835632&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2011&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.882654745&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2012&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.903658664&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.930024836&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2014&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.940725491&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2015&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.92200804&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2016&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.896753071&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;0.0000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;2017&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;0.900086453&lt;/TD&gt;&lt;TD class="xl66"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need it to calculate for &lt;STRONG&gt;every&lt;/STRONG&gt; year, not just one!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 12:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335145#M822217</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-08-02T12:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335146#M822218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;try below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Avg(Value) - above(total &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Avg(Value))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 12:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335146#M822218</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-02T12:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated value in set analyis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335147#M822220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jessica,&lt;/P&gt;&lt;P&gt;This seems to easy so I fear I've misunderstood. Have you tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(Avg(Value),-Above(Avg(Value)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 12:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-value-in-set-analyis/m-p/1335147#M822220</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-02T12:27:49Z</dc:date>
    </item>
  </channel>
</rss>

