<?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 Max Aggr value regardless of selection in field!  Please Help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Aggr-value-regardless-of-selection-in-field-Please-Help/m-p/221760#M502425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I have the following formula that gives me the period with the maximum value:&lt;/P&gt;&lt;P&gt;[CODE]=max(aggr(Sum({$&amp;lt;[4AN - Level 4 Account Name] = {'Non Pay Costs'},Period={'*'}&amp;gt;} Actuals*LY1_Flag),Period))&lt;/P&gt;&lt;P&gt;Problem is I want this to stay the same regardless of any selection in the Period field, I added the Period={'*'} to the set analysis in the hope that this would work but something with the aggr means it still only gives me the max of the current;y selected periods.&lt;/P&gt;&lt;P&gt;Please can anyone advise a way to fix this or do it in another way?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dominic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Dec 2010 16:41:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-13T16:41:21Z</dc:date>
    <item>
      <title>Max Aggr value regardless of selection in field!  Please Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Aggr-value-regardless-of-selection-in-field-Please-Help/m-p/221760#M502425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I have the following formula that gives me the period with the maximum value:&lt;/P&gt;&lt;P&gt;[CODE]=max(aggr(Sum({$&amp;lt;[4AN - Level 4 Account Name] = {'Non Pay Costs'},Period={'*'}&amp;gt;} Actuals*LY1_Flag),Period))&lt;/P&gt;&lt;P&gt;Problem is I want this to stay the same regardless of any selection in the Period field, I added the Period={'*'} to the set analysis in the hope that this would work but something with the aggr means it still only gives me the max of the current;y selected periods.&lt;/P&gt;&lt;P&gt;Please can anyone advise a way to fix this or do it in another way?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dominic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 16:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Aggr-value-regardless-of-selection-in-field-Please-Help/m-p/221760#M502425</guid>
      <dc:creator />
      <dc:date>2010-12-13T16:41:21Z</dc:date>
    </item>
    <item>
      <title>Max Aggr value regardless of selection in field!  Please Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Aggr-value-regardless-of-selection-in-field-Please-Help/m-p/221761#M502426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To ignore the selection on Period, add Period= with no Set Modifier to your Set Analysis.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=max(aggr(Sum({$&amp;lt;[4AN - Level 4 Account Name] = {'Non Pay Costs'},&lt;BR /&gt; Period=&amp;gt;} Actuals*LY1_Flag),Period))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;EDIT: Since you have two aggregate functions, you may need to add Period= to your Max as well. I'm not sure, but if that one doesn't work, you may want to put your Set Analysis in the Max too.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=max({&amp;lt;Period=&amp;gt;}aggr(Sum({$&amp;lt;[4AN - Level 4 Account Name] = {'Non Pay Costs'},&lt;BR /&gt; Period=&amp;gt;} Actuals*LY1_Flag),Period))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 16:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Aggr-value-regardless-of-selection-in-field-Please-Help/m-p/221761#M502426</guid>
      <dc:creator />
      <dc:date>2010-12-13T16:51:36Z</dc:date>
    </item>
    <item>
      <title>Max Aggr value regardless of selection in field!  Please Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Aggr-value-regardless-of-selection-in-field-Please-Help/m-p/221762#M502427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sweet thanks! I did have to add the set analysis to the Max bu that worked really well. &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 16:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Aggr-value-regardless-of-selection-in-field-Please-Help/m-p/221762#M502427</guid>
      <dc:creator />
      <dc:date>2010-12-13T16:59:54Z</dc:date>
    </item>
  </channel>
</rss>

