<?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: background color on set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077023#M931532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Tamil, however the getselected code was key to this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using getselected count as a switch. the 2 formulas after are just examples of set analysis and a normal formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 12:16:04 GMT</pubDate>
    <dc:creator>tinkerz1</dc:creator>
    <dc:date>2016-03-16T12:16:04Z</dc:date>
    <item>
      <title>background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077016#M931525</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 can't set the background colour with an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression formula switches between set analysis and normal output based on a condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(getselectedcount([Header])&amp;gt;1,&lt;/P&gt;&lt;P&gt;Sum([Alternate State 1]...&amp;lt;Set Analysis&amp;gt;),&lt;/P&gt;&lt;P&gt;DATA&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula in the background color is &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Wildmatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[label_M]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'*Red*'),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255,0,0),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Wildmatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[label_M]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'*Amber*'),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255,191,0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And label_M is is a field in the pivot table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The label_M field in both conditions returns a Red and a Amber field, why won't the colour work when the set analysis condition is true?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks.&lt;/SPAN&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;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077016#M931525</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077017#M931526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is set analysis here? Not sure I understand the reference to set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 14:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077017#M931526</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-15T14:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077018#M931527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would be the full formula, the set analysis will be triggered if get selectedcount &amp;gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;getselectedcount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue Owned by]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Stats1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue Owned by]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Only(left([Issue Owned by],index([Issue Owned by],'-')-2)))*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}*{&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"*|All"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Risk label_M]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'*Threshold'}&amp;gt;} distinct &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Data M]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Data M]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 14:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077018#M931527</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-03-15T14:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077019#M931528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However the formula to set the background does not trigger if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getselected count &amp;gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Wildmatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[label_M]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'*Red*'),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255,0,0),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Wildmatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[label_M]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'*Amber*'),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255,191,0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 15:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077019#M931528</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-03-15T15:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077020#M931529</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 have written a small QVW to explain my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using getselectedcount on a field to switch between a set analysis statement and and normal statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When just 1 selection from the company field is selected the background colors work but when more than one selection from the company field is selected; then no background color, the set analysis works though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077020#M931529</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-03-16T09:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077021#M931530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this for the background color:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(not wildmatch(&lt;SPAN style="color: #ff0000;"&gt;Only({&amp;lt;Company&amp;gt;}&lt;/SPAN&gt; Company&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;,'I','H'),RGB(255,0,0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(wildmatch(&lt;SPAN style="color: #ff0000;"&gt;Only({&amp;lt;Company&amp;gt;}&lt;/SPAN&gt; Company&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;,'I'),RGB(255,255,0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(wildmatch(&lt;SPAN style="color: #ff0000;"&gt;Only({&amp;lt;Company&amp;gt;}&lt;/SPAN&gt; Company&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;,'H'),RGB(0,255,0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="118206" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118206_Capture.PNG" style="height: 190px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077021#M931530</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077022#M931531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try background color expression as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=if(Only({1}Company) = 'I',RGB(255,255,0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(Only({1}Company) ='H',RGB(0,255,0),&lt;/P&gt;&lt;P&gt;If(Only({1}Company)&amp;lt;&amp;gt;'I' or Only({1}Company)&amp;lt;&amp;gt;'R', RGB(255,0,0))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077022#M931531</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-16T09:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077023#M931532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Tamil, however the getselected code was key to this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using getselected count as a switch. the 2 formulas after are just examples of set analysis and a normal formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 12:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077023#M931532</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-03-16T12:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077024#M931533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you look at what I provided? Is this not what you were aiming for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 12:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077024#M931533</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T12:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077025#M931534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work as the getselectedcount part was removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point of the formula is to set a color when a single company is selected, but when more that one customer is selected then use another color depending on the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis for more the one could be selecting all companies with an 'I' in the title, but there is only 1&amp;nbsp; in my list &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its really the 'form' of the function not the actual formula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 12:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077025#M931534</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-03-16T12:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077026#M931535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We did not remove anything from the expression Neil. We only changed the expression for the background color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it was&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;=if(not wildmatch(Company,'I','H'),RGB(255,0,0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(wildmatch(Company,'I'),RGB(255,255,0),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(wildmatch(Company,'H'),RGB(0,255,0),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Actual Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="color: #575757;"&gt;=if(getselectedcount(Company)&amp;gt;1,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Company={I}&amp;gt;} distinct Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="color: #575757;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Background Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;=if(not wildmatch(Only({&amp;lt;Company&amp;gt;} Company),'I','H'),RGB(255,0,0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(wildmatch(Only({&amp;lt;Company&amp;gt;} Company),'I'),RGB(255,255,0),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(wildmatch(Only({&amp;lt;Company&amp;gt;} Company),'H'),RGB(0,255,0),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Actual Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style=": ; color: #575757;"&gt;=if(getselectedcount(Company)&amp;gt;1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="color: #575757;"&gt;Sum({&amp;lt;Company={I}&amp;gt;} distinct Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style=": ; color: #575757;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;No change to your actual expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 12:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077026#M931535</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T12:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077027#M931536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I must have saved the update for the color over the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If more than 1 company is selected, then the set analysis part of the if statement triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this should be colored yellow as the expression points at set analysis.&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;&lt;IMG alt="background color test.PNG" class="jive-image image-1" src="/legacyfs/online/118248_background color test.PNG" style="width: 620px; height: 178px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 13:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077027#M931536</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-03-16T13:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: background color on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077028#M931537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see yellow Neil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118243_Capture.PNG" style="height: 158px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 13:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/background-color-on-set-analysis/m-p/1077028#M931537</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T13:32:49Z</dc:date>
    </item>
  </channel>
</rss>

