<?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: Conditional color in table box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727592#M1058521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry I mixed that up. This is for QlikView!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 06:43:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-01T06:43:46Z</dc:date>
    <item>
      <title>Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727590#M1058519</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my tablebox looks like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Discount &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to color the highest 30% discount values in red. But not the highest 30% of all products combined, but for every product individually. So in this example the 2nd and 3rd row (highest % of A and B) should be red, and not 1st / 3rd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my concern is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance. Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 11:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727590#M1058519</guid>
      <dc:creator />
      <dc:date>2014-09-30T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727591#M1058520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ludwig -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this for Qlik Sense or QlikView? - Just want to make sure as the process is similiar, but how you apply it is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 15:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727591#M1058520</guid>
      <dc:creator>Michael_Tarallo</dc:creator>
      <dc:date>2014-09-30T15:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727592#M1058521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry I mixed that up. This is for QlikView!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 06:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727592#M1058521</guid>
      <dc:creator />
      <dc:date>2014-10-01T06:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727593#M1058522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ludwig - OK - I will move this to the appropriate forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time - check out this video that may help you with conditional styling in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=9jXIoF3iECs" title="https://www.youtube.com/watch?v=9jXIoF3iECs"&gt;Qlikview Pivot with Conditional Formatting by RFB 16 - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark the appropriate replies as helpful / correct so our team and other members know that your question(s) has been answered to your satisfaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 11:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727593#M1058522</guid>
      <dc:creator>Michael_Tarallo</dc:creator>
      <dc:date>2014-10-01T11:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727594#M1058523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks .. Much helped!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 11:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727594#M1058523</guid>
      <dc:creator />
      <dc:date>2014-10-01T11:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727595#M1058524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the link, but unfortunately it does not solve my problem.&lt;/P&gt;&lt;P&gt;As I mentioned, I do not want to color the overall lowest values, but the lowest values for each product individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it clear what I mean? Thank you for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 12:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727595#M1058524</guid>
      <dc:creator />
      <dc:date>2014-10-01T12:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727596#M1058525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone to help me?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727596#M1058525</guid>
      <dc:creator />
      <dc:date>2014-10-07T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727597#M1058526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ludwig,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please find attached. I used a straight table with dimensions Product and Discount. Under the Background Color and Text Color for the dimension Discount, I used the following expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the max Discount only:&lt;/P&gt;&lt;P&gt;Background Color:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Discount=max(total &amp;lt;Product&amp;gt; Discount), red())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Text Color:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Discount=max(total &amp;lt;Product&amp;gt; Discount), white())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the top 30% when the table is sorted by Product, then Discount:&lt;/P&gt;&lt;P&gt;Background Color:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(rank(sum(Discount))&amp;lt;=max(total aggr(rank(sum(Discount)), Product, Discount))*.3, red())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Text Color:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(rank(sum(Discount))&amp;lt;=max(total aggr(rank(sum(Discount)), Product, Discount))*.3, white())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the top 30% when the table is sorted by just Discount Descending:&lt;/P&gt;&lt;P&gt;Background Color:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(aggr(rank(sum(Discount)), Product, Discount)&amp;lt;=max(total aggr(rank(sum(Discount)), Product, Discount))*.3, red())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Text Color:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(aggr(rank(sum(Discount)), Product, Discount)&amp;lt;=max(total aggr(rank(sum(Discount)), Product, Discount))*.3, white())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added some values to the data in order for the top 30% to actually show colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 14:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727597#M1058526</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-10-07T14:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727598#M1058527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This post really helped. Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 06:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-in-table-box/m-p/727598#M1058527</guid>
      <dc:creator />
      <dc:date>2016-05-20T06:34:50Z</dc:date>
    </item>
  </channel>
</rss>

