<?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 and Set Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-and-Set-Expression/m-p/384669#M143696</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 need to sync the scaling in different graphs which reside in different Alternate Selection Sets. These are named S1, S2 etc. So instead of using $ I need to use [Alternate Set Name].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 06:51:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-06T06:51:22Z</dc:date>
    <item>
      <title>Aggr and Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Set-Expression/m-p/384667#M143694</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 stuck with the Aggr function which tends to return nothing instead of my requested value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also a bit confused as of where to place the set expression and whether to use max or rangemax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =max ( Aggr( sum( { [S1] &amp;lt;AccountID={1200} &amp;gt;} Value), Year) )&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =rangemax ( Aggr ( sum( { [S1] &amp;lt;AccountID={1200} &amp;gt;} Value), Year) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;placing the set after Aggr shows me the red underline on the first "{" so I assume the documentation is incorrect which states that I can use a set expression after Aggr?&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =max ( Aggr( {[S1] &amp;lt;AccountID={1200} &amp;gt;} sum(Value), Year) )&lt;/P&gt;&lt;P&gt;4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =rangemax( Aggr( {[S1] &amp;lt;AccountID={1200} &amp;gt;} sum(Value), Year )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried&lt;/P&gt;&lt;P&gt;5)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =max({[S1] &amp;lt;AccountID={1200} &amp;gt;} Aggr(sum(Value), Year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it also with using other dimensions than Year and some of them returned results but I can't figure out where I am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 06:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Set-Expression/m-p/384667#M143694</guid>
      <dc:creator />
      <dc:date>2012-09-06T06:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr and Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Set-Expression/m-p/384668#M143695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is [S1]?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 06:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Set-Expression/m-p/384668#M143695</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-06T06:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr and Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Set-Expression/m-p/384669#M143696</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 need to sync the scaling in different graphs which reside in different Alternate Selection Sets. These are named S1, S2 etc. So instead of using $ I need to use [Alternate Set Name].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 06:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Set-Expression/m-p/384669#M143696</guid>
      <dc:creator />
      <dc:date>2012-09-06T06:51:22Z</dc:date>
    </item>
  </channel>
</rss>

