<?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 Calculated Colors from Loaded Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185306#M49837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;BR /&gt;And same for Dimensions (for the table, not pie)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2011 19:23:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-28T19:23:38Z</dc:date>
    <item>
      <title>Calculated Colors from Loaded Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185303#M49834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am comparing the financial results of three competing internal divisions - A, B, &amp;amp; C. In my primary table, I load the financial results (to simplify, with fields &lt;EM&gt;Division&lt;/EM&gt; and &lt;EM&gt;Revenue&lt;/EM&gt;) &lt;EM&gt;&lt;/EM&gt;along with a secondary table that has Division &amp;amp; the red, green, &amp;amp; blue color components for each division's company-approved color palette:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3948_sourceID:3948" /&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make a simple pie chart that visually compares the divisions, with each divison's piece of the pie chart being that division's color.&lt;/P&gt;&lt;P&gt;The proportions are correct, but the colors are the standard qv colors:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3949_sourceID:3949" /&gt;&lt;/P&gt;&lt;P&gt;Using the Properties box, I set the color using the calculated base color box:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3950_sourceID:3950" /&gt;&lt;/P&gt;&lt;P&gt;The expression&lt;/P&gt;&lt;P&gt;RGB([Entity RGB Red], [Entity RGB Green], [Entity RGB Blue])&lt;/P&gt;&lt;P&gt;returns all black. The expression&lt;/P&gt;&lt;P&gt;RGB(Aggr($([Entity RGB Red])), Aggr($([Entity RGB Green])), Aggr($([Entity RGB Blue])))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;makes no change to the color palette (returns the default colors)&lt;/P&gt;&lt;P&gt;If I hard code the RGB numbers into the formula, it returns the correct color. I would do it this way, but Division A won't always be the largest division, and I can't have Division C showing up with A's color if I distribute this to sales leaders.&lt;/P&gt;&lt;P&gt;A straight table in the same sheet shows the division associations correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3951_sourceID:3951" /&gt;&lt;/P&gt;&lt;P&gt;so I can't figure out why the colors aren't correct.&lt;/P&gt;&lt;P&gt;I would really appreciate some help figuring out how to use the calculated color option correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 15:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185303#M49834</guid>
      <dc:creator />
      <dc:date>2011-03-28T15:43:40Z</dc:date>
    </item>
    <item>
      <title>Calculated Colors from Loaded Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185304#M49835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think all you need to do us to use the next expression in Entity Dimension and in all Expressions, in &lt;STRONG&gt;color atrribute expressions&lt;/STRONG&gt;:&lt;BR /&gt;rgb(Red,Green, Blue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 15:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185304#M49835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-28T15:52:11Z</dc:date>
    </item>
    <item>
      <title>Calculated Colors from Loaded Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185305#M49836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;Thanks for taking the time to help me out here.&lt;/P&gt;&lt;P&gt;I have to admit, I'm still pretty new to manipulating graphs in qlikview, so I'm not quite sure what you mean by "use the next expression in Entity Dimension and in all Expressions."&lt;/P&gt;&lt;P&gt;Do you mean in the "Background Color" attribute under the Expression in the Expressions tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 19:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185305#M49836</guid>
      <dc:creator />
      <dc:date>2011-03-28T19:13:35Z</dc:date>
    </item>
    <item>
      <title>Calculated Colors from Loaded Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185306#M49837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;BR /&gt;And same for Dimensions (for the table, not pie)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 19:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185306#M49837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-28T19:23:38Z</dc:date>
    </item>
    <item>
      <title>Calculated Colors from Loaded Table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185307#M49838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome. Looks perfect. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 20:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colors-from-Loaded-Table/m-p/185307#M49838</guid>
      <dc:creator />
      <dc:date>2011-03-28T20:49:16Z</dc:date>
    </item>
  </channel>
</rss>

