<?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: Set fixed color for single values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979650#M648363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the formula you are using always uses the "else" then it is not finding the first part of the if statement. I see where you have "Sector" as the 'else'. I don't know where that is coming from in the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the values you want to change color are numbers you can simply set up ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if they are specific values, you could simply add a field to the table that has the RGB and whenever that selection is made, it automatically selects the RGB associated with it in the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2015 18:24:53 GMT</pubDate>
    <dc:creator>crystles</dc:creator>
    <dc:date>2015-10-14T18:24:53Z</dc:date>
    <item>
      <title>Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979649#M648362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a solution for the problem that the same selection has a different color in different charts.&lt;/P&gt;&lt;P&gt;My goal is to set a "global color" for every specific value (Value 'A' should always be blue).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example:&lt;/P&gt;&lt;P&gt;You have 2 pie charts - the first shows value 'A' in red - the second shows value 'A' in blue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it with a load command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ &lt;BR /&gt; X,Y,Z,Function&lt;BR /&gt; 0,2,3,A&lt;BR /&gt; 200,123,12,B&lt;BR /&gt; 0,122,232,C&lt;BR /&gt; 212,121,121,D&lt;BR /&gt; 124,123,121,E&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;then I used "RGB(X,Y,Z)" as background color in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The described procedure works perfectly but now is the challenge: I try to make that selection dynamic (for example if Selection &amp;lt;&amp;gt; Function it should take another inline as basis for coloring). It seems that the background color function doesn't allow any functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try =if(Selection='Function',RGB(X,Y,Z),if(Selection='Sector',RGB(A,B,C),...) it always shows the 'else' value. Does anyone have an idea how to solve that issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An idea how the color selection could be made dynamically (in reason of changes in the dataset) would be awesome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward. Thanks!&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 15:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979649#M648362</guid>
      <dc:creator />
      <dc:date>2015-10-14T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979650#M648363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the formula you are using always uses the "else" then it is not finding the first part of the if statement. I see where you have "Sector" as the 'else'. I don't know where that is coming from in the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the values you want to change color are numbers you can simply set up ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if they are specific values, you could simply add a field to the table that has the RGB and whenever that selection is made, it automatically selects the RGB associated with it in the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979650#M648363</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2015-10-14T18:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979651#M648364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what's Selection?&lt;/P&gt;&lt;P&gt;If Selection is a field with Function and Sector values it works&lt;/P&gt;&lt;P&gt;If not could you explain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979651#M648364</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-14T18:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979652#M648365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not mean to confuse you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a document that has buttons, and when selected, these buttons change the value of a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action in Button = Variable: vButton=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to help show the user which button is selected, when the button is selected and the value of the variable changes, then the color of the button changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code that is in the Background Expression of the button.I have the RGB codes as variables so I can easily change the colors, for every button in the group at one time.&lt;/P&gt;&lt;P&gt;=if(Field=1, $(vcButtonBGColor1),$(vc&lt;SPAN style="font-size: 13.3333px;"&gt;ButtonBGColor2&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help it make more sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979652#M648365</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2015-10-14T18:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979653#M648366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Alexander Muller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did the relationship in the data model with the second InLine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share with us?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979653#M648366</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2015-10-14T18:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979654#M648367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like this?&lt;/P&gt;&lt;P&gt;see also the attachment&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102031_1.png" style="height: 172px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979654#M648367</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-14T18:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979655#M648368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, exactly like that. You can use that logic with the variable, just replace the numbers with the Fields you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 19:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979655#M648368</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2015-10-14T19:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979656#M648369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thanks for your input. I got it with a mix of "Load * INLINE" in combination with background color of expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how I managed it:&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;Load command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Selection&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales man&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;];&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="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; A,B,C,Function &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; 0,2,3,A&lt;BR /&gt; 200,123,12,B&lt;BR /&gt; 0,122,232,C&lt;BR /&gt; 212,121,121,D&lt;BR /&gt; 124,123,121,E&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; D,E,F,Sales man&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; 120,242,123,ASD&lt;BR /&gt; 123,231,152,BEAS&lt;BR /&gt; 0,12,232CEFAS&lt;BR /&gt; 212,21,121,DASDA&lt;BR /&gt; 124,3,121,EEAS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;-----------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Background Color in Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&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: #800000; font-size: 8pt;"&gt;Selection&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Function',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A,B,C&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&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: #800000; font-size: 8pt;"&gt;Selection&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Sales man',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;D&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;F&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Whenever I select Function, the function 'A' has the same color in every chart (if the background color expression is set).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 11:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979656#M648369</guid>
      <dc:creator />
      <dc:date>2015-10-15T11:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set fixed color for single values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979657#M648370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent. Glad you were able to get it working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 13:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-fixed-color-for-single-values/m-p/979657#M648370</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2015-10-15T13:56:19Z</dc:date>
    </item>
  </channel>
</rss>

