<?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 Aggr in if statement within set analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-in-if-statement-within-set-analysis/m-p/1047113#M940230</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;i am new in qlikview, i have some question. in expression if i use this query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(Month=Contract_Month and Year=Contract_Year,sum({&amp;lt;Scope={'Marketing'},MaterialTypeSales={'CPO'},DataVersion={'1'}&amp;gt;}Qty)),Month,Year,Contract_Month,Contract_Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's showing the Sum(Qty).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i remove the aggregation, why the calculation is false / not showing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2016 09:13:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-04T09:13:34Z</dc:date>
    <item>
      <title>Aggr in if statement within set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-if-statement-within-set-analysis/m-p/1047113#M940230</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;i am new in qlikview, i have some question. in expression if i use this query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(Month=Contract_Month and Year=Contract_Year,sum({&amp;lt;Scope={'Marketing'},MaterialTypeSales={'CPO'},DataVersion={'1'}&amp;gt;}Qty)),Month,Year,Contract_Month,Contract_Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's showing the Sum(Qty).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i remove the aggregation, why the calculation is false / not showing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 09:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-if-statement-within-set-analysis/m-p/1047113#M940230</guid>
      <dc:creator />
      <dc:date>2016-02-04T09:13:34Z</dc:date>
    </item>
  </channel>
</rss>

