<?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: Assigning a Colour to a dimension via the load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26687#M4457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked a treat. Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2018 16:37:26 GMT</pubDate>
    <dc:creator>gavin_kite</dc:creator>
    <dc:date>2018-05-29T16:37:26Z</dc:date>
    <item>
      <title>Assigning a Colour to a dimension via the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26683#M4453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This feels really basic but I'm struggling to assign a colour to a dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added the RGB value that I want to use for each &lt;SPAN style="font-size: 13.3333px;"&gt;Requirement Part ID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="203834" alt="SS1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203834_SS1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And need to colour the 'Requirement Part ID'&amp;nbsp; with the RGB colour to the right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have expanded the &lt;SPAN style="font-size: 13.3333px;"&gt;Requirement Part ID dimension and in the Background Colour field have tried loads of different thing already suggested on here and none of them seem to work unless you only have one &lt;SPAN style="font-size: 13.3333px;"&gt;Requirement Part ID value selected. I would like it to show the RGB colour if a &lt;SPAN style="font-size: 13.3333px;"&gt;Requirement Part ID is selected or not&lt;/SPAN&gt;&lt;/SPAN&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;Things already tried:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;=$(=only(PartColour))&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;=$(=$(=PartColour))&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;=PartColour&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;PartColour&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I've also tried all of the above as a variable. &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: 10pt;"&gt;You can see it is working fine when only a single &lt;SPAN style="font-size: 13.3333px;"&gt;Requirement Part ID&lt;/SPAN&gt; is selected. This is using =$(=$(=PartColour)) but as soon as the &lt;SPAN style="font-size: 13.3333px;"&gt;Requirement Part ID selection is removed, I lose the colour&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="203835" alt="ss2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203835_ss2.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas on what else I could try?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 16:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26683#M4453</guid>
      <dc:creator>gavin_kite</dc:creator>
      <dc:date>2018-05-29T16:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning a Colour to a dimension via the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26684#M4454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look here&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/maintaining-color-of-the-dimensions-in-qlikview/" title="http://www.learnallbi.com/maintaining-color-of-the-dimensions-in-qlikview/"&gt;Maintaining Color of the Dimensions in QlikView – Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 16:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26684#M4454</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-29T16:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning a Colour to a dimension via the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26685#M4455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response but that seems to refer to setting colour by expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code does work on the dimension but only when single value is selected &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 16:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26685#M4455</guid>
      <dc:creator>gavin_kite</dc:creator>
      <dc:date>2018-05-29T16:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning a Colour to a dimension via the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26686#M4456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of storing the whole thing, store it as three fields.... R, G, B and then use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RGB(R, G, B) as the expression for Dimension color and see if that works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 16:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26686#M4456</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-29T16:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning a Colour to a dimension via the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26687#M4457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked a treat. Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 16:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assigning-a-Colour-to-a-dimension-via-the-load-script/m-p/26687#M4457</guid>
      <dc:creator>gavin_kite</dc:creator>
      <dc:date>2018-05-29T16:37:26Z</dc:date>
    </item>
  </channel>
</rss>

