<?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-use a calculated colunm in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647563#M237149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i want to have a max and min (max evolution and min evolution) value depending on a calculatd colunm (evolution) .&lt;/P&gt;&lt;P&gt;i tried all the expression of evolution&amp;nbsp; in my aggr function and it works . but when i use the name of evolution in my aggr function it returns 0 .&lt;/P&gt;&lt;P&gt;see the sample .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for helping .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Sep 2014 15:40:02 GMT</pubDate>
    <dc:creator>mohamed_ahid</dc:creator>
    <dc:date>2014-09-08T15:40:02Z</dc:date>
    <item>
      <title>re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647563#M237149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i want to have a max and min (max evolution and min evolution) value depending on a calculatd colunm (evolution) .&lt;/P&gt;&lt;P&gt;i tried all the expression of evolution&amp;nbsp; in my aggr function and it works . but when i use the name of evolution in my aggr function it returns 0 .&lt;/P&gt;&lt;P&gt;see the sample .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for helping .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647563#M237149</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2014-09-08T15:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647564#M237150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying to show as Max evoluution? the largest value of the other columns?&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647564#M237150</guid>
      <dc:creator />
      <dc:date>2014-09-08T15:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647565#M237151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Max({1}Aggr((sum({1&amp;lt;week= {"&amp;gt;=$(=1)&amp;lt;=$(=9)"}&amp;gt; } value)-sum({1&amp;lt;week= {"&amp;gt;=$(=10)&amp;lt;=$(=15)"}&amp;gt; } value))/(sum({1&amp;lt;week= {"&amp;gt;=$(=1)&amp;lt;=$(=9)"}&amp;gt; } value)-sum({1&amp;lt;week= {"&amp;gt;=$(=10)&amp;lt;=$(=15)"}&amp;gt; } value)),client))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647565#M237151</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-08T15:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647566#M237152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but why i can re use simply the colunm evolution ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647566#M237152</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2014-09-08T15:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647567#M237153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;in max evolution i should have 1 as value and -1 for min evolution .&lt;/P&gt;&lt;P&gt;my simple is not complete but this will be usefull in other expressions not detailled in this sample &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647567#M237153</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2014-09-08T15:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647568#M237154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because here you have to freeze the selection by using 1 in set analysis which you haven't frozen in your evolution expression...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647568#M237154</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-08T15:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647569#M237155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would imagine its because the Evoulution is generated as a result of one set of "set analysis" commands (ie { $ }) , then you are trying to refernece it by another set. ( {1} )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there are rules around using Calculated expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution provided by Manish is the one I would use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 16:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647569#M237155</guid>
      <dc:creator />
      <dc:date>2014-09-08T16:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: re-use a calculated colunm</title>
      <link>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647570#M237156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you check my reply?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 09:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/re-use-a-calculated-colunm/m-p/647570#M237156</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-15T09:36:18Z</dc:date>
    </item>
  </channel>
</rss>

