<?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: stacked bar chart - define colours in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452036#M1163759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for some reasons it doesn't do anything when I apply the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at least I know how to use pick and match functions &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2012 11:42:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-25T11:42:43Z</dc:date>
    <item>
      <title>stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452029#M1163752</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;Does anyone know how to define colours for each segment of a stacked bar chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 09:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452029#M1163752</guid>
      <dc:creator />
      <dc:date>2012-10-25T09:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452030#M1163753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you expand the plus of a dimension (Used Dimension) or expression you'll see an option Background color. You can change the definition and add an expression to select a color. Green() will select green, Red() red, rgb(1F,1F,1F) a grey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 09:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452030#M1163753</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-25T09:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452031#M1163754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the option you mentioned but I don't know where to type the expression as "settings for Selected Dimention" are greyed out (not active).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 09:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452031#M1163754</guid>
      <dc:creator />
      <dc:date>2012-10-25T09:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452032#M1163755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it have to be IF statement defining colours for each segment of the dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. =if(Medium='Referral Traffic',RGB(139,14,215),if(Medium='Direct Traffic',RGB(13,145,21)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Medium is the Dimension with two segments: Direct Traffic and Referral Traffic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 10:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452032#M1163755</guid>
      <dc:creator />
      <dc:date>2012-10-25T10:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452033#M1163756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have only two values, one if statement will do: &lt;/P&gt;&lt;P&gt;=if(Medium='Referral Traffic',RGB(139,14,215),RGB(13,145,21))&lt;/P&gt;&lt;P&gt;If you have more values then the pick and match functions can be used.&lt;/P&gt;&lt;P&gt;If you have a LOT of values add a field in the table that holds the color values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's also a color(n) function that returns a predefined color for n between 0 and 255&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 10:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452033#M1163756</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-25T10:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452034#M1163757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have four segments so I need to use Pick and Match functions I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please apply this to the above example? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 11:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452034#M1163757</guid>
      <dc:creator />
      <dc:date>2012-10-25T11:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452035#M1163758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=pick(match(Medium, 'Referral Traffic', 'Direct Traffic', ...&lt;EM&gt;etc&lt;/EM&gt;), RGB(139,14,215), RGB(13, 145, 21), &lt;EM&gt;...etc&lt;/EM&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 11:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452035#M1163758</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-25T11:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452036#M1163759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for some reasons it doesn't do anything when I apply the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at least I know how to use pick and match functions &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 11:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452036#M1163759</guid>
      <dc:creator />
      <dc:date>2012-10-25T11:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452037#M1163760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Sorry, forgot to mention that for the stacked bars you'll have to change the background color for the expression, not the dimension. You can use the same pick/match expression though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 12:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452037#M1163760</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-25T12:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: stacked bar chart - define colours</title>
      <link>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452038#M1163761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep that was the key for it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect. Thanks a lot Mr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 12:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/stacked-bar-chart-define-colours/m-p/452038#M1163761</guid>
      <dc:creator />
      <dc:date>2012-10-25T12:09:42Z</dc:date>
    </item>
  </channel>
</rss>

