<?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: aggr() function help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378861#M494888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;somma ($ {&amp;lt;[XSTOCK] = {"S, N"}&amp;gt;} [BO])&amp;nbsp;&amp;nbsp; or&amp;nbsp; Sum (if (XSTOCK = 'S' and XSTOCK = 'N', BO),.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;You don't use the AGGR()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2012 13:40:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-17T13:40:47Z</dc:date>
    <item>
      <title>aggr() function help</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378858#M494885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to using the aggr() function, but I think it can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to come up with the sum(BO) but only for when XSTOCK=S and XSTOCK=N. I attatched a picture of what im working on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you guys have any ideas for an expression that will work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chase&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 13:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378858#M494885</guid>
      <dc:creator />
      <dc:date>2012-08-17T13:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() function help</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378859#M494886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if(XSTOCK='S' and XSTOCK='N',BO) based on your question but that won't work so try replacing 'and' with 'or'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;P&gt;Qlikview Design Blog: &lt;A href="http://QVDesign.wordpress.com"&gt;http://QVDesign.wordpress.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;@QlikviewBI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 13:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378859#M494886</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2012-08-17T13:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() function help</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378860#M494887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds like set analysis not aggr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[XSTOCK]={"S, N"}&amp;gt;} [BO])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 13:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378860#M494887</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-17T13:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() function help</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378861#M494888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;somma ($ {&amp;lt;[XSTOCK] = {"S, N"}&amp;gt;} [BO])&amp;nbsp;&amp;nbsp; or&amp;nbsp; Sum (if (XSTOCK = 'S' and XSTOCK = 'N', BO),.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;You don't use the AGGR()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 13:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378861#M494888</guid>
      <dc:creator />
      <dc:date>2012-08-17T13:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() function help</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378862#M494889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot loannis! It works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll have to look into set analysis a bit more..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 15:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-help/m-p/378862#M494889</guid>
      <dc:creator />
      <dc:date>2012-08-17T15:24:08Z</dc:date>
    </item>
  </channel>
</rss>

