<?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 Background Color in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811957#M1021966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try&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(Count(total&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales Order #]&amp;gt; &lt;/SPAN&gt;[Prod. Order]) &amp;gt;=2,Yellow())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 23:08:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-27T23:08:02Z</dc:date>
    <item>
      <title>Conditional Background Color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811956#M1021965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expression in the background color of my Sales Order dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(count([Prod. Order]), [Sales Order #])&amp;gt;=2,YELLOW())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to only turn the sales order row yellow when there are two production orders (also in my dimensions) for that sales order. I was hoping that the above logic would highlight the sales orders that have more than two production orders as well. But, this is what I'm getting:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82177_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please advise on how to get this to work in the cases that there are 3 or more production orders per sales order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 21:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811956#M1021965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-27T21:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Background Color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811957#M1021966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try&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(Count(total&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales Order #]&amp;gt; &lt;/SPAN&gt;[Prod. Order]) &amp;gt;=2,Yellow())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 23:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811957#M1021966</guid>
      <dc:creator />
      <dc:date>2015-03-27T23:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Background Color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811958#M1021967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron&lt;/P&gt;&lt;P&gt;Please check this example file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is attached in the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 05:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811958#M1021967</guid>
      <dc:creator />
      <dc:date>2015-03-28T05:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Background Color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811959#M1021968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your responses. Andrei's answer worked best for my case, but there are some great examples found in the above .qvw file. There are some cases where there is a production order firming (still a planned order, this is SAP) and the 2nd oncoming production order is currently displaying as null (can't count a null). You can see an example of this in my screenshot. The Sales Order cells won't highlight in this case. That's OK though. The requirement should be satisfied. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 14:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Background-Color/m-p/811959#M1021968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-28T14:12:15Z</dc:date>
    </item>
  </channel>
</rss>

