<?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: Setting background color in a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669200#M1317803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly provide some sample data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 15:35:26 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-10T15:35:26Z</dc:date>
    <item>
      <title>Setting background color in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669199#M1317799</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'd like to set a particular background color in a straight table when a value in a specific columns is equivalent to the max of the values of the same column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of the colums is calculate as Sum(Price) and the columns name is "Prices"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the background color function as follow:&lt;/P&gt;&lt;P&gt;IF([Prices]=Max(TOTAL Sum(Price)),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work; the max function is wrong 'cause if i change the function as follow:&lt;/P&gt;&lt;P&gt;IF([Prices]&amp;gt;10,Green())&lt;/P&gt;&lt;P&gt;it works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should someone help me with the max function, pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669199#M1317799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Setting background color in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669200#M1317803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly provide some sample data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669200#M1317803</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-10T15:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setting background color in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669201#M1317806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;if(sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;Price&lt;/SPAN&gt;)=max(total aggr(sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;Price&lt;/SPAN&gt;), Dim1)), green(), red())&lt;/P&gt;&lt;P&gt;replace Dim1 with your dim or dims&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 16:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669201#M1317806</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-10T16:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting background color in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669202#M1317809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way of doing it is by using Rank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Rank( total &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Prices&lt;/SPAN&gt;)=1,Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 16:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669202#M1317809</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-09-10T16:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting background color in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669203#M1317812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks also to the others for the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 06:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-background-color-in-a-straight-table/m-p/669203#M1317812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-11T06:06:00Z</dc:date>
    </item>
  </channel>
</rss>

