<?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 Background colour set in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272947#M1196125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying to highlight in red, a total on the chart, or each report?&amp;nbsp; If it is a total, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Report='CBINT' and [Total]&amp;lt;=600,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='CBINT' and [Total]&amp;lt;=800,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=70,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=110,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(Report='IRE' and [Total]&amp;lt;=50,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='IRE' and [Total]&amp;lt;=75,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(Report='ROI Bank' and [Total]&amp;lt;=250,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='ROI Bank' and [Total]&amp;lt;=500,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(sum([Total])&amp;lt;=920,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(sum([Total])&amp;lt;=1406,RGB (255,255,0),RGB (185,0,0)))))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2011 10:43:41 GMT</pubDate>
    <dc:creator>colinh</dc:creator>
    <dc:date>2011-06-08T10:43:41Z</dc:date>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272941#M1196117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table and I wish to set conditional background colours , but I need to set it on multiple selections,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically if&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field [Report] = CBIRE AND [Total] &amp;lt; 70 go Green&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field [Report] = CBIRE AND [Total] &amp;lt; 110 go Orange&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field [Report] = CBIRE AND [Total] &amp;gt; 70 go Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field [Report] = ROI AND [Total] &amp;lt; 250 go Green&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field [Report] = ROI AND [Total] &amp;lt; 500 go Orange&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field [Report] = ROI AND [Total] &amp;gt; 500 go Red&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually have another 4 rules based on different options in Report and Total to add in. But I have tried the first part using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Report='CBINT' and Total &amp;lt;=70,RGB (0,255,0),if(Report='CBINT' and Total&amp;lt;=110,RGB (255,255,0),RGB (255,0,0))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is turning them all red regardless of what is filtered or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 09:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272941#M1196117</guid>
      <dc:creator />
      <dc:date>2011-06-08T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272942#M1196119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using exactly your formula I get green, yellow, red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be obvious, but in your first set of data you have CBIRE and in your calculation you have CBINT.&amp;nbsp; Is it not that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 09:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272942#M1196119</guid>
      <dc:creator>colinh</dc:creator>
      <dc:date>2011-06-08T09:43:00Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272943#M1196120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Would you believe the samples that I had loaded had only RED range values loaded ( I know its often the simpliest issues that cause the greatest hassle !!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just started writing it with all 6 conditions , so please feel free to watch this space cause I reckon I will have more questions when Im joining all the ifs together &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 09:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272943#M1196120</guid>
      <dc:creator />
      <dc:date>2011-06-08T09:48:47Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272944#M1196122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just make sure you have as many closing brackets as opening brackets and you'll be fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 09:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272944#M1196122</guid>
      <dc:creator>colinh</dc:creator>
      <dc:date>2011-06-08T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272945#M1196123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Colin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following and it works fine for all the drill downs ( So when I select a report).&lt;/P&gt;&lt;P&gt;But i need a condition where no reports are selected ( So basically the sum of each of the reports) the formula in bold in that portion but it does not seem to work , can you see if I have made a mistake ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there a way of saying if field is not selected ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Report='CBINT' and [Total]&amp;lt;=600,RGB (0,255,0),if(Report='CBINT' and [Total]&amp;lt;=800,RGB (255,255,0),if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=70,RGB (0,255,0),if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=110,RGB (255,255,0),if(Report='IRE' and [Total]&amp;lt;=50,RGB (0,255,0),if(Report='IRE' and [Total]&amp;lt;=75,RGB (255,255,0),if(Report='ROI Bank' and [Total]&amp;lt;=250,RGB (0,255,0),if(Report='ROI Bank' and [Total]&amp;lt;=500,RGB (255,255,0),&lt;STRONG&gt;if([Total]&amp;lt;=920,RGB (0,255,0),if([Total]&amp;lt;=1406,RGB (255,255,0),RGB (185,0,0)))))) &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272945#M1196123</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:13:55Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272946#M1196124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Colin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also took the opposite and tried when all Reports were selected see below in bold and again got same result all fields were red ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Report='CBINT' and [Total]&amp;lt;=600,RGB (0,255,0),if(Report='CBINT' and [Total]&amp;lt;=800,RGB (255,255,0),if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=70,RGB (0,255,0),if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=110,RGB (255,255,0),if(Report='IRE' and [Total]&amp;lt;=50,RGB (0,255,0),if(Report='IRE' and [Total]&amp;lt;=75,RGB (255,255,0),if(Report='ROI Bank' and [Total]&amp;lt;=250,RGB (0,255,0),if(Report='ROI Bank' and [Total]&amp;lt;=500,RGB (255,255,0),&lt;STRONG&gt;if(Report='ROI Bank' and Report='CBINT' and Report='IRE'and Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=920,RGB (0,255,0),if(Report='ROI Bank' and Report='CBINT' and Report='IRE'and Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=1406,RGB (255,255,0),RGB (185,0,0)))))))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272946#M1196124</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:25:39Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272947#M1196125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying to highlight in red, a total on the chart, or each report?&amp;nbsp; If it is a total, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Report='CBINT' and [Total]&amp;lt;=600,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='CBINT' and [Total]&amp;lt;=800,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=70,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=110,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(Report='IRE' and [Total]&amp;lt;=50,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='IRE' and [Total]&amp;lt;=75,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(Report='ROI Bank' and [Total]&amp;lt;=250,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='ROI Bank' and [Total]&amp;lt;=500,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(sum([Total])&amp;lt;=920,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(sum([Total])&amp;lt;=1406,RGB (255,255,0),RGB (185,0,0)))))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272947#M1196125</guid>
      <dc:creator>colinh</dc:creator>
      <dc:date>2011-06-08T10:43:41Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272948#M1196126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Colin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the above, what I wish to happen is , this formula&amp;nbsp; is on a Pivot Chart,on a list box if I select CBINT and the Total is 700 I wish for the field to go Orange or if I select IRE and its 700 it will go red . ( Using my original statement this was happening) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( using for example there is only 2 reports) If I have not selected anything in the List box for report ( the pivot chart shows the totals) it uses the condition I would expect it to go Orange as the total is 1400 which under the last condition of the formula is &amp;lt; 1406 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Whats happening with the above statement is when no fields are selected it is remaining green , and on the drill down only the ROI is actually working now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your time on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 11:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272948#M1196126</guid>
      <dc:creator />
      <dc:date>2011-06-08T11:08:27Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272949#M1196127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem.&amp;nbsp; I'm not sure I really understand your data - what is the Dimension on your pivot table?&amp;nbsp; Is it Report, or some other dimension?&amp;nbsp; Can you attach an example with your data structure and the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is that you are trying use the same expression to change the colour for each row and for the total.&amp;nbsp; What might work better is to include the option for red in each condition, e.g.&lt;/P&gt;&lt;P&gt;if(Report='IRE' and [Total]&amp;lt;=50,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if(Report='IRE' and [Total]&amp;lt;=75,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if(Report='IRE' and [Total]&amp;gt;75,RGB (185,0,0),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the last condition will only apply to the total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 11:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272949#M1196127</guid>
      <dc:creator>colinh</dc:creator>
      <dc:date>2011-06-08T11:48:49Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272950#M1196128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check the nr of selections (or none) like this:&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Field)=0,...,...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 12:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272950#M1196128</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2011-06-08T12:14:26Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272951#M1196129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It also might be a good idea to load the conditions/limits in fields linked to the report field, say 'Lower' and 'Upper'. You could then have a variable checking which report is selected, or none, and set the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. Value for vLower=if(GetSelectedCount(Report)=0,vLower=920,vLower=Lower)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for color:&lt;/P&gt;&lt;P&gt;if([Total]&amp;lt;=vLower,RGB (0,255,0),&lt;/P&gt;&lt;P&gt;if([Total]&amp;lt;=vUpper,RGB (255,255,0),&lt;/P&gt;&lt;P&gt;if([Total]&amp;gt;vUpper,RGB (185,0,0))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 12:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272951#M1196129</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2011-06-08T12:30:20Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272952#M1196130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stigchel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your suggestion , so what I wish to happen is that when no selection is Report the conditions &amp;lt;920 Green , &amp;lt;1406 Orange and &amp;gt;1406 Red. But now no condtional formating works at all, I know the first part of the formula works , as I've checked it . its just getting the condition when no Reports are selected from the drop down ( to be honest in some ways its actaully when all reports are selected in the data tho !!! perhaps this is the issue with the getselected fields !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Report='CM Banking INT' and [Total]&amp;lt;=600,RGB (0,127,0),if(Report='CM Banking INT' and [Total]&amp;lt;=800,RGB (255,128,0),if(Report='CM Banking INT' and [Total]&amp;gt;800,RGB (255,0,0),if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=70,RGB (0,127,0),if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;lt;=110,RGB (255,128,0),if(Report='PAYMENTS/I&amp;amp;I' and [Total]&amp;gt; 110,RGB (255,0,0),if(Report='IRE' and [Total]&amp;lt;=50,RGB (0,127,0),if(Report='IRE' and [Total]&amp;lt;=75,RGB (255,128,0),if(Report='IRE' and [Total]&amp;gt; 75,RGB (255,0,0),if(Report='AIB Bank/AIB(UK)' and [Total]&amp;lt;=250,RGB (0,127,0),if(Report='AIB Bank/AIB(UK)' and [Total]&amp;lt;=500,RGB (255,128,0),if(Report='RAIB Bank/AIB(UK)' and [Total]&amp;gt; 500,RGB (255,0,0),&lt;STRONG&gt;if(GetSelectedCount(Report)=0 and[Total]&amp;lt;=920,RGB (0,127,0),if(GetSelectedCount(Report)=0 and [Total]&amp;lt;=1406,RGB (255,128,0),RGB (255,0,0)))))))))))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272952#M1196130</guid>
      <dc:creator />
      <dc:date>2011-06-08T14:03:35Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272953#M1196131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Stigchel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used your rational and in ths script put the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Total]&amp;lt;70,'Green',if([Total]&amp;gt;70 and [Total]&amp;lt;110,'Orange','Red')) as [RAG Code],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now in my condtional expression I can write it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([RAG Code]='Green',RGB (0,127,0),if([RAG Code]='Orange', RGB (255,128,0),RGB(255,0,0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which again works great so long as I have a Report selected, can you help me add a condition that states when Reports is not specified ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272953#M1196131</guid>
      <dc:creator />
      <dc:date>2011-06-08T14:31:40Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272954#M1196132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a space missing between "and[Total]" in your previous to last post. Add a space and the expression will work for any single or none selection in report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272954#M1196132</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2011-06-08T14:35:30Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272955#M1196133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This still leaves you with the problem of multiple selections in report. You might want to control this by allowing only one selection (e.g. the option "always one selected value"). If you need the total as selection, load a crosstable with the report values and a total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272955#M1196133</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2011-06-08T14:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272956#M1196134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stigchel &lt;/P&gt;&lt;P&gt;The [Total] column is actually got some crazy name so for the sake of easy reading on the forum I have being pasting total across the name Below is the actual formula , I think there actually is a space there so I am double stumped !!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Report='CM Banking INT' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=600,RGB (0,127,0),&lt;/P&gt;&lt;P&gt;if(Report='CM Banking INT' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=800,RGB (255,128,0), &lt;/P&gt;&lt;P&gt;if(Report='CM Banking INT' and [3.1.3 Reconciliations - total number of outstanding items]&amp;gt;800,RGB (255,0,0),&lt;/P&gt;&lt;P&gt;if(Report='PAYMENTS/I&amp;amp;I' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=70,RGB (0,127,0), i&lt;/P&gt;&lt;P&gt;f(Report='PAYMENTS/I&amp;amp;I' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=110,RGB (255,128,0), &lt;/P&gt;&lt;P&gt;if(Report='PAYMENTS/I&amp;amp;I' and [3.1.3 Reconciliations - total number of outstanding items] &amp;gt;110,RGB (255,0,0), &lt;/P&gt;&lt;P&gt;if(Report='IRE' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=50,RGB (0,127,0), &lt;/P&gt;&lt;P&gt;if(Report='IRE' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=75,RGB (255,128,0), &lt;/P&gt;&lt;P&gt;if(Report='IRE' and [3.1.3 Reconciliations - total number of outstanding items]&amp;gt;75,RGB (255,0,0), &lt;/P&gt;&lt;P&gt;if(Report='AIB Bank/AIB(UK)' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=250,RGB (0,127,0), &lt;/P&gt;&lt;P&gt;if(Report='AIB Bank/AIB(UK)' and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=500,RGB (255,128,0), &lt;/P&gt;&lt;P&gt;if(Report='RAIB Bank/AIB(UK)' and [3.1.3 Reconciliations - total number of outstanding items]&amp;gt;500,RGB (255,0,0), &lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Report)=0 and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=920,RGB (0,127,0), &lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Report)=0 and [3.1.3 Reconciliations - total number of outstanding items]&amp;lt;=1406,RGB (255,128,0),RGB (255,0,0)))))))))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272956#M1196134</guid>
      <dc:creator />
      <dc:date>2011-06-08T14:43:11Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272957#M1196135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Stigchel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to this specific data there will only ever be one report selected , so I think if I can write the condition that says when no [RAG Code] follow condition &amp;lt; 920 Green , &amp;gt;1406 Orang &amp;lt; 1406 Red,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going to try that now &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272957#M1196135</guid>
      <dc:creator />
      <dc:date>2011-06-08T14:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272958#M1196136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the above expression one "if " is incorrectly broken off (line 8). I have corrected and used this expression succesfully in a document of mine (offcourse replacing your fields with ones that exists in mine)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272958#M1196136</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2011-06-08T14:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272959#M1196137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the condition working when no fields are selected? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mine are all just Red &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( the above was just a paste error into this forum )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 15:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272959#M1196137</guid>
      <dc:creator />
      <dc:date>2011-06-08T15:05:08Z</dc:date>
    </item>
    <item>
      <title>Background colour set in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272960#M1196138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also load the values for R and G and B in seperate fields instead of a textual colour coding and in the color expression use:&lt;/P&gt;&lt;P&gt;=RGB(R,G,B)&lt;/P&gt;&lt;P&gt;If you have named these fields "R", "G" and "B"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 15:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-set-in-expression/m-p/272960#M1196138</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2011-06-08T15:06:47Z</dc:date>
    </item>
  </channel>
</rss>

