<?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: Highlight max value in a pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Highlight-max-value-in-a-pivot-Table/m-p/476449#M553995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/74164"&gt;Mohammed Mukram Ali&lt;/A&gt; that works like a charm!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These angle brackets magic seems to be quite helpful sometimes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 09:48:13 GMT</pubDate>
    <dc:creator>fheidenstecker</dc:creator>
    <dc:date>2013-09-25T09:48:13Z</dc:date>
    <item>
      <title>Highlight max value in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Highlight-max-value-in-a-pivot-Table/m-p/476447#M553993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikView Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a question how to higlight the max value in a pivot Table with 2 Dimensions.&lt;/P&gt;&lt;P&gt;How can I highlight the max value per Company, regarding which products they bought?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a file with some sample data.&lt;/P&gt;&lt;P&gt;The formula works, when I select a certain customer, it will show me the product with the max sales value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Max1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/46864_Max1.png" /&gt;&lt;/P&gt;&lt;P&gt;I used the following formula to highlight the max value&lt;/P&gt;&lt;P&gt;if(sum(Sales)=max(total aggr(Sum( Sales),Product)),green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I don't select a company, it doesn't work:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="max2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/46868_max2.png" /&gt;&lt;/P&gt;&lt;P&gt;I did a lot of trial and error with the aggr() function, but adding &lt;STRONG&gt;Company &lt;/STRONG&gt;to the aggr function will only lead qlikview to show the highest sales per Customer and Product combined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea how i can highlight the highest selling product per company in the pivot without having to select anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attached the qvw with my sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 07:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlight-max-value-in-a-pivot-Table/m-p/476447#M553993</guid>
      <dc:creator>fheidenstecker</dc:creator>
      <dc:date>2013-09-25T07:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight max value in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Highlight-max-value-in-a-pivot-Table/m-p/476448#M553994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #e6e6e6;"&gt;&lt;SPAN class="replyToName" style="font-style: inherit; font-family: inherit;"&gt;Fabian Heidenstecker&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you use the below expression.&lt;/P&gt;&lt;P&gt;=If(Sales =Max(TOTAL &amp;lt;Company&amp;gt; aggr(Sum(Sales),Company,Product)),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly find the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 08:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlight-max-value-in-a-pivot-Table/m-p/476448#M553994</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2013-09-25T08:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight max value in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Highlight-max-value-in-a-pivot-Table/m-p/476449#M553995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/74164"&gt;Mohammed Mukram Ali&lt;/A&gt; that works like a charm!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These angle brackets magic seems to be quite helpful sometimes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 09:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlight-max-value-in-a-pivot-Table/m-p/476449#M553995</guid>
      <dc:creator>fheidenstecker</dc:creator>
      <dc:date>2013-09-25T09:48:13Z</dc:date>
    </item>
  </channel>
</rss>

