<?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: Change the Color of Bar depending Upon a condition not on Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453932#M568055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u said That is Correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 07:40:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-21T07:40:58Z</dc:date>
    <item>
      <title>Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453927#M568050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a bar chart in which X-axis represent 12 months &amp;amp; on Y-Axis it is Showing Sum(Sales).I have made a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Line by making use of --(Sum(Sales)/(Count(DISTINCT(month))))----Avererage Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to change the color of Bar in Bar chart depending upon the following condition:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(Sales) &amp;gt;(Sum(Sales)/(Count(DISTINCT(month)))),Blue(),Red()) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is not working...!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i but a vlaue in place of Average Calculation then i am getting my Result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(Sales) &amp;gt;65,Blue(),Red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the attached Sample Qvd for this Problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 06:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453927#M568050</guid>
      <dc:creator />
      <dc:date>2012-11-21T06:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453928#M568051</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;Use Script some thing like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( Sum(Sales)&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr ( Sum(Sales) / &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( Count(DISTINCT(month) ) ),Year,Month ),Blue( ),Green( )) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453928#M568051</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-21T07:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453929#M568052</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;You have to use some different condition because this condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt; Sum(Sales)&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( Sum(Sales) /&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( Count(DISTINCT(month) ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;always true&amp;nbsp; so it prints 1 condition for chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;HTH&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453929#M568052</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-21T07:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453930#M568053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not working here...&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Download that sample Qvd attached &amp;amp; try ......&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453930#M568053</guid>
      <dc:creator />
      <dc:date>2012-11-21T07:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453931#M568054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=IF((Sales)&amp;gt;( Sum(Sales) /( Count(DISTINCT(month) ) )),Red(),Blue())&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condition is returing Blue color , So i think that it returns False vale not True value as you have said Above....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453931#M568054</guid>
      <dc:creator />
      <dc:date>2012-11-21T07:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453932#M568055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u said That is Correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453932#M568055</guid>
      <dc:creator />
      <dc:date>2012-11-21T07:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453933#M568056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the Attachment here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 08:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453933#M568056</guid>
      <dc:creator />
      <dc:date>2012-11-21T08:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453934#M568057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have a single chart only in which the color of the bar should get changed if it is higher then Average(Red)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and (Blue) with Lower value then Average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have created 2 chart and Over shadow One.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it to work Dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; also want to know that how can you justify Anand Answer without a proof...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping me Out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 08:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453934#M568057</guid>
      <dc:creator />
      <dc:date>2012-11-21T08:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453935#M568058</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;As i understand you want to create a bar chart where your average value that is 65 which also a reference line and you want to display where a chart crosses a reference line so for this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vAvg =(Sum(Sales)/(Count(DISTINCT(month))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and on the Background color change use this variable in your script like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( Sum(Sales)&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vAvg),Blue( ),Green( ) ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then please check your chart colors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 09:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453935#M568058</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-21T09:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453936#M568059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried that also wat you have said.All the bars are of Green Color only&amp;nbsp;&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Average is not fixed to 65.It will change depending upon the number of month selected,that's why i am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression not a hard coded Value-65.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453936#M568059</guid>
      <dc:creator />
      <dc:date>2012-11-21T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453937#M568061</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;It is not hard coded the formula in variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;vAvg =(Sum(Sales)/(Count(DISTINCT(month))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;is updated according to the values that are changes in your columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Let me know about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453937#M568061</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-21T11:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453938#M568062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya Anand I got that it is not hard coded but i have tried this Variable concept also but it is also not working for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453938#M568062</guid>
      <dc:creator />
      <dc:date>2012-11-21T11:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453939#M568066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When writing the formula in variable write some like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable name &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;vAvg and in definition write&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=(Sum(Sales)/(Count(DISTINCT(month))))&lt;/SPAN&gt; with equal sign.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this variable in in Background properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if( Sum(Sales)&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vAvg),Blue( ),Green( ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453939#M568066</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-21T11:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453940#M568069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally i got it&amp;nbsp;&amp;nbsp; &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;Thanks Anand Chauhan for helping me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know one thing more that what is the use of = operator Exactly out in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453940#M568069</guid>
      <dc:creator />
      <dc:date>2012-11-21T11:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453941#M568072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When ever you create any variable and the variable gets value from any formula if you not put = sign before formula like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;(Sum(Sales)/(Count(DISTINCT(month))))&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;it will treat like a text script and but if you put &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=(Sum(Sales)/(Count(DISTINCT(month))))&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp; = before that so by this the value of formula is assign to the variable and variable holds the value of formula that is the difference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453941#M568072</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-21T11:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453942#M568073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now i have a complete Picture of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Anand.Can you provide me your personal e-mail id .So i can remain in your touch always&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 11:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453942#M568073</guid>
      <dc:creator />
      <dc:date>2012-11-21T11:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Color of Bar depending Upon a condition not on Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453943#M568075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am available every time in the Qlikview Community and if you want to ask a question then send directly a Private Discussion to me so i respond to you on your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 09:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-Color-of-Bar-depending-Upon-a-condition-not-on-Value/m-p/453943#M568075</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-22T09:11:56Z</dc:date>
    </item>
  </channel>
</rss>

