<?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: Color by Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212307#M873156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Pauline ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; Try with following Expression&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;pick&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;match&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: maroon;"&gt;Name(Owner)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;,'Mr Smith','Mr Jones','Mr Wallace'),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;purple&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;darkgray&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;green&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;()&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2016 06:15:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-08T06:15:15Z</dc:date>
    <item>
      <title>Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212299#M873146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know the syntax to use the "color by expression" function&amp;nbsp; for multiple variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's pretty simple for If the owner equals "Mr. Smith" then make him purple, if not make everything else gray.....&lt;/P&gt;&lt;P&gt;This syntax works for the the above.&amp;nbsp; &lt;/P&gt;&lt;P&gt;if([Owner]='Mr. Smith','purple','drkgray')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that I have 3 variables that I am trying to color code.&amp;nbsp; I am trying to do something specific:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Mr. Smith= purple&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Mr. Jones=drkgray&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Mr. Wallace= green.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks!!&lt;BR /&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/Color-by-Expression/m-p/1212299#M873146</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212300#M873147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif;"&gt;pick&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif;"&gt;match&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: 'Arial',sans-serif;"&gt;Owner&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;,'Mr Smith','Mr Jones','Mr Wallace'),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif;"&gt;purple&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;(),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif;"&gt;darkgray&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;(),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif;"&gt;green&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;()&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 21:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212300#M873147</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2016-11-07T21:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212301#M873148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[Name]&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Smith',&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(128,0,128),&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[Name]&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Jones', &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;darkgray&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(), &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;green&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 21:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212301#M873148</guid>
      <dc:creator />
      <dc:date>2016-11-07T21:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212302#M873149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better load a table with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Owner and Colour fields instead of using static values in expressions.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212302#M873149</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-11-07T23:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212303#M873150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you can do with QlikView's predefined &lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/ColorFunctions/color-functions-charts.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/ColorFunctions/color-functions-charts.htm"&gt;Color functions&lt;/A&gt;‌&lt;SPAN style="font-size: 10pt;"&gt; then one solution could be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_238965_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143168_QlikCommunity_Thread_238965_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14785620432871007 jive_text_macro" jivemacro_uid="_14785620432871007"&gt;
&lt;P&gt;tabOwnerColours:&lt;/P&gt;
&lt;P&gt;LOAD Owner,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Colour, Evaluate(Colour&amp;amp;'()')) as Colour&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;Owner, Colour&lt;/P&gt;
&lt;P&gt;Mr. Smith,&amp;nbsp; Magenta&lt;/P&gt;
&lt;P&gt;Mr. Jones, DarkGray&lt;/P&gt;
&lt;P&gt;Mr. Wallace, Green&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212303#M873150</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-11-07T23:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212304#M873151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco i have two questions :&lt;/P&gt;&lt;P&gt;-how to use a loaded color table as you proposed?&lt;/P&gt;&lt;P&gt;-why table is better than formula, i suppose less greedy for CPU?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212304#M873151</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2016-11-07T23:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212305#M873152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- see example below&lt;/P&gt;&lt;P&gt;- I'm rather concerned about maintainability than performance in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212305#M873152</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-11-07T23:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212306#M873154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if you want colors other than the named ones and live in America where we dropped the U in a lot of words for unknown reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;OwnerColors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,rgb(R,G,B) as Color&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;INLINE [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Owner,R,G,B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Mr. Smith,200,100,200&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Mr. Jones,100,100,100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Mr. Wallace,100,200,100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I do this sort of thing in several applications. I like it best when I'm trying to associate the color consistently throughout the application rather than in one place. I do, though, use a variable vColor instead of Color. And it might, for instance, have a simple expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;alt(max(Color),rgb(180,180,180))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To play devil's advocate, if you're going to define a variable anyway, as I do, what's the point of creating the table? We could just put it all in our variable. But still, somehow the table just seems more clear to me. On the down side, if you want to make color changes, you have to run a reload, and that could be a headache for long-running scripts. Then I really might argue for leaving it in a variable so that it's more maintainable in practice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 00:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212306#M873154</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-08T00:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212307#M873156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Pauline ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; Try with following Expression&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;pick&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;match&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: maroon;"&gt;Name(Owner)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;,'Mr Smith','Mr Jones','Mr Wallace'),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;purple&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;darkgray&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;(),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;green&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;()&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: blue;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 06:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212307#M873156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-08T06:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212308#M873158</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;if the QlikView inbuilt color functions aren't enough, then maybe something like this could help as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143322" alt="QlikCommunity_Thread_238965_Pic2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143322_QlikCommunity_Thread_238965_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143323" alt="QlikCommunity_Thread_238965_Pic3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/143323_QlikCommunity_Thread_238965_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14786458262436710" jivemacro_uid="_14786458262436710"&gt;
&lt;P&gt;FOR Each vSubTable in 'A%E2%80%93F', 'G%E2%80%93M', 'N%E2%80%93Z'&lt;/P&gt;
&lt;P&gt;tabColour:&lt;/P&gt;
&lt;P&gt;LOAD Dual(Name,Num#('FF'&amp;amp;Mid([Hex (RGB)],2),'(HEX)')) as Colour &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://en.wikipedia.org/wiki/List_of_colors:_$(vSubTable" rel="nofollow" target="_blank"&gt;https://en.wikipedia.org/wiki/List_of_colors:_$(vSubTable&lt;/A&gt;&lt;SPAN&gt;)] (html, codepage is 1252, embedded labels, table is [Color names]);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;NEXT vSubTable&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;mapColour:&lt;/P&gt;
&lt;P&gt;Mapping LOAD Text(Colour), Colour Resident tabColour;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabOwnerColours:&lt;/P&gt;
&lt;P&gt;LOAD Owner,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('mapColour', Colour) as Colour&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;Owner, Colour&lt;/P&gt;
&lt;P&gt;Mr. Smith,&amp;nbsp; Lavender purple&lt;/P&gt;
&lt;P&gt;Mr. Jones, Granite Gray&lt;/P&gt;
&lt;P&gt;Mr. Wallace, Lime green&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(only issue in this case seems to be that there are colour names having common codes, resulting in the first occurrence defining the text representation of the dual colour value ...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 22:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212308#M873158</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-11-08T22:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212309#M873160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco, i'd like understand why you use&amp;nbsp; : Dual(Colour, Evaluate(Colour&amp;amp;'()')) as Colour in your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'am sure there is a very good reason because if i remove it from load statement and write Magenta(), DarkGray(), Green() in Colour, it won't works&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 18:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212309#M873160</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2016-11-16T18:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212310#M873162</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;this expression generates a dual value (meaning having both text and numeric values).&lt;/P&gt;&lt;P&gt;The text part is the Colour string itself, while the numeric part is the result of the QlikView inbuilt colour function with the same name:&lt;/P&gt;&lt;P&gt;The string "Green" is extended to "Green()" and the result evaluated as a QlikView expression (see also: &lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/ColorFunctions/color-functions-charts.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/ColorFunctions/color-functions-charts.htm"&gt;Color functions&lt;/A&gt;) in this case delivering the RGB Value "RGB(0,128,0)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 21:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212310#M873162</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-11-16T21:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212311#M873164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it's very clear now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 22:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-by-Expression/m-p/1212311#M873164</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2016-11-16T22:06:08Z</dc:date>
    </item>
  </channel>
</rss>

