<?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: Why doesn't this simple line background colour expression work? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141841#M520009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try with this as your variable:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg(TOTALAggr(Count(DISTINCT OrderID), MonthYear))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2016 16:25:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-19T16:25:11Z</dc:date>
    <item>
      <title>Why doesn't this simple line background colour expression work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141839#M520003</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;I have the following chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="135039" alt="" class="jive-image image-1" height="203" src="https://community.qlik.com/legacyfs/online/135039_pastedImage_0.png" style="max-width: 1200px; max-height: 900px; height: 203px; width: 579.358px;" width="579" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: MonthYear&lt;/P&gt;&lt;P&gt;Expression: &lt;STRONG&gt;Count(Distinct OrderID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In background colour for the expression is &lt;STRONG&gt;If(Count(DISTINCT OrderID) &amp;gt; $(vAVGOrders), LightBlue(), LightGreen())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My variable vAVGOrders expression is: &lt;STRONG&gt;Avg(Aggr(Count(DISTINCT OrderID), MonthYear))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Why doesn't my chart above change to lightblue colour when the line is going over Avg # Orders? What do I need to change please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 16:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141839#M520003</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2016-08-19T16:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this simple line background colour expression work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141840#M520006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put an = character in front of the expression in the variable so that it's calculated outside the context of the chart. Otherwise it will be calculated for every MonthYear value and then the average is always the same as the count because the average will be calculated on only one value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 16:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141840#M520006</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-19T16:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this simple line background colour expression work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141841#M520009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try with this as your variable:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg(TOTALAggr(Count(DISTINCT OrderID), MonthYear))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 16:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141841#M520009</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-19T16:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this simple line background colour expression work?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141842#M520012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys you are both correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 16:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-doesn-t-this-simple-line-background-colour-expression-work/m-p/1141842#M520012</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2016-08-19T16:32:23Z</dc:date>
    </item>
  </channel>
</rss>

