<?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: Color Coding in Dimension based on expression value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446154#M166437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Asumme is there are lakhs of record then what will happen i think the dictionary of color will come to end....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to set some criteria and then easily we can use colors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 05:03:28 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2012-12-18T05:03:28Z</dc:date>
    <item>
      <title>Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446153#M166436</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 am trying to implement a color coding using the "Background Color" in the dimension. My requirement is to code the dimension value based on the total(expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 299px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="119"&gt;Dimension&lt;/TD&gt;&lt;TD class="xl65" width="79"&gt;Expression=count(ID)&lt;/TD&gt;&lt;TD width="101"&gt;Color&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;50&lt;/TD&gt;&lt;TD&gt;GREEN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;20&lt;/TD&gt;&lt;TD&gt;YELLOW&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;C&lt;/TD&gt;&lt;TD class="xl65"&gt;30&lt;/TD&gt;&lt;TD&gt;LIGHT GREEN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;D&lt;/TD&gt;&lt;TD class="xl65"&gt;100&lt;/TD&gt;&lt;TD&gt;RED&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;E&lt;/TD&gt;&lt;TD class="xl65"&gt;80&lt;/TD&gt;&lt;TD&gt;BLUE&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't directly code if(Dimension = 'D' , RGB(-,-,-) ) because the expression value varies. All I want is the highest should be RED,next BLUE, next GREEN and so on.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest something??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 04:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446153#M166436</guid>
      <dc:creator />
      <dc:date>2012-12-18T04:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446154#M166437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Asumme is there are lakhs of record then what will happen i think the dictionary of color will come to end....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to set some criteria and then easily we can use colors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 05:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446154#M166437</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-18T05:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446155#M166438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sardar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have thousands of record but the distinct dimension values are less than 10, so if I know how to color code based on my requirement above I would be okay. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 06:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446155#M166438</guid>
      <dc:creator />
      <dc:date>2012-12-18T06:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446156#M166439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaman,&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Go to The expression and clik on the + sign of expression....&lt;/P&gt;&lt;P&gt;There go on Background color..&lt;/P&gt;&lt;P&gt;and write this code,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(rank([Count(ID)])=1,RED(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(rank([Count(ID)])=2,Green(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(rank([Count(ID)])=3,Yellow(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(rank([Count(ID)])=4,White(),Blue()))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please set the colors according to your requirement,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 07:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446156#M166439</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-18T07:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446157#M166440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sardar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying. I actually used the expression below , but its only working for rank 1 and 2. Its not working for rank 3 and above. any idea what could be wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(rank(count([Sl. No]))= 1,Blue(),&lt;/P&gt;&lt;P&gt;if(rank(count([Sl. No]))= 2, rgb(255,0,0), &lt;/P&gt;&lt;P&gt;if(rank(count([Sl. No]))= 3, Yellow())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 07:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446157#M166440</guid>
      <dc:creator />
      <dc:date>2012-12-18T07:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446158#M166441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=if(rank(count([Sl. No]))= 1,Blue(),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(rank(count([Sl. No]))= 2, rgb(255,0,0),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(rank(count([Sl. No]))= 3, Yellow(), white())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Add the white() color code at last hope it work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;And please update the discussion with correct&amp;nbsp; or helpful&amp;nbsp; answer status,which ever you think and satisfied.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 07:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446158#M166441</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-18T07:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446159#M166442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Son of Sardar. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 08:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446159#M166442</guid>
      <dc:creator />
      <dc:date>2012-12-18T08:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Color Coding in Dimension based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446160#M166443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It just like helping one with the faith that when i will be in need some other or same will help mee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are welcome.&lt;/P&gt;&lt;P&gt;Can i know from where you are ...?&lt;/P&gt;&lt;P&gt;And Firm you are working with..??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that it is much personal ..but if possible then tell else no issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 09:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Coding-in-Dimension-based-on-expression-value/m-p/446160#M166443</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-18T09:01:55Z</dc:date>
    </item>
  </channel>
</rss>

