<?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 Changing the Color of a Cell Values in Table Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447714#M806589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the way to change the color (text and background) of a Cell dynamically in Table box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="100" style="border: 1px solid rgb(0, 0, 0); height: 102px; width: 373px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Color Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Attribute 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Attribute 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Green&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DEF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Yellow&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GHI&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to color the Color Field based on the values it contains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;If( Color Field = 'Green', Green(), If( Color Field = 'Blue', Blue() )) etc.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I don't want to use Straight Table - because my Table contains close to 80 Attributes/Dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things I tried:&lt;/P&gt;&lt;P&gt;1. Enabled Grid View.&lt;/P&gt;&lt;P&gt;2. Right click on one of the cells in Color Field -&amp;gt; Custom Format Cell&lt;/P&gt;&lt;P&gt;3. In the Background Color and Font Color, gave the conditions like mentioned in the Example.&lt;/P&gt;&lt;P&gt;4. Apply this to 'Current Dimensions'&lt;/P&gt;&lt;P&gt;5. Nothing Changes.&lt;/P&gt;&lt;P&gt;6. If I select Green/Blue/Yellow, the color changes. That is not what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to give in the IF Condition that will take the field value and check in real time and then does the coloring part? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Changing the Color of a Cell Values in Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447714#M806589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the way to change the color (text and background) of a Cell dynamically in Table box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="100" style="border: 1px solid rgb(0, 0, 0); height: 102px; width: 373px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Color Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Attribute 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Attribute 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Green&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DEF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Yellow&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GHI&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to color the Color Field based on the values it contains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;If( Color Field = 'Green', Green(), If( Color Field = 'Blue', Blue() )) etc.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I don't want to use Straight Table - because my Table contains close to 80 Attributes/Dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things I tried:&lt;/P&gt;&lt;P&gt;1. Enabled Grid View.&lt;/P&gt;&lt;P&gt;2. Right click on one of the cells in Color Field -&amp;gt; Custom Format Cell&lt;/P&gt;&lt;P&gt;3. In the Background Color and Font Color, gave the conditions like mentioned in the Example.&lt;/P&gt;&lt;P&gt;4. Apply this to 'Current Dimensions'&lt;/P&gt;&lt;P&gt;5. Nothing Changes.&lt;/P&gt;&lt;P&gt;6. If I select Green/Blue/Yellow, the color changes. That is not what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to give in the IF Condition that will take the field value and check in real time and then does the coloring part? &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/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447714#M806589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Color of a Cell Values in Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447715#M806590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try &lt;/P&gt;&lt;P&gt;if(GetFieldSelections([Color Field])='Green', Green(),If( GetFieldSelections( [Color Field]) = 'Blue', Blue(),&lt;/P&gt;&lt;P&gt;If( GetFieldSelections( [Color Field]) = 'Yellow', Yellow())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Text Color Expression?&lt;/P&gt;&lt;P&gt;the color would only change for Green Blue and Yellow if the values are selected in filter or it would stay as default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 16:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447715#M806590</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-10-27T16:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Color of a Cell Values in Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447716#M806591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aehman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. That is exactly what I don't want it to happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetFieldSelection() / Actual Field names, doesn't matter here. Both give me the same result - which is the colors are applied based on some selection of the color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, I want the Colors to be applied based on the Field Values itself without users selecting a particular color value here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2017 18:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447716#M806591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-28T18:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Color of a Cell Values in Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447717#M806592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try with a table color load :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Colors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;,rgb(R,G,B) as Color&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;INLINE [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Color_Field,R,G,B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Green,0,205,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Blue,0,0,205&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Yellow,238,201,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Once you've loaded the table, go into Background color and write : Only({&amp;lt;Color_Field=&amp;gt;} Color)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;to avoid color change on user selection on color field.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2017 20:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447717#M806592</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-10-28T20:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Color of a Cell Values in Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447718#M806593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koushik,&lt;/P&gt;&lt;P&gt;Don't use a table box, DO use a straight table then you will be able to control the colours of individual cells &lt;SPAN style="font-size: 13.3333px;"&gt;by expanding the dimension's icon in the used dimensions list in&lt;/SPAN&gt; the dimensions tab .&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;Don't add any expressions, in the Presentations tab de-select &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;Suppress Zero Values&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&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;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2017 10:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447718#M806593</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-29T10:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Color of a Cell Values in Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447719#M806594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know, the custom format option is not aware of the underlying object. As such, you can't set a dynamic row color using this option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can achieve basically the same result by adding all of your fields as dimensions, adding one expression, and hiding that expression. You can then use a formula to set the color. If your fields contain actual legal color names, you can actually use a nifty script trick:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, Evaluate(Color &amp;amp; '()') as Color2;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Color, Text &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Green, ABC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blue, DEF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yellow, GHI&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use the Color2 field in your dimension / expression background or text color, as is, to set the color. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2017 15:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-Color-of-a-Cell-Values-in-Table-Box/m-p/1447719#M806594</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-10-29T15:16:52Z</dc:date>
    </item>
  </channel>
</rss>

