<?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: variance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variance/m-p/352190#M130657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, this was a long standing bug that if you use text color (This does not happen when you use visual cues) in table charts then the color which comes for the first row also comes for the label but it has been rectified in version 11.&lt;/P&gt;&lt;P&gt;As, I am attaching the file here in which you can see it. (May be if you open in version 10, you see the color but in verison 11 there is black color for the label).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in attached file, I have used text color only but it is showing the different colors on bars. (check values on data points)&lt;/P&gt;&lt;P&gt;I hope that I am not missing anything, Please let me know if any issue. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2012 05:36:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-16T05:36:51Z</dc:date>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352181#M130648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If&amp;nbsp; Variance between Actual cost and Standared cost is coming in negative then how to display it (I want to display it as positive)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 16:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352181#M130648</guid>
      <dc:creator />
      <dc:date>2012-04-15T16:07:19Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352182#M130649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yojassamarth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&amp;nbsp; using the fabs() function around your expression. The result is the size of the number - ie the number as a positive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 16:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352182#M130649</guid>
      <dc:creator />
      <dc:date>2012-04-15T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352183#M130650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yojas,&lt;/P&gt;&lt;P&gt;As Erica said fabs() function will always return absolute (unsigned) value of the expression passed as parameter.&lt;/P&gt;&lt;P&gt;So, if you want absolute value of your variance than pass your expression to fabs function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you write &lt;STRONG&gt;fabs(Absolute Cost - Standard Cost)&lt;/STRONG&gt; then it will return only value without its sign (absolute value). Also the same value will be returned if you write it otherwise &lt;STRONG&gt;fabs(Standard Cost - Absolute Cost).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 16:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352183#M130650</guid>
      <dc:creator />
      <dc:date>2012-04-15T16:53:06Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352184#M130651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi&lt;/P&gt;&lt;P&gt;And if i want to highlight that negative valued field with some color then what to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 17:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352184#M130651</guid>
      <dc:creator />
      <dc:date>2012-04-15T17:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352185#M130652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This can be done using text color for your expression.&lt;/P&gt;&lt;P&gt;Normally, You can use your expression name or can also use column() function so for example if your expression is column(1)&amp;nbsp; then you can put if (column(1) &amp;lt; 0, red(), black())&lt;/P&gt;&lt;P&gt;or same way if your expression name is variance then you can put if (variance&amp;lt;0,red(),black()) .&lt;/P&gt;&lt;P&gt;Qlikview by default shows column names in blue color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same effect can also be achieved through Visual cues tab and you can put your conditions (select your column and put &amp;lt; 0 and choose your color) there also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;But here you will not be able to use Column() function or your expression name to refer to the expression because that will return absolute value (no negative value) which will always be greater than 0.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Also, You can not use visual cues because they works on the column values directly and you will never have any negative values in your variance expression column, since you are using fabs().&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;So you have to use text color in your expression (click on +on your expression) and put the same expression you are using in variance column without fabs() in the text color definition. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;So, if your variance expression is fabs([Actual Cost] - [Standard Cost]) then in text color definition put&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;if(([Actual Cost] - [Standard Cost]) &amp;lt; 0, red(), black()) &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="13010" alt="1.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/13010_1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to explain it in a little detail and I am worried that it can be confusing (bad writing skills &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;).&lt;/P&gt;&lt;P&gt;So, Please let me know if any thing remains confusing. &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 and Regards,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 17:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352185#M130652</guid>
      <dc:creator />
      <dc:date>2012-04-15T17:53:20Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352186#M130653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, red() and Black() I have here used just for explanation, you can use any other color function as well as rgb and argb functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 19:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352186#M130653</guid>
      <dc:creator />
      <dc:date>2012-04-15T19:26:40Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352187#M130654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for detailed explanation......&amp;nbsp;&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;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 01:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352187#M130654</guid>
      <dc:creator />
      <dc:date>2012-04-16T01:49:29Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352188#M130655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i used if(actual cost-standard cost&amp;lt;0,red(),green()) and i am getting output correctly... but my column name becomes green after aplying this expression.... but i want it to be in black.... what to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 01:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352188#M130655</guid>
      <dc:creator />
      <dc:date>2012-04-16T01:58:03Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352189#M130656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; And if i want to hihglight negative values on bar charts or line charts then what to do? writting on color text&amp;nbsp; is not working....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 03:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352189#M130656</guid>
      <dc:creator />
      <dc:date>2012-04-16T03:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352190#M130657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, this was a long standing bug that if you use text color (This does not happen when you use visual cues) in table charts then the color which comes for the first row also comes for the label but it has been rectified in version 11.&lt;/P&gt;&lt;P&gt;As, I am attaching the file here in which you can see it. (May be if you open in version 10, you see the color but in verison 11 there is black color for the label).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in attached file, I have used text color only but it is showing the different colors on bars. (check values on data points)&lt;/P&gt;&lt;P&gt;I hope that I am not missing anything, Please let me know if any issue. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 05:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352190#M130657</guid>
      <dc:creator />
      <dc:date>2012-04-16T05:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352191#M130658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I would suggest to download Qlikview 11 as SR 1 has also been made available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 05:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352191#M130658</guid>
      <dc:creator />
      <dc:date>2012-04-16T05:51:55Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352192#M130659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hmm...&amp;nbsp; Thanks.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 05:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352192#M130659</guid>
      <dc:creator />
      <dc:date>2012-04-16T05:59:34Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352193#M130660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i applied text color option on two diferent expressions ... for one field i am getting exact o/p as i want means the title is in black color.....but for second expression i am getting green color for heading why it is so??? as i am appling same thing for both exp. .... please help me out for this issue......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 09:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352193#M130660</guid>
      <dc:creator />
      <dc:date>2012-04-16T09:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352194#M130661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the text color of the first row for both the expression?&lt;/P&gt;&lt;P&gt;or, if you can share your application!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 09:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352194#M130661</guid>
      <dc:creator />
      <dc:date>2012-04-16T09:45:27Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352195#M130662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used below expression for both the tables....but i am getting different o/p for both... how could it possible???&lt;/P&gt;&lt;P&gt;if(Field_Name&amp;lt;0,red(),green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 09:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352195#M130662</guid>
      <dc:creator />
      <dc:date>2012-04-16T09:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352196#M130663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used below expression for both the tables....but i am getting different o/p for both... how could it possible???&lt;/P&gt;&lt;P&gt;if(Field_Name&amp;lt;0,red(),green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 09:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352196#M130663</guid>
      <dc:creator />
      <dc:date>2012-04-16T09:50:39Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352197#M130664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are both of the tables straight tables ? or One of them is Pivot table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 09:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352197#M130664</guid>
      <dc:creator />
      <dc:date>2012-04-16T09:56:34Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352198#M130665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the application, if is not too big in size?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 09:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352198#M130665</guid>
      <dc:creator />
      <dc:date>2012-04-16T09:58:23Z</dc:date>
    </item>
    <item>
      <title>variance</title>
      <link>https://community.qlik.com/t5/QlikView/variance/m-p/352199#M130666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, I believe that I somehow got confused at that time when I said that label color behaves differently in version 11 compared to earlier verisons, because I just now checked and it was same behavior for v 10 and 11.&lt;/P&gt;&lt;P&gt;But yes, label color was being changed to first row color in Pivot tables but in Straight tables it was consistent, and I believe I got confused that way only. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;So, please accept my apologies for that. &lt;/P&gt;&lt;P&gt;And, If you are encountering this behavior in straight table then please let me see, even if you can give some sample app that will also do fine , because I am not able to regenerate this behavior on my system.&lt;/P&gt;&lt;P&gt;If I can see it then It will help me also to learn it better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see in this image, Pivot table (2nd) labels are green while straight table (1st) labels are black.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13033_1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 16:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variance/m-p/352199#M130666</guid>
      <dc:creator />
      <dc:date>2012-04-16T16:41:14Z</dc:date>
    </item>
  </channel>
</rss>

