<?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: Re: Conditional color in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795711#M535529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;if( GetCurrentSelections()&amp;gt;0, RGB(), RGB())&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2014 13:59:50 GMT</pubDate>
    <dc:creator>mato32188</dc:creator>
    <dc:date>2014-12-08T13:59:50Z</dc:date>
    <item>
      <title>Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795706#M535524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text box with a background color. I would like this background color to change according to the selection : if there is at least one selection in the document vs no selection. How can I do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found in the color parameter of the text box that I can add a "calculated" color. I guess I can do something like "if (condition, RGB (x,y,z) , RGB (x,y,z))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't know which function I can use for the condition... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 13:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795706#M535524</guid>
      <dc:creator />
      <dc:date>2014-12-08T13:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795707#M535525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (GetCurrentSelection() &amp;gt; 0, ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 13:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795707#M535525</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2014-12-08T13:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795708#M535526</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;Write the expression in the Color Area&lt;/P&gt;&lt;P&gt;=if (GetSelectedCount(&lt;STRONG&gt;FieldName&lt;/STRONG&gt;), RGB(251,241,10) , RGB (154,123,254))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart Properties &amp;gt;&amp;gt; Color &amp;gt;&amp;gt; BAse color Calculated &amp;gt;&amp;gt; =if (GetSelectedCount(&lt;STRONG&gt;FieldName&lt;/STRONG&gt;), RGB(251,241,10) , RGB (154,123,254))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="COlarSetting.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72990_COlarSetting.png" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 13:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795708#M535526</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-08T13:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795709#M535527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Anan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if I don't want to specify a field name ?&amp;nbsp; I just want my color to change if there is one selection in the document (no matter on which field) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 13:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795709#M535527</guid>
      <dc:creator />
      <dc:date>2014-12-08T13:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795710#M535528</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;Then you can put the Or condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if (GetSelectedCount(Field1) &amp;gt; 0 or GetSelectedCount(Field2) &amp;gt; 0 , RGB(251,241,10) ,Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 13:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795710#M535528</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-08T13:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795711#M535529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;if( GetCurrentSelections()&amp;gt;0, RGB(), RGB())&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 13:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795711#M535529</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2014-12-08T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795712#M535530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(sum(Aggr(sum(GetSelectedCount($Field)),$Field))&amp;gt;0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RGB(251,241,10) ,Green())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 14:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795712#M535530</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-12-08T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795713#M535531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here a solution for you in the text object write expression&lt;/P&gt;&lt;P&gt;Chart Properties &amp;gt;&amp;gt; Color &amp;gt;&amp;gt; Base color Calculated &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( G&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;etcurrentselections&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ( ) ) &amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;QlikTechBlue&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;() , &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;QlikTechGray&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;This works for all fields when ever any selection in the list box &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 14:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795713#M535531</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-08T14:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795714#M535532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 's' was missing in your first message, that's why it didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Martin &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 14:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795714#M535532</guid>
      <dc:creator />
      <dc:date>2014-12-08T14:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795715#M535533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 16:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color/m-p/795715#M535533</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2014-12-08T16:03:21Z</dc:date>
    </item>
  </channel>
</rss>

