<?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: How to color code a column  in visual cues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498451#M186244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(SUM({1&amp;lt;Location=&amp;gt;} total [Sales Margin]) / Count({1&amp;lt;Location = &amp;gt; } total distinct Location)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the conditions in the visual cues and you are done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 16:14:33 GMT</pubDate>
    <dc:creator>salto</dc:creator>
    <dc:date>2013-10-21T16:14:33Z</dc:date>
    <item>
      <title>How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498445#M186238</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 attached my QVW file, what i am trying to achieve is , I have a column named margin and i am trying to color code the margin based on a formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&amp;nbsp; in the visual cues for the upper count i gave it as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM([Sales Margin]) &amp;gt; (SUM([Sales Margin]) / Count(Location)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for lower count it is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM([Sales Margin]) &amp;lt; (SUM([Sales Margin]) / Count(Location))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically what i am trying to do is , if the total margin across all locations / no of locations which gives me the avg margin ad if that location margin is greater than avg margin then upper count else lower count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it always shows me only upper count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest me where i am going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 14:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498445#M186238</guid>
      <dc:creator />
      <dc:date>2013-10-21T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498446#M186239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;you were close &lt;/P&gt;&lt;P&gt;just change your expression to &lt;/P&gt;&lt;P&gt;=(SUM([Sales Margin]) / Count(Location)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you don't need the first part as it already calculated&amp;nbsp; in the expression &lt;/P&gt;&lt;P&gt;so you just need to enter the value you want the expression to be compared with &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 14:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498446#M186239</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2013-10-21T14:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498447#M186240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked fine, Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 14:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498447#M186240</guid>
      <dc:creator />
      <dc:date>2013-10-21T14:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498448#M186241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at the&amp;nbsp;&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;count(total distinct Location)&lt;/STRONG&gt;&lt;/EM&gt; and&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;sum (total [Sales Margin]) &lt;/STRONG&gt;&lt;/EM&gt;formulas, they do what you need!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 14:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498448#M186241</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-10-21T14:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498449#M186242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine however, i need to make a small change to this one, The margin color code shouldnt change if i select any location it should be the same .I know it can be achieved by set analysis, but i am not exactly sure on how do it.Can you help me with any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 16:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498449#M186242</guid>
      <dc:creator />
      <dc:date>2013-10-21T16:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498450#M186243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SALTO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine however, i need to make a small change to this one, The margin color code shouldnt change if i select any location it should be the same .I know it can be achieved by set analysis, but i am not exactly sure on how do it.Can you help me with any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 16:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498450#M186243</guid>
      <dc:creator />
      <dc:date>2013-10-21T16:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498451#M186244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(SUM({1&amp;lt;Location=&amp;gt;} total [Sales Margin]) / Count({1&amp;lt;Location = &amp;gt; } total distinct Location)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the conditions in the visual cues and you are done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 16:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498451#M186244</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-10-21T16:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a column  in visual cues</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498452#M186245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SALTO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it did work fine,Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 16:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-color-code-a-column-in-visual-cues/m-p/498452#M186245</guid>
      <dc:creator />
      <dc:date>2013-10-21T16:19:37Z</dc:date>
    </item>
  </channel>
</rss>

