<?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: Set dimension background colour based on expression value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565769#M211091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's because you're referencing the expression by name.&amp;nbsp; If you change it to&lt;/P&gt;&lt;P&gt;=if(Sum(Sales) = 0,yellow(),white())&lt;/P&gt;&lt;P&gt;it won't show it as an error anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2014 18:42:54 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2014-02-10T18:42:54Z</dc:date>
    <item>
      <title>Set dimension background colour based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565768#M211090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application in which I what to change the background colour for all dimensions based on the value of an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The background colour is being set correctly, however, the editor is flagging the expression name as a 'Bad field name' in the dimension's background setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an issue with the editor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an application demonstrating the issue.&amp;nbsp; I am using QV11 SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565768#M211090</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2014-02-10T18:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set dimension background colour based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565769#M211091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's because you're referencing the expression by name.&amp;nbsp; If you change it to&lt;/P&gt;&lt;P&gt;=if(Sum(Sales) = 0,yellow(),white())&lt;/P&gt;&lt;P&gt;it won't show it as an error anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565769#M211091</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-10T18:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set dimension background colour based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565770#M211092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;=if(Column(1) = 0,yellow(),white())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565770#M211092</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-10T18:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set dimension background colour based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565771#M211093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try Like this&lt;/P&gt;&lt;P&gt;dimensions---&amp;gt;Background colour&lt;/P&gt;&lt;P&gt;if(sum(Sales)&amp;lt;=0,Yellow(),White())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565771#M211093</guid>
      <dc:creator />
      <dc:date>2014-02-10T18:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set dimension background colour based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565772#M211094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response Nicole, Massimo and Nirmal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do realize that I can enter the full expression or the column number.&amp;nbsp; The expression is much more complicate than in the sample I attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My thinking is that if I can use the expression label, which seems to work, then no change will be required to the background colour setting if the expression changes or if another coloumn is added to the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like confirmation that using the expression label is valid and the 'Bad field name' message is a bug with the editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 18:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565772#M211094</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2014-02-10T18:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set dimension background colour based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565773#M211095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you've tested it on both the server and in desktop, and it seems to be working, I would go with it.&amp;nbsp; There are other times where expressions show as invalid (such as when using -= in set analysis) when they are in fact perfectly correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 19:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565773#M211095</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-10T19:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set dimension background colour based on expression value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565774#M211096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works, on desktop and on server too (I tried Ajax)&lt;/P&gt;&lt;P&gt;I agree with you, John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 19:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-dimension-background-colour-based-on-expression-value/m-p/565774#M211096</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-10T19:10:59Z</dc:date>
    </item>
  </channel>
</rss>

