<?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 Sum based on expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-based-on-expression/m-p/358981#M1172935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like your "Range" should be a calculated dimension rather than an expression. Also, the syntax above for Range won't work in QV since you have nested aggregation. Try taking this to a calculated dimension (using function aggr over dimension Member probably). The expression of the chart would just be sum(Members)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2012 17:02:10 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2012-05-18T17:02:10Z</dc:date>
    <item>
      <title>Sum based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-based-on-expression/m-p/358980#M1172934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression called Range which is equal to &lt;/P&gt;&lt;P&gt;if(((sum(Final_amt/sum(avg_amt))/rate)&amp;lt;=.80,'A', if(((sum(Final_amt)/sum(avg_amt))/rate)&amp;gt;.90,'B','C')) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create another summation similar to this &lt;/P&gt;&lt;P&gt;sum(total &amp;lt;Range&amp;gt; Members) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this even possible? if not what can I do to work around this.... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 16:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-based-on-expression/m-p/358980#M1172934</guid>
      <dc:creator />
      <dc:date>2012-05-18T16:25:18Z</dc:date>
    </item>
    <item>
      <title>Sum based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-based-on-expression/m-p/358981#M1172935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like your "Range" should be a calculated dimension rather than an expression. Also, the syntax above for Range won't work in QV since you have nested aggregation. Try taking this to a calculated dimension (using function aggr over dimension Member probably). The expression of the chart would just be sum(Members)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 17:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-based-on-expression/m-p/358981#M1172935</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-05-18T17:02:10Z</dc:date>
    </item>
  </channel>
</rss>

