<?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 function set analysis VS if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function-set-analysis-VS-if/m-p/602902#M683917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain whats the difference between these 2 expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) sum({&amp;lt;Confirmed={'1'}&amp;gt;}aggr((($(vTimeSheetTime)+$(vApprovedTime)+$(vForecast))*[Project Day Rate]),ProjectCode,ConsultingMonth,Product,Sector))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) sum(aggr(if(Confirmed=1,(($(vTimeSheetTime)+$(vApprovedTime)+$(vForecast))*[Project Day Rate])),ProjectCode,ConsultingMonth,Product,Sector))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems my report does work only with the 2) expression even though i don't have any confirmed codes at all.&lt;/P&gt;&lt;P&gt;If I use the first expression I just get the total of the current selection and qlikview seems to ignore set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 10:54:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-19T10:54:07Z</dc:date>
    <item>
      <title>Aggr function set analysis VS if</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-set-analysis-VS-if/m-p/602902#M683917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain whats the difference between these 2 expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) sum({&amp;lt;Confirmed={'1'}&amp;gt;}aggr((($(vTimeSheetTime)+$(vApprovedTime)+$(vForecast))*[Project Day Rate]),ProjectCode,ConsultingMonth,Product,Sector))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) sum(aggr(if(Confirmed=1,(($(vTimeSheetTime)+$(vApprovedTime)+$(vForecast))*[Project Day Rate])),ProjectCode,ConsultingMonth,Product,Sector))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems my report does work only with the 2) expression even though i don't have any confirmed codes at all.&lt;/P&gt;&lt;P&gt;If I use the first expression I just get the total of the current selection and qlikview seems to ignore set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-set-analysis-VS-if/m-p/602902#M683917</guid>
      <dc:creator />
      <dc:date>2014-02-19T10:54:07Z</dc:date>
    </item>
  </channel>
</rss>

