<?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(Max()) help please in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-Max-help-please/m-p/360702#M1174986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer to my problem.&amp;nbsp; I will post it below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;IF&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;ONLY(TOTAL&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+8,RGB(60,105,225),&lt;BR /&gt;IF(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;ONLY(TOTAL&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-8,LightRed(),&lt;BR /&gt;IF(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;ONLY(TOTAL&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-4,Yellow(),))) &lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This solved the problem and carried the correct formatting all the way across the pivot table regardless of the absence of data in a given week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2013 16:04:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-05T16:04:05Z</dc:date>
    <item>
      <title>AGGR(Max()) help please</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Max-help-please/m-p/360701#M1174985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the expression in the Background color of my WOS field in my pivot table.&amp;nbsp;&amp;nbsp; I have null fields that show up randomly in the pivot table and cannot rely on the [WOS Goal] field to be there for a given cell in the pivot table.&amp;nbsp; The cell to be formatted is the WOS cell in the pivot table and it will have a calculation in it that has nothing to do with the [WOS Goal], but the formatting needs to be based on the relationship between WOS and [WOS Goal] as is listed below.&amp;nbsp; When the [WOS Goal] field is null in a given cell, the formatting goes away.&amp;nbsp; I'm trying to find a way to carry the maximum [WOS Goal] value across the [Production Date] dimension to have the value there for the null fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem I see with this formula is that the results only function on the first two columns of a 52 column pivot table.&amp;nbsp; Any ideas that you can give me on how I can get this formula to have the same effect on the remaining 50 cells of the WOS pivot table would be fantastic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;IF([WOS]&amp;gt;(AGGR(MAX([WOS Goal]),[Customer Style], [Customer Size], [Customer Color])+8),RGB(60,105,225),&lt;/P&gt;&lt;P&gt;IF([WOS]&amp;lt;(AGGR(MAX([WOS Goal]),[Customer Style], [Customer Size], [Customer Color])-8),LightRed(),&lt;/P&gt;&lt;P&gt;IF([WOS]&amp;lt;(AGGR(MAX([WOS Goal]),[Customer Style], [Customer Size], [Customer Color])-4),Yellow(),)))&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 04:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Max-help-please/m-p/360701#M1174985</guid>
      <dc:creator />
      <dc:date>2012-04-20T04:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR(Max()) help please</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Max-help-please/m-p/360702#M1174986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer to my problem.&amp;nbsp; I will post it below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;IF&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;ONLY(TOTAL&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+8,RGB(60,105,225),&lt;BR /&gt;IF(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;ONLY(TOTAL&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-8,LightRed(),&lt;BR /&gt;IF(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;ONLY(TOTAL&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[WOS Goal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-4,Yellow(),))) &lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This solved the problem and carried the correct formatting all the way across the pivot table regardless of the absence of data in a given week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 16:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Max-help-please/m-p/360702#M1174986</guid>
      <dc:creator />
      <dc:date>2013-06-05T16:04:05Z</dc:date>
    </item>
  </channel>
</rss>

