<?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 Set analysis with Aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-Aggr/m-p/1730703#M452266</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to implement an existing aggr expression with set analysis.&lt;/P&gt;&lt;P&gt;Sum(Aggr(If(Sum(ABC_field)=0,0,1),XYZ_field))&lt;/P&gt;&lt;P&gt;in this expression, I would like to add one more condition: Year= $(Year)&lt;/P&gt;&lt;P&gt;I have a variable for year.&lt;/P&gt;&lt;P&gt;Could you please advise on how to achieve these two in one set expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2020 16:04:30 GMT</pubDate>
    <dc:creator>aarohipatel</dc:creator>
    <dc:date>2020-07-24T16:04:30Z</dc:date>
    <item>
      <title>Set analysis with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-Aggr/m-p/1730703#M452266</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to implement an existing aggr expression with set analysis.&lt;/P&gt;&lt;P&gt;Sum(Aggr(If(Sum(ABC_field)=0,0,1),XYZ_field))&lt;/P&gt;&lt;P&gt;in this expression, I would like to add one more condition: Year= $(Year)&lt;/P&gt;&lt;P&gt;I have a variable for year.&lt;/P&gt;&lt;P&gt;Could you please advise on how to achieve these two in one set expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 16:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-Aggr/m-p/1730703#M452266</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-24T16:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-Aggr/m-p/1730796#M452273</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, can you try this?:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Year={$(Year)}&amp;gt;} Aggr(If(Sum({&amp;lt;Year={$(Year)}&amp;gt;} ABC_field)=0,0,1),XYZ_field))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jul 2020 09:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-Aggr/m-p/1730796#M452273</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-07-25T09:05:54Z</dc:date>
    </item>
  </channel>
</rss>

