<?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 default color in the background color expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255944#M585803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can achieve the desired effect by "NOT" specifying any background color specification for the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikVIew will use the default colours for displaying data according to country or city, whichever level you view the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remove the background color expression... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhinava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 12:25:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-08T12:25:08Z</dc:date>
    <item>
      <title>default color in the background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255941#M585800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done a example of my problem in the QlikView application. For information, my real application contains a lot more of value in the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I have a sector chart with a drill down group (2 dimensions, Country and City)&lt;/P&gt;&lt;P&gt;- I would like to specify a color for the Country field and that QlikView takes me the default color for the City field&lt;/P&gt;&lt;P&gt;- In the background color expression, i've wrote =if(GetCurrentField(Geography) = 'Country',RGB(R,G,B),'')&lt;/P&gt;&lt;P&gt;- The colors works for Country but City is in black because he doesn't know what to do for the City field&lt;/P&gt;&lt;P&gt;- The problem is that I don't know how to say in my expression "else put me the default QlikView color" (I have wrote '' for the moment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any idea, I would be pleased to hear it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 10:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255941#M585800</guid>
      <dc:creator />
      <dc:date>2011-08-08T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: default color in the background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255942#M585801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well QlikView is doing exactly wht its supposed to do, infact more than that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the background color, wen you specify the color for country it picks it, but where it is city u leave the option/value blank(aka NULL) and wht QlikView does is it converts the NULL value to RGB(0,0,0) (aka BLACK).. thats y city is being shown as black.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to specify the RGB color code(default Qlikview color in your case) in the second expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no way for qlikview to look into default color set if you specify a color in the background color specification/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgrds, Abhinava&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Abhinava Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 11:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255942#M585801</guid>
      <dc:creator />
      <dc:date>2011-08-08T11:13:19Z</dc:date>
    </item>
    <item>
      <title>default color in the background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255943#M585802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that there is actually a lot of cities and I can't specify a color for each one especially that the colours that propose QlikView are very nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it mean that if i want to use specific colors I have to do it for all the fields I use? Which would make my problem impossible to solve...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 11:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255943#M585802</guid>
      <dc:creator />
      <dc:date>2011-08-08T11:19:08Z</dc:date>
    </item>
    <item>
      <title>default color in the background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255944#M585803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can achieve the desired effect by "NOT" specifying any background color specification for the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikVIew will use the default colours for displaying data according to country or city, whichever level you view the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remove the background color expression... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhinava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 12:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255944#M585803</guid>
      <dc:creator />
      <dc:date>2011-08-08T12:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: default color in the background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255945#M585807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I have the same issue as Anthony - I have one value that MUST be a unique colour ("Vivid") and the rest need to use the persistent color palette.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks as though QlikView allocates the persistent color to a field based on load order. If there is a way to get the load order attribute in an expression then I could use the following expression for the background color:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Provider='Vivid',RGB(200,0,0),Color(___________))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where ________ is Provider.loadOrder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to use a field's attributes like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2012 01:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255945#M585807</guid>
      <dc:creator />
      <dc:date>2012-01-13T01:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: default color in the background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255946#M585808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are there any new ideas on that?&lt;/P&gt;&lt;P&gt;We have the same issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a Line-Chart we use an expression-backgroundcolor:&lt;/P&gt;&lt;P&gt;if(MyField='A',RGB(red,green,blue))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if MyField is different from A, the expression returns NULL, and QV uses the standard color palette.&lt;/P&gt;&lt;P&gt;This works in Line Charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately QV's behavior does not seem to be consistent, as in Pie-Charts the result NULL produces black sectors (NULL=&amp;gt;0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on that? Any way to circumvent the behavior in Pie-Charts?&lt;/P&gt;&lt;P&gt;(The one solution to provide color codes for all possible values in MyField is not an option).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any idea,&lt;/P&gt;&lt;P&gt;Thilo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: QV11SR1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 11:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/default-color-in-the-background-color-expression/m-p/255946#M585808</guid>
      <dc:creator />
      <dc:date>2012-08-09T11:51:37Z</dc:date>
    </item>
  </channel>
</rss>

