<?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: Column() function in calculated color expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472797#M563193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to copy the full expression of the column 1, you can create a variable, and define it as the text of your expression.&amp;nbsp; Do not use "=" in variable definition, it will return the result rather than expression text.&amp;nbsp; Use this variable in color expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 18:27:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-26T18:27:13Z</dc:date>
    <item>
      <title>Column() function in calculated color expression</title>
      <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472796#M563192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;Hi all,&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;i have a simple gauge chart, it's a colored square that i need to decide the color based on the value of expression.&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;But i don't want to use the same expression in calculated color expression, becuse in my project it's really long and i need to repeat it many times, so i use the column() function.&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;(you can see the configuration in pics or check the qvw file.)&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;But it looks like that Column function dosn't work here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;I will appreciate any idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;Best Regards - Peyman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt; &lt;IMG __jive_id="33916" class="jive-image-thumbnail jive-image" onclick="" alt="05.png" src="https://community.qlik.com/legacyfs/online/33916_05.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 16:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472796#M563192</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2013-02-26T16:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Column() function in calculated color expression</title>
      <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472797#M563193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to copy the full expression of the column 1, you can create a variable, and define it as the text of your expression.&amp;nbsp; Do not use "=" in variable definition, it will return the result rather than expression text.&amp;nbsp; Use this variable in color expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 18:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472797#M563193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-26T18:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Column() function in calculated color expression</title>
      <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472798#M563194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Michael for answer,&lt;/P&gt;&lt;P&gt;but i have about 100 so squares and this &lt;SPAN style="font-size: 10pt;"&gt;means that i need to defiene 100 another variables for colors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But when i can use Column function that means i need to defein the color variable only one time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best Regards - Peyman &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 20:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472798#M563194</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2013-02-26T20:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Column() function in calculated color expression</title>
      <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472799#M563195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peyman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what you're trying to do, sorry.&amp;nbsp; I was going to ask how come you have multiple expressions for one column - but there is no "column" in gauge charts.&amp;nbsp; It is relevant for staright or pivot tables.&amp;nbsp; Your attached example is not very helpful either.&amp;nbsp; The only I can see that you're expecting to refer to a table box from the gauge chart, and it doesn't work this way.&amp;nbsp; The color is red if you use expression sum(a) for color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably you have to use expressions as is, no matter how complex they are.&amp;nbsp; Variables for expressions (or parts of expressions) will be helpful, I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 14:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472799#M563195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T14:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Column() function in calculated color expression</title>
      <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472800#M563196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;Thx Michael,&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;the idea is to build a management dashboard with many squares that each shows a KPI. The following picture can be helpful to catch the main principle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;&lt;IMG __jive_id="34042" alt="StockTouch-2.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/34042_StockTouch-2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;(picture: StockTouch ios app.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;and user can get more information with clicking on every square.&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;At the moment i have to repeat the expression for color calculation process, as you mentioned.&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;I thought it can be better if i can find any approach that allows me to use the calculated value of KPI, as we use the column function in pivot and straight tables.&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;You know it's a grate performance hack and can reduce the total calculation time of chart. Also it makes the development process easier because i don't have to repeat the big expression that calculate some 7 or 11 shades of colors for every KPI.&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;You are completely right about using vars and it's what makes me suffer less to produce this nice dashboard!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px;"&gt;Best Regards - Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 08:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472800#M563196</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2013-02-28T08:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Column() function in calculated color expression</title>
      <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472801#M563197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I ask why you are using a gauge chart? I guess it will be more simple to get the colors right if you would use a straight table (chart), and dynamically change the background color of the expression. This way, you can label the expression and use this label in the calculation for the background color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 09:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472801#M563197</guid>
      <dc:creator />
      <dc:date>2013-02-28T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Column() function in calculated color expression</title>
      <link>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472802#M563198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as i said, i need to demonstrate many KPIs and every KPI is defined as a formula. with this structure I cant use a table to show the results. That means for every box i have a different expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 10:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-function-in-calculated-color-expression/m-p/472802#M563198</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2013-02-28T10:11:08Z</dc:date>
    </item>
  </channel>
</rss>

