<?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 Highlight a value in a table, What expression would be best? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822002#M11302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thank you Everyone!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;Last weekend I've been fighting with my expression to highlight the maximum Quantity amount as showed here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="image-1 jive-image" height="209" src="https://community.qlik.com/legacyfs/online/81019_pastedImage_0.png" style="max-width: 1200px; max-height: 900px; height: 209.207764952781px; width: 725px;" width="725" /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I would like the Brazil Quantity 3,358,230 to be in green.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I used different expressions:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=if((Max(Quantity), Quantity rgb(0,255,0), Quantity)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=IF(Sum( {$&amp;lt;Quantity={"&amp;lt;=$(=Max(Quantity))"}&amp;gt;} Quantity),rgb(0,255,0)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=firstsortedvalue( Quantity, -Aggr(Max([Quantity]),Quantity,rgb(0,255,0)))&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Unfortunately none is working! Again maybe my expressions are totally wrong.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks for your advise and insight!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 18:15:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-17T18:15:50Z</dc:date>
    <item>
      <title>Highlight a value in a table, What expression would be best?</title>
      <link>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822002#M11302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thank you Everyone!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;Last weekend I've been fighting with my expression to highlight the maximum Quantity amount as showed here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="image-1 jive-image" height="209" src="https://community.qlik.com/legacyfs/online/81019_pastedImage_0.png" style="max-width: 1200px; max-height: 900px; height: 209.207764952781px; width: 725px;" width="725" /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I would like the Brazil Quantity 3,358,230 to be in green.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I used different expressions:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=if((Max(Quantity), Quantity rgb(0,255,0), Quantity)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=IF(Sum( {$&amp;lt;Quantity={"&amp;lt;=$(=Max(Quantity))"}&amp;gt;} Quantity),rgb(0,255,0)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=firstsortedvalue( Quantity, -Aggr(Max([Quantity]),Quantity,rgb(0,255,0)))&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Unfortunately none is working! Again maybe my expressions are totally wrong.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks for your advise and insight!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 18:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822002#M11302</guid>
      <dc:creator />
      <dc:date>2015-03-17T18:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight a value in a table, What expression would be best?</title>
      <link>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822003#M11303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you need help with the background color (or maybe text color) expression for Quantity column.&amp;nbsp; Try this:&lt;/P&gt;&lt;P&gt;if(Quantity=max(total Quantity, rgb(0,255,0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: if I got it wrong, upload your app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 18:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822003#M11303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T18:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight a value in a table, What expression would be best?</title>
      <link>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822004#M11304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, for either the text or the Background color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to try this out tonight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822004#M11304</guid>
      <dc:creator />
      <dc:date>2015-03-17T19:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight a value in a table, What expression would be best?</title>
      <link>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822005#M11305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This rgb looks too light for text.&amp;nbsp; Well, you'll figure out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 20:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822005#M11305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T20:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight a value in a table, What expression would be best?</title>
      <link>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822006#M11306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you first summing the quantities from multiple records in your data model to get a by country sum ?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case I'm wondering if you need aggr() here to first sum() and then get the max of the sums.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(&amp;nbsp;&amp;nbsp; sum(Quantity)=max(total aggr( sum(Quantity), pays) ), rgb(0,255,0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 01:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Highlight-a-value-in-a-table-What-expression-would-be-best/m-p/822006#M11306</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-18T01:00:44Z</dc:date>
    </item>
  </channel>
</rss>

