<?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: To get consistent colors for same options in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353484#M577499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!! Thanks for sharing! Have a great day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 12:42:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-22T12:42:17Z</dc:date>
    <item>
      <title>To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353477#M577492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am preparing a chart to show the count of responses against a couple of survey questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question, named Q_23 is like "whats your rating on the performance" . The answer to the question is meant to be anything from 0 to 10.&lt;/P&gt;&lt;P&gt;The answer feild [Response] contains values other than 0 to 10 also (that pertains to other questions which has response like probably, always, never etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally the Q_23 chat should be displayed as shown here..(and for me it does display like this when there is no selection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="10Ops.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13028_10Ops.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Now the problem happens when I select few filters. When there are no values for a few options, it disappears and show something like &lt;/P&gt;&lt;P&gt;&lt;IMG alt="fewOps.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13029_fewOps.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This is totally unacceptable as the color coding (red for the worst and green for the best) totaly disobeys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a solution , I thought of two options&lt;/P&gt;&lt;P&gt;1) the legend should show all the 11 options even if there is no value against that. I hope, if I can achieve this, the color code will be followed.&lt;/P&gt;&lt;P&gt;2) there should be some mechanism to map each color to each option so that even if few options are not there, the options that are present will be shown in their correct color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To try out my first option, I tried going to 'dimensions' tab and uncheck 'suppress null values', check 'show all values' ..then went to 'presentation tab' and checked 'show zero on bars' . &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; this is not helping me and the result is the same as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension I gave is a calculated dimension as given below ..(I have done so because else the other response values like 'always', 'probably' etc will appear in legend when I check the 'show all values' in dimensions tab)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Calculated dimension : &lt;EM&gt;=if([Response]='0-Worst possible' or [Response]='1' or [Response]='2' or [Response]='3' or [Response]='4' or [Response]='5' or [Response]='6' or [Response]='7' or [Response]='8' or [Response]='9' or [Response]='10-Best possible',[Response])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression : &lt;EM&gt;Count({&amp;lt;Question={'Q_23'}&amp;gt;}[Response])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding 2nd option, that is the possibility of mapping colors to the 11 options, I dont have a slightest clue if this is possible and how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could be a very simple problem..I anticipate any experienced qlikview friend to help me out soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;sircute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 15:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353477#M577492</guid>
      <dc:creator />
      <dc:date>2012-04-16T15:12:02Z</dc:date>
    </item>
    <item>
      <title>To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353478#M577493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check the persistent colors option in the Color Tab which is below the Multicolored Check box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 15:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353478#M577493</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-16T15:25:00Z</dc:date>
    </item>
    <item>
      <title>To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353479#M577494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chelambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked persistent colors option, but it is not shown as expected (see the legend)&lt;/P&gt;&lt;P&gt;The expected ranking is what has been given in 'data appearence' section ..this is not the ranking when it comes in legend.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PersistCol.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13044_PersistCol.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normaly, I give the order of colors in 'data appearence' in the same sequence which i expect in chart. When we use persistent colors options, does anything else need to be adjusted?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 06:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353479#M577494</guid>
      <dc:creator />
      <dc:date>2012-04-17T06:07:04Z</dc:date>
    </item>
    <item>
      <title>To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353480#M577495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i think this can be solved by providing fixed colour to your expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just expend expression and add condition in background color:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="condition.PNG" class="jive-image" src="https://community.qlik.com/legacyfs/online/13045_condition.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like if(&lt;EM style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;([Response]='0-Worst possible' or [Response]='1' , rgb(10,0,0),if(.....)&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Arun Goel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 06:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353480#M577495</guid>
      <dc:creator />
      <dc:date>2012-04-17T06:18:37Z</dc:date>
    </item>
    <item>
      <title>To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353481#M577496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That actually worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gave, under 'background color' , the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if([Response]='0-Worst possible',rgb(217,0,0),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='1',rgb(255,85,85),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='2',rgb(247,139,60),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='3',rgb(248,211,194),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='4',rgb(227,188,32),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='5',rgb(236,238,138),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='6',rgb(255,255,55),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='7',rgb(205,248,177),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='8',rgb(98,255,98),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='9',rgb(102,204,0),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Response]='10-Best possible',rgb(0,100,0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)))))))))))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the time being I am implementing this. But, this seems to be a work around. There shoud be some easier way to achive this using 'persistent colors' option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, anyone who's an expert in color section might help me with it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 07:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353481#M577496</guid>
      <dc:creator />
      <dc:date>2012-04-17T07:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353482#M577497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i doesn't know wht logic others use, but what i use in my tools is that i upload the colors in the QV file and apply it to the charts that having an option to change the color code vary easily in the excel, pic see the attached example file, and the way&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="13055" alt="Picture1.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/13055_Picture1.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 08:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353482#M577497</guid>
      <dc:creator />
      <dc:date>2012-04-17T08:15:00Z</dc:date>
    </item>
    <item>
      <title>To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353483#M577498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/mohammeds" id="jive-4289023095258935420925" onmouseout="" onmouseover=""&gt;mohammeds&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; that too is a very smart way to map colors to bars in the sequence that we want.&lt;/P&gt;&lt;P&gt;Thanks for sharing &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, 17 Apr 2012 11:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353483#M577498</guid>
      <dc:creator />
      <dc:date>2012-04-17T11:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: To get consistent colors for same options</title>
      <link>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353484#M577499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!! Thanks for sharing! Have a great day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-get-consistent-colors-for-same-options/m-p/353484#M577499</guid>
      <dc:creator />
      <dc:date>2017-03-22T12:42:17Z</dc:date>
    </item>
  </channel>
</rss>

