<?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 Color using GetCurrentField() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-using-GetCurrentField/m-p/527433#M549873</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 a RGB set for one dimension, but I'm working on a Pie Chart with two dimensions. Now, If I set the expression color based on the RGB(R, G, B) when I drill-down in the group all the colors are gone (it looks black). How can I have the RGB for the first dimension and like random colors for the second one (can be the original ones).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13880739152005130 jive_macro_code" jivemacro_uid="_13880739152005130"&gt;
&lt;P&gt;If(GetCurrentField([Actividad-Oportunidad]) = 'Oportunidad', RGB(R, G, B), RGB(R * rand(), G * rand(), B * rand()))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't like the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, kindest regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Dec 2013 16:05:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-26T16:05:55Z</dc:date>
    <item>
      <title>Color using GetCurrentField()</title>
      <link>https://community.qlik.com/t5/QlikView/Color-using-GetCurrentField/m-p/527433#M549873</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 a RGB set for one dimension, but I'm working on a Pie Chart with two dimensions. Now, If I set the expression color based on the RGB(R, G, B) when I drill-down in the group all the colors are gone (it looks black). How can I have the RGB for the first dimension and like random colors for the second one (can be the original ones).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13880739152005130 jive_macro_code" jivemacro_uid="_13880739152005130"&gt;
&lt;P&gt;If(GetCurrentField([Actividad-Oportunidad]) = 'Oportunidad', RGB(R, G, B), RGB(R * rand(), G * rand(), B * rand()))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't like the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, kindest regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 16:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-using-GetCurrentField/m-p/527433#M549873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-26T16:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Color using GetCurrentField()</title>
      <link>https://community.qlik.com/t5/QlikView/Color-using-GetCurrentField/m-p/527434#M549874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(GetCurrentField([Actividad-Oportunidad]) = &lt;SPAN class="string"&gt;'Oportunidad', RGB(R, G, B), RGB(255 * rand(), 255 * rand(), 255 * rand()))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 16:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-using-GetCurrentField/m-p/527434#M549874</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-12-26T16:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Color using GetCurrentField()</title>
      <link>https://community.qlik.com/t5/QlikView/Color-using-GetCurrentField/m-p/527435#M549875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!! that worked better!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 16:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-using-GetCurrentField/m-p/527435#M549875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-26T16:27:48Z</dc:date>
    </item>
  </channel>
</rss>

