<?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: Expression: sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399046#M1152030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First explain what is this Z....M..???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 03:11:24 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2013-04-25T03:11:24Z</dc:date>
    <item>
      <title>Expression: sum</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399044#M1152028</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;Im having difficulties on the expression syntax. I have 1 table for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE_A&lt;/P&gt;&lt;P&gt;Fields are : AA, AB, AC, AD, AE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i get the total of AA ...when AA is ....when AB=Z and when AB=M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum of Z) - (sum of M)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how i did it..but there is syntax error. kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(sum (AB={Z}&amp;gt; } AA) - sum (AB={M}&amp;gt;} AA))&lt;/SPAN&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 02:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399044#M1152028</guid>
      <dc:creator />
      <dc:date>2013-04-25T02:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expression: sum</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399045#M1152029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the scenario is just the same like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum( {$&amp;lt;Year={&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, Month = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(Month))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, Plant = {'0001', '0002', '0003', '0004'}, Type = {111}&amp;gt;} Qty)&lt;BR /&gt;&lt;BR /&gt;-sum( {$&amp;lt;Year={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, Month = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(Month))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&amp;nbsp; Plant = {'0001', '0002', '0003', '0004'}, Type = {112}&amp;gt;} Qty)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 02:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399045#M1152029</guid>
      <dc:creator />
      <dc:date>2013-04-25T02:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression: sum</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399046#M1152030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First explain what is this Z....M..???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 03:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399046#M1152030</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-04-25T03:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression: sum</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399047#M1152031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did got your exact requriment, but try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;AB={Z}&amp;gt;}AA) - Sum{&amp;lt;AB={M}&amp;gt;AA}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 04:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-sum/m-p/399047#M1152031</guid>
      <dc:creator />
      <dc:date>2013-04-25T04:13:05Z</dc:date>
    </item>
  </channel>
</rss>

