<?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 AW:Re: AW:Re: Maximum aggregation Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211236#M65563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen!&lt;/P&gt;&lt;P&gt;Thanks a lot for your help. The TOTAL Qualifier helped.&lt;/P&gt;&lt;P&gt;Even though for all the want to try that it has to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Max(AGGR(Sum(TOTAL Sales), Month))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;thanks to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;andi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 20:25:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-08T20:25:03Z</dc:date>
    <item>
      <title>Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211228#M65555</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'd like to dynamically change the scale of my axis by using the max min Values in the Axis Tab.&lt;/P&gt;&lt;P&gt;I think it would be the best to get the max of an aggregated Value.What I want to do is something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;max(aggr(sum(Sales), Month))&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;to get the highest Sales Value of an Month!!&lt;/P&gt;&lt;P&gt;Unfortunatly that doesn't work! Any Ideas?&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;andi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211228#M65555</guid>
      <dc:creator />
      <dc:date>2009-10-08T18:15:27Z</dc:date>
    </item>
    <item>
      <title>Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211229#M65556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andi,&lt;/P&gt;&lt;P&gt;here is an idea (See the second sheet "Axes").&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211229#M65556</guid>
      <dc:creator />
      <dc:date>2009-10-08T19:03:46Z</dc:date>
    </item>
    <item>
      <title>Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211230#M65557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. try adding a equal sign "=" in front of the formula&lt;/P&gt;&lt;P&gt;2. try using "total" qualifiers, to "break out" of the chart dimension values&lt;/P&gt;&lt;P&gt;I remember doing something similar once, and it worked for me. Once you make it work, you'll want to add a bit on top of the maximum, to allow the maximum value to be displayed nicely within the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211230#M65557</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-10-08T19:05:22Z</dc:date>
    </item>
    <item>
      <title>Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211231#M65558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;First remember to take off the "Forced 0" checkbox in the Axes tab - otherwise the Min expression will not work.&lt;/P&gt;&lt;P&gt;Does that AGGR expression match your chart? I mean, is the chart dimension Month and the expression Sum(Sales)?&lt;/P&gt;&lt;P&gt;If it is then this should work to set the max / min of the chart. If not then you need to adjust the AGGR to match your chart - include all the dimensions that your chart uses.&lt;/P&gt;&lt;P&gt;You might also want to do something like multiply the Max by 1.01 and the Min by 0.99 - just so that you can see the Bar/line/etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211231#M65558</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-10-08T19:08:56Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211232#M65559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer. But as you can see on the screenshot the value isn't correct somehow. The value i looked for should be 204,679 on every month. But Thanks a lot anyway!!&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0825.max_5F00_aggr.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0825.max_5F00_aggr.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211232#M65559</guid>
      <dc:creator />
      <dc:date>2009-10-08T19:23:18Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211233#M65560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andreas,&lt;/P&gt;&lt;P&gt;as you see i added 50.000.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211233#M65560</guid>
      <dc:creator />
      <dc:date>2009-10-08T19:32:26Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211234#M65561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen!&lt;/P&gt;&lt;P&gt;This brilliantly solved my axis Problem. Even though I got curious how to get the max aggregated values in General? Is there a SetAnalysis way?&lt;/P&gt;&lt;P&gt;It should do something like this for every Dimension&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5428.max_5F00_aggr.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5428.max_5F00_aggr.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211234#M65561</guid>
      <dc:creator />
      <dc:date>2009-10-08T19:36:37Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211235#M65562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not 100% sure what your question is here but I am guessing that when you put the expression:&lt;/P&gt;&lt;P&gt;Max(AGGR(Sum(Sales), Month))&lt;/P&gt;&lt;P&gt;into your straight table then you are seeing the exact same value as the Sum(Sales) for each month. This is because the AGGR is being calculated for each month within the chart - it "respects" the dimensions of the chart.&lt;/P&gt;&lt;P&gt;You need to add the TOTAL qualifier to have the AGGR ignore the dimension:&lt;/P&gt;&lt;P&gt;Max(AGGR(TOTAL Sum(Sales), Month))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211235#M65562</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-10-08T19:57:36Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Re: Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211236#M65563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen!&lt;/P&gt;&lt;P&gt;Thanks a lot for your help. The TOTAL Qualifier helped.&lt;/P&gt;&lt;P&gt;Even though for all the want to try that it has to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Max(AGGR(Sum(TOTAL Sales), Month))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;thanks to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;andi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211236#M65563</guid>
      <dc:creator />
      <dc:date>2009-10-08T20:25:03Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Re: Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211237#M65564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Max(AGGR(Sum(TOTAL Sales), Month))&lt;/P&gt;&lt;P&gt;is just the same as&lt;/P&gt;&lt;P&gt;Sum(TOTAL Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211237#M65564</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-10-08T20:34:36Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Maximum aggregation Value</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211238#M65565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your excel example a couple posts up, you show a row consisting of the max value repeated over all months. Are you trying to show what Sales would have been if all months were the max value? If so, your formula would have to look like this:&lt;/P&gt;&lt;P&gt;=Sum(aggr(Max(Total aggr(Sum(Sales), Month)), Month))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 22:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-aggregation-Value/m-p/211238#M65565</guid>
      <dc:creator />
      <dc:date>2009-10-08T22:50:57Z</dc:date>
    </item>
  </channel>
</rss>

